There is a difference in patting down for a weapon and going through pockets to find drugs.
Of course when driving around smoking in a car with a broken light, bad registration or stolen plates, the person is just giving an invitation to be
stopped and then most likely have a car searched.