summaryrefslogtreecommitdiffstats
path: root/location/java/android
Commit message (Collapse)AuthorAgeFilesLines
* gps: Unhide GpsStatus.NmeaListener interface for receiving NMEA sentencesMike Lockwood2009-08-062-9/+8
| | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* gps: Add GpsStatus.NmeaListener interface for receiving NMEA sentences.Mike Lockwood2009-08-063-20/+136
| | | | | | | | NMEA sentences are passed from the GPS engine to the GpsLocationProvider. They are then sent via the IGpsStatusListener binder interface to clients using the same path as the other GPS status information. Signed-off-by: Mike Lockwood <lockwood@android.com>
* am b82759a0: Merge change 6906 into donutAndroid (Google) Code Review2009-07-141-0/+47
|\ | | | | | | | | | | | | Merge commit 'b82759a051f55852dabe201ad3354ea9b7b2979d' * commit 'b82759a051f55852dabe201ad3354ea9b7b2979d': location: Add sub-locality, sub-thoroughfare and premises fields to Address class
| * location: Add sub-locality, sub-thoroughfare and premises fields to Address ↵Mike Lockwood2009-07-141-0/+47
| | | | | | | | | | | | | | | | class This is required for fully describing locations in Japan. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Fix typo in Javadoc for LocationManager.GPS_PROVIDERKenny Root2009-07-071-1/+1
| |
* | am 8c690ea9: Merge change 2182 into donutAndroid (Google) Code Review2009-05-214-59/+2
|\ \ | |/ | | | | | | | | | | Merge commit '8c690ea9976d644db3c96eddbbbd2d50eac56913' * commit '8c690ea9976d644db3c96eddbbbd2d50eac56913': location: Replace ILocationCollector interface with new ILocationProvider method
| * location: Replace ILocationCollector interface with new ILocationProvider methodMike Lockwood2009-05-214-59/+2
| | | | | | | | | | | | | | | | | | | | | | | | This change replaces ILocationCollector with a more general mechanism that passes locations received from a provider to all other providers. The network location provider now uses this to implement the location collector. In the future, this could be used to inject network locations to the GPS as aiding data. This change also removes the now obsolete permission INSTALL_LOCATION_COLLECTOR. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 2677d0d: LocationManager: Fix a Javadoc comment.Mike Lockwood2009-05-121-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '2677d0da34acad93cd7f164d587ccc30c46facc6' * commit '2677d0da34acad93cd7f164d587ccc30c46facc6': LocationManager: Fix a Javadoc comment.
| * LocationManager: Fix a Javadoc comment.Mike Lockwood2009-05-121-1/+1
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am f792fc5: Merge change 1150 into donutAndroid (Google) Code Review2009-05-071-2/+0
|\ \ | |/ | | | | | | | | | | Merge commit 'f792fc59c18aa470eb44cc596d5774115e2d9d02' * commit 'f792fc59c18aa470eb44cc596d5774115e2d9d02': location: Location Manager wakelock cleanup
| * location: Location Manager wakelock cleanupMike Lockwood2009-05-071-2/+0
| | | | | | | | | | | | | | | | | | | | | | Location Providers are now responsible for their own wakelocks and scheduling. Also fixed a deadlock in LocationManagerService in the code for releasing wakelocks after client notifications have been received. The fix is to use the Receiver object and mWakeLock for synchronization instead of the global mLock lock. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am c770ed8: Merge change 1069 into donutAndroid (Google) Code Review2009-05-061-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit 'c770ed8a6bb7614ed4a85a672e4e6830bed19a95' * commit 'c770ed8a6bb7614ed4a85a672e4e6830bed19a95': GpsStatus: Increase NUM_SATELLITES to 255 for future compatibility.
| * GpsStatus: Increase NUM_SATELLITES to 255 for future compatibility.Mike Lockwood2009-05-061-1/+1
| | | | | | | | | | | | | | 64 satellties are required for NavStar, WAAS, EGNOS, and GLONASS satellites. Increasing to 255 allows for future compatibility with Galileo. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 275555c: location: Add support for location providers outside of the Mike Lockwood2009-05-012-5/+86
|\ \ | |/ | | | | | | | | | | Merge commit '275555c8eb3fb5df6e7320873b88b77cdde85a9e' * commit '275555c8eb3fb5df6e7320873b88b77cdde85a9e': location: Add support for location providers outside of the system process.
| * location: Add support for location providers outside of the system process.Mike Lockwood2009-05-012-5/+86
| | | | | | | | | | | | | | Also added new permissions android.permission.INSTALL_LOCATION_PROVIDER and android.permission.INSTALL_LOCATION_COLLECTOR to the public API. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 15e3d0f: location: Use ILocationProvider Binder interface for all locMike Lockwood2009-05-012-5/+30
|\ \ | |/ | | | | | | | | | | Merge commit '15e3d0f082d551f8819fbe4b0d502cc108627876' * commit '15e3d0f082d551f8819fbe4b0d502cc108627876': location: Use ILocationProvider Binder interface for all location providers.
| * location: Use ILocationProvider Binder interface for all location providers.Mike Lockwood2009-05-012-5/+30
| | | | | | | | | | | | | | | | | | | | This change eliminates the LocationProviderImpl class which had been used for location providers running in the system process. Now the LocationProvider base class is only used to implement the LocationManager.createProvider() method for retrieving provider information. Added a new IGpsStatusProvider interface for providers that serve GPS status. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am b8adcad: location: Remove obsolete fake provider support.Mike Lockwood2009-04-291-3/+0
|\ \ | |/ | | | | | | | | | | Merge commit 'b8adcad61d9225ecdabde1a01b73455f484cbed7' * commit 'b8adcad61d9225ecdabde1a01b73455f484cbed7': location: Remove obsolete fake provider support.
| * location: Remove obsolete fake provider support.Mike Lockwood2009-04-281-3/+0
| | | | | | | | | | | | | | Now that we have GPS support in the emulator and public APIs for mock providers, the fake provider support is no longer needed. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 79762a3: location: Move DummyLocationProvider.java and LocationProvidMike Lockwood2009-04-294-449/+5
|\ \ | |/ | | | | | | | | | | Merge commit '79762a3ee34eb8be5549bcb183af844b6f19c266' * commit '79762a3ee34eb8be5549bcb183af844b6f19c266': location: Move DummyLocationProvider.java and LocationProviderImpl.java to the internal package.
| * location: Move DummyLocationProvider.java and LocationProviderImpl.java to ↵Mike Lockwood2009-04-284-449/+5
| | | | | | | | | | | | the internal package. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 5fa1533: Merge change 482 into donutAndroid (Google) Code Review2009-04-292-1/+9
|\ \ | |/ | | | | | | | | | | Merge commit '5fa153302c1c7f179bfd6ddd301e7526b8c06de5' * commit '5fa153302c1c7f179bfd6ddd301e7526b8c06de5': location: Location Manager wakelock cleanup, phase 2
| * location: Location Manager wakelock cleanup, phase 2Mike Lockwood2009-04-232-1/+9
| | | | | | | | | | | | | | | | | | Remove two second timeout for wakelock when broadcasting events to location listeners. Instead, hold wakelock until receipt of the event is acknowledged, either via a Binder call or the PendingIntent.OnFinished interface. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Merge donut into masterJean-Baptiste Queru2009-04-225-16/+73
|\ \ | |/
| * Merge commit 'goog/readonly-p4-donut' into HEADJean-Baptiste Queru2009-04-221-3/+3
| |\ | | | | | | | | | | | | Conflicts: location/java/android/location/Geocoder.java
| | * AI 147294: am: CL 147290 Update Geocoder javadoc to reflect the need for a ↵Xavier Ducrohet2009-04-211-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | backend service. Original author: xav Merged from: //branches/cupcake/... Automated import of CL 147294
| * | Geocoder: Document behavior when no backend service is available.Mike Lockwood2009-04-211-4/+10
| | | | | | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
| * | location: Location Manager wakelock cleanup, phase 1Mike Lockwood2009-04-212-4/+15
| | | | | | | | | | | | | | | | | | Move cell and wifi lock from LocationManagerService to NetworkLocationProvider Signed-off-by: Mike Lockwood <lockwood@android.com>
| * | location: Generalize support for location provider usage tracking.Mike Lockwood2009-04-172-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces two different mechanisms that were used for GPS and Netork location provider tracking. Move BatteryStats logging of GPS usage from LocationManagerService to GpsLocationProvider. Clean up tracking of location listeners in LocationManagerService and remove some HashMaps that are no longer needed. Signed-off-by: Mike Lockwood <lockwood@android.com>
| * | location: Move geocoding support from ILocationProvider to a new interface.Mike Lockwood2009-04-153-8/+38
| |/ | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
| * AI 144663: Use Binder interfaces between NetworkLocationManager and ↵Mike Lockwood2009-04-064-1/+104
| | | | | | | | | | | | | | | | | | | | LocationManagerService. This fixes a hack that was added when NetworkLocationManager was moved out of the framework. This also lays the groundwork for supporting location providers outside of the system process. BUG=1729031 Automated import of CL 144663
| * AI 144599: Location Manager cleanup:Mike Lockwood2009-04-051-11/+0
| | | | | | | | | | | | | | | | | | | | Move PhoneStateListener for listening to cell location changes from LocationManagerService to the NetworkLocationProvider. Move CellState class out of the core framework to the NetworkLocationProvider service. NetworkLocationManager now notifies the collector of its state, rather than LocationManagerService. BUG=1729031 Automated import of CL 144599
| * AI 144452: More Location Manager cleanup:Mike Lockwood2009-04-032-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | Remove 1 Hz "heartbeat" polling of location providers from LocationManagerService. Now location providers report their location to LocationManagerService via LocationManager.setLocation() rather than waiting to be polled. This reduces GPS fix latency by up to one second. Remove LocationProvderImpl.getLocation(). Since we are no longer polling, this method is no longer necessary. BUG=1729031 Automated import of CL 144452
| * AI 144372: Cleanup Settings support for enabling and disabling location ↵Mike Lockwood2009-04-022-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | providers: LocationManagerService now listens for changes to settings, making LocationManager.updateProviders() unnecessary. Removed LocationManager.updateProviders() Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way of enabling or disabling a single location provider. This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly. BUG=1729031 Automated import of CL 144372
* | AI 147295: am: CL 147294 am: CL 147290 Update Geocoder javadoc to reflect ↵Xavier Ducrohet2009-04-211-5/+11
| | | | | | | | | | | | | | | | | | | | the need for a backend service. Original author: xav Merged from: //branches/cupcake/... Original author: android-build Automated import of CL 147295
* | AI 144664: am: CL 144663 Use Binder interfaces between ↵Mike Lockwood2009-04-064-1/+104
| | | | | | | | | | | | | | | | | | | | | | NetworkLocationManager and LocationManagerService. This fixes a hack that was added when NetworkLocationManager was moved out of the framework. This also lays the groundwork for supporting location providers outside of the system process. BUG=1729031 Original author: lockwood Automated import of CL 144664
* | AI 144600: am: CL 144599 Location Manager cleanup:Mike Lockwood2009-04-051-11/+0
| | | | | | | | | | | | | | | | | | | | | | Move PhoneStateListener for listening to cell location changes from LocationManagerService to the NetworkLocationProvider. Move CellState class out of the core framework to the NetworkLocationProvider service. NetworkLocationManager now notifies the collector of its state, rather than LocationManagerService. BUG=1729031 Original author: lockwood Automated import of CL 144600
* | AI 144453: am: CL 144452 More Location Manager cleanup:Mike Lockwood2009-04-032-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove 1 Hz "heartbeat" polling of location providers from LocationManagerService. Now location providers report their location to LocationManagerService via LocationManager.setLocation() rather than waiting to be polled. This reduces GPS fix latency by up to one second. Remove LocationProvderImpl.getLocation(). Since we are no longer polling, this method is no longer necessary. BUG=1729031 Original author: lockwood Automated import of CL 144453
* | AI 144415: am: CL 144372 Cleanup Settings support for enabling and disabling ↵Mike Lockwood2009-04-022-16/+0
|/ | | | | | | | | | | | | | | location providers: LocationManagerService now listens for changes to settings, making LocationManager.updateProviders() unnecessary. Removed LocationManager.updateProviders() Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way of enabling or disabling a single location provider. This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly. BUG=1729031 Original author: lockwood Automated import of CL 144415
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0318-0/+4206
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0318-4206/+0
|
* auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-191-0/+11
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-176-147/+498
|
* Initial ContributionThe Android Open Source Project2008-10-2117-0/+3844