Green’s Dictionary of Slang

bubble-gum machine n.

[resemblance]
(US)

1. (also bubble, bubbletop) the flashing light(s) on top of a police car.

[US] in DARE.
[US]B. Rodgers Queens’ Vernacular 126: The revolving red lights are the bubble gum machines.
[US]S. King It (1987) 935: He peeked at the car. Not a fuzzmobile: no bubbles on the roof.
P. Blauner Slow Motion Riot 186: Riot cops shove their way down the middle of the street as people scream and bubble gum lights sweep over the building.

2. the vehicle itself.

[US]L. Dills CB Slanguage 18: Bubblegum machine: vehicle with flashing lights, usually a police car.
[US]Eble Campus Sl. Spring 1: bubble gum machine – police car.

3. (US gay) a condom vending machine, as found in a men’s public lavatory.

[US]B. Rodgers Queens’ Vernacular 37: bubble-gum machine (obs) a condom-vending machine found inside men’s lavatories.