We went away for a family vacation. On our return flight, they searched every carry-on and frisked every passenger at the gate. You gave your boarding pass, walked past the counter, and presented your bag for manual search. Next, before proceeding to the plane, there were two guards (male and female) who frisked everyone. The bags were searched publicly -- you knew that was coming before you gave your boarding pass. But the frisking happened behind a wall -- meaning that you didn't know you were going to be frisked until after you cleared the airline's counter area and the baggage check.
When I got to the "frisking station," the security guard told me to stand straight with my arms out to the sides, parallel to the floor. As I did so, he said, "I have to pat you down, OK?"
I said: "No."