Model 18 from SOCOM series for PS2 and model 18 from rainbow six vegas for X360. I used to get made fun of for using it on single shot and owning people. Not exactly sure on any others but there is at least 4 socom's, the best it looked was in BLACK though which was a fun game. Yes I am a gamer too and proud of it.
As far as movies go the only movie I know I have seen a Glock in is Baby Boy. I'm sure there is plenty of others but thats all I am certain of.