Yes, it seems like Google’s little green robot is also collecting user data every few seconds and sending it off to Google. Data which includes GPS location, Wi-Fi hotspots the phone has encountered, and the device ID. The difference between the data that Google is harvesting vs. what is going on with the iPhone is that users have to opt in for their data to be collected.
During the initial phone set-up, you may have seen a message asking for which location services you would like to use.
If you checked off that you wanted to use Google’s location services, then your phone has been tracking you all this time. Don’t worry, though; Google isn’t doing anything malicious with your data. Instead, it is using the information to better target ads for things near your location. It’s also so that when you do a search for “pizza,” you don’t get listings in New York when you are in Seattle.