summaryrefslogtreecommitdiffstats
path: root/location/java/com
Commit message (Collapse)AuthorAgeFilesLines
...
| * gps: Time out after 1 minute if we are unable to get a fix and our fix ↵Mike Lockwood2009-05-141-8/+33
| | | | | | | | | | | | | | | | | | interval is long. This will prevent us from keeping the processor awake indefinitely if a background service is requesting periodic updates and we are unable to get a fix. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 3681f26: LocationManager: Recover if process containing NetworkLocatMike Lockwood2009-05-121-1/+18
|\ \ | |/ | | | | | | | | | | Merge commit '3681f2614fa8c10560c790f6b4287f65d6fd2663' * commit '3681f2614fa8c10560c790f6b4287f65d6fd2663': LocationManager: Recover if process containing NetworkLocation provider crashes
| * LocationManager: Recover if process containing NetworkLocation provider crashesMike Lockwood2009-05-121-1/+18
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 5e1d8ae: Merge change 1355 into donutAndroid (Google) Code Review2009-05-111-67/+100
|\ \ | |/ | | | | | | | | | | Merge commit '5e1d8aed4a557a7c055aa4c19875df75d7e41ae6' * commit '5e1d8aed4a557a7c055aa4c19875df75d7e41ae6': GPS: Generalize SUPL support to include AGPS for CDMA
| * GPS: Generalize SUPL support to include AGPS for CDMAMike Lockwood2009-05-111-67/+100
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am f792fc5: Merge change 1150 into donutAndroid (Google) Code Review2009-05-073-28/+18
|\ \ | |/ | | | | | | | | | | Merge commit 'f792fc59c18aa470eb44cc596d5774115e2d9d02' * commit 'f792fc59c18aa470eb44cc596d5774115e2d9d02': location: Location Manager wakelock cleanup
| * location: Location Manager wakelock cleanupMike Lockwood2009-05-073-28/+18
| | | | | | | | | | | | | | | | | | | | | | 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 fd445d3: Merge change 1095 into donutAndroid (Google) Code Review2009-05-061-13/+47
|\ \ | |/ | | | | | | | | | | Merge commit 'fd445d3510cddc7a67cf7720935626684a2f3011' * commit 'fd445d3510cddc7a67cf7720935626684a2f3011': gps: Move GPS scheduling from libgps to GpsLocationProvider.
| * gps: Move GPS scheduling from libgps to GpsLocationProvider.Mike Lockwood2009-05-061-13/+47
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 275555c: location: Add support for location providers outside of the Mike Lockwood2009-05-012-2/+2
|\ \ | |/ | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | | | 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-014-349/+135
|\ \ | |/ | | | | | | | | | | 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-014-349/+135
| | | | | | | | | | | | | | | | | | | | 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 76b25e5: Merge change 692 into donutAndroid (Google) Code Review2009-04-291-3/+2
|\ \ | |/ | | | | | | | | | | Merge commit '76b25e5e78dde3443f9c57c47e5989ad8ff43771' * commit '76b25e5e78dde3443f9c57c47e5989ad8ff43771': location: Optimize use of mProviders ArrayList.
| * location: Optimize use of mProviders ArrayList.Mike Lockwood2009-04-281-3/+2
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 5f2788b: Merge change 686 into donutAndroid (Google) Code Review2009-04-291-5/+5
|\ \ | |/ | | | | | | | | | | Merge commit '5f2788bc9d947f7793aaea06f7e21d6b74c98826' * commit '5f2788bc9d947f7793aaea06f7e21d6b74c98826': gps: Don't crash if no XTRA servers are specified.
| * gps: Don't crash if no XTRA servers are specified.Mike Lockwood2009-04-281-5/+5
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am b8adcad: location: Remove obsolete fake provider support.Mike Lockwood2009-04-292-779/+0
|\ \ | |/ | | | | | | | | | | Merge commit 'b8adcad61d9225ecdabde1a01b73455f484cbed7' * commit 'b8adcad61d9225ecdabde1a01b73455f484cbed7': location: Remove obsolete fake provider support.
| * location: Remove obsolete fake provider support.Mike Lockwood2009-04-282-779/+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-296-4/+453
|\ \ | |/ | | | | | | | | | | 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-286-4/+453
| | | | | | | | | | | | the internal package. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am eedf815: location: Remove redundant mLocationTracking field from GpsLMike Lockwood2009-04-291-12/+1
|\ \ | |/ | | | | | | | | | | Merge commit 'eedf815a2bd44c365a6885553a52cd2fcbfdce8c' * commit 'eedf815a2bd44c365a6885553a52cd2fcbfdce8c': location: Remove redundant mLocationTracking field from GpsLocationProvider
| * location: Remove redundant mLocationTracking field from GpsLocationProviderMike Lockwood2009-04-281-12/+1
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Merge donut into masterJean-Baptiste Queru2009-04-222-50/+123
|\ \ | |/
| * gps: Check for null APN name when receiving telephony notifications.Mike Lockwood2009-04-211-1/+1
| | | | | | | | | | | | Fixes bug b/1800584 Signed-off-by: Mike Lockwood <lockwood@android.com>
| * location: Location Manager wakelock cleanup, phase 1Mike Lockwood2009-04-211-8/+16
| | | | | | | | | | | | Move cell and wifi lock from LocationManagerService to NetworkLocationProvider Signed-off-by: Mike Lockwood <lockwood@android.com>
| * More Location Manager cleanup:Mike Lockwood2009-04-171-17/+0
| | | | | | | | | | | | | | Move LocationCollector support out of GpsLocationProvider. Don't disable GPS when screen is off. Signed-off-by: Mike Lockwood <lockwood@android.com>
| * location: Generalize support for location provider usage tracking.Mike Lockwood2009-04-172-5/+52
| | | | | | | | | | | | | | | | | | | | | | 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-151-25/+0
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
| * gps: Add support for bringing up a GSM data connection on demand for SUPL.Mike Lockwood2009-04-141-5/+65
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
| * AI 144663: Use Binder interfaces between NetworkLocationManager and ↵Mike Lockwood2009-04-065-130/+279
| | | | | | | | | | | | | | | | | | | | 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 144625: Remove unnecessary callback interface from INetworkLocationProvider.Mike Lockwood2009-04-061-11/+0
| | | | | | | | | | | | BUG=1729031 Automated import of CL 144625
| * AI 144620: Clean up interface between NetworkLocationProvider and ↵Mike Lockwood2009-04-063-42/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | LocationManagerService (part 1) Move broadcast receivers for wifi scan results and battery status from LocationManagerService to NetworkLocationProvider Add a Service for the NetworkLocationProvider, so we can install it from its own thread rather than from BOOT_COMPLETED or callback from LocationManagerService. (this Service was also required for receiving Intents in NetworkLocationProvider) BUG=1729031 Automated import of CL 144620
| * AI 144599: Location Manager cleanup:Mike Lockwood2009-04-052-318/+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-034-93/+67
| | | | | | | | | | | | | | | | | | | | | | | | 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 144185: Integrate cdma into the main code base.Wink Saville2009-04-021-3/+11
| | | | | | | | Automated import of CL 144185
| * AI 143616: Fix ANR that could occur when disabling GPS in Settings while the ↵Mike Lockwood2009-03-311-2/+8
| | | | | | | | | | | | | | | | | | | | GPS is active. Exit from GpsEventThread immediately when the GPS is disabled instead of waiting for the GPS to shut down fully. BUG=1729031 Automated import of CL 143616
| * AI 143095: Location Manager cleanup: move MockProvider to a separate file.Mike Lockwood2009-03-271-0/+202
| | | | | | | | | | | | BUG=1729031 Automated import of CL 143095
* | AI 144664: am: CL 144663 Use Binder interfaces between ↵Mike Lockwood2009-04-065-130/+279
| | | | | | | | | | | | | | | | | | | | | | 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 144626: am: CL 144625 Remove unnecessary callback interface from ↵Mike Lockwood2009-04-061-11/+0
| | | | | | | | | | | | | | | | | | INetworkLocationProvider. BUG=1729031 Original author: lockwood Automated import of CL 144626
* | AI 144621: am: CL 144620 Clean up interface between NetworkLocationProvider ↵Mike Lockwood2009-04-063-42/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and LocationManagerService (part 1) Move broadcast receivers for wifi scan results and battery status from LocationManagerService to NetworkLocationProvider Add a Service for the NetworkLocationProvider, so we can install it from its own thread rather than from BOOT_COMPLETED or callback from LocationManagerService. (this Service was also required for receiving Intents in NetworkLocationProvider) BUG=1729031 Original author: lockwood Automated import of CL 144621
* | AI 144600: am: CL 144599 Location Manager cleanup:Mike Lockwood2009-04-052-318/+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-034-93/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 144245: Fix merge conflict for megering in the CDMA changes in to master ↵Wink Saville2009-04-021-3/+11
| | | | | | | | | | | | from donutburger. Automated import of CL 144245
* | AI 143648: am: CL 143616 Fix ANR that could occur when disabling GPS in ↵Mike Lockwood2009-03-311-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | Settings while the GPS is active. Exit from GpsEventThread immediately when the GPS is disabled instead of waiting for the GPS to shut down fully. BUG=1729031 Original author: lockwood Merged from: //branches/donutburger/... Automated import of CL 143648
* | AI 143287: am: CL 143095 Location Manager cleanup: move MockProvider to a ↵Mike Lockwood2009-03-271-0/+202
| | | | | | | | | | | | | | | | | | | | separate file. BUG=1729031 Original author: lockwood Merged from: //branches/donutburger/... Automated import of CL 143287
* | auto import //branches/master/...@140412The Android Open Source Project2009-03-181-0/+1
|/
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-5/+86
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-038-0/+2750
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-038-2757/+0
|