setting mock location remotely
I have wrote an app for exactly this :). It listens on port 5554 and accepts "geo fix" and "geo nmea" commands - ie. compatible with the android emulator.

app store: MockGeoFix and source code


  And btw how do I know the GPS module of my device doesnt overwrite my set mock location?


You disable all other sources of geolocation except GPS and you mock the GPS.