• Home
  • History
  • Annotate
  • only in /frameworks/base/location/java/com/android/internal/location/
History log of /frameworks/base/location/java/com/android/internal/location/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
566ebfde2b3195ec5897a680c879241c46f33477 25-Sep-2014 Tsuwei Chen <tsuwei@google.com> Fix an incorrect behavior that failed AT&T privacy test.

Bug: 17278951

Change-Id: I8b8bf4ed19af8738e7cef3553c8a06f7e27c7264
psNetInitiatedHandler.java
7c485bf66a2f9c2ca0ce54e624ce48d39c568b97 11-Sep-2014 Tsuwei Chen <tsuwei@google.com> Handle user privacy properly during network initiated requests.
Bug: 16131208

Change-Id: Ic6f83fcf24eef9e0e26e303bb652651f0dc2970a
psNetInitiatedHandler.java
3324e954127de3db2b3200fdefca8f4d0400b7bb 07-Sep-2014 Tsuwei Chen <tsuwei@google.com> Manually merge QC's change for SUPL_ES.

Original CL: https://android-review.googlesource.com/#/c/105431

Emergency SUPL

Added emergency SUPL when UE is
in emergency mode.

Bug: 17118312


Change-Id: Id9b77add9bbab139b983a84d5a4c798c9c94df43
psNetInitiatedHandler.java
255dd04271088590fedc46c8e22b2fd4ab142d39 19-Aug-2014 Selim Cinek <cinek@google.com> Added notification color to all system notifications

Bug: 17128331
Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
psNetInitiatedHandler.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
psNetInitiatedHandler.java
58ed5d748c0b9b64845975ef5844ad313de7c3f6 07-Nov-2012 Kenny Root <kroot@google.com> am 768d9e1a: Merge "Correct executable bit for source files"

* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
Correct executable bit for source files
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
psNetInitiatedHandler.java
38389b6cf7bd2ef49d2bd20ff1bca8677596590e 30-Sep-2012 Victoria Lease <violets@google.com> Route GPS notifications to all users.

This takes the easy way around notifying the correct users
about GPS state transitions by notifying ALL the users(!).

I've also laid groundwork for proper multiuser support in
LocationManager and did a tiny bit of cleanup in
GpsNetInitiatedHandler while I was looking at notifications.

Bug: 7213552
Change-Id: I2d6dc65c459e55d110ac0f5f79ae7a87ad638ede
psNetInitiatedHandler.java
1332b53522e281012fefb34bfbcc68a03028f516 22-Aug-2012 Nick Pelly <npelly@google.com> Fix some location issues exposed by CTS.

Change-Id: I5859ee2c9db5745b0a3bc8abfa8f08728fb25059
roviderProperties.java
08ca1046fe4f1890f91241f8d082a024ef6cfd93 11-Aug-2012 Nick Pelly <npelly@google.com> Fix a couple of bugs from the location overhaul.

Marshall LocationRequest array correctly.

Observe reportLocation from FusionEngine.

Actually deliver the setRequest message to fusion engine.

Change-Id: Iff64596fdd42f9fb06e563591dda9fbe0241533a
roviderRequest.java
6fa9ad4afcd762aea519ff61811386c23d18ddb2 16-Jul-2012 Nick Pelly <npelly@google.com> Location overhaul, major commit.

Themes: Fused Location, Geofencing, LocationRequest.

API changes
o Fused location is always returned when asking for location by Criteria.
o Fused location is never returned as a LocationProvider object, nor returned
as a provider String. This wouldn't make sense because the current API
design assumes that LocationProvider's have fixed properties (accuracy, power
etc).
o The fused location engine will tune itself based on the criteria passed
by applications.
o Deprecate LocationProvider. Apps should use fused location (via Criteria
class), instead of enumerating through LocationProvider objects. It is
also over-engineered: designed for a world with a plethora of location
providers that never materialized.
o The Criteria class is also over-engineered, with many methods that aren't
currently used, but for now we won't deprecate them since they may have
value in the future. It is now used to tune the fused location engine.
o Deprecate getBestProvider() and getProvider().
o Add getLastKnownLocation(Criteria), so we can return last known
fused locations.
o Apps with only ACCESS_COARSE_LOCATION _can_ now use the GPS, but the location
they receive will be fudged to a 1km radius. They can also use NETWORK
and fused locatoins, which are fudged in the same way if necessary.
o Totally deprecate Criteria, in favor of LocationRequest.
Criteria was designed to map QOS to a location provider. What we
really need is to map QOS to _locations_.
The death knell was the conflicting ACCURACY_ constants on
Criteria, with values 1, 2, 3, 1, 2. Yes not a typo.
o Totally deprecate LocationProvider.
o Deprecate test/mock provider support. They require a named provider,
which is a concept we are moving away from. We do not yet have a
replacement, but I think its ok to deprecate since you also
need to have 'allow mock locations' checked in developer settings.
They will continue to work.
o Deprecate event codes associated with provider status. The fused
provider is _always_ available.
o Introduce Geofence data object to provide an easier path fowards
for polygons etc.

Implementation changes
o Fused implementation: incoming (GPS and NLP) location fixes are given
a weight, that exponentially decays with respect to age and accuracy.
The half-life of age is ~60 seconds, and the half-life of accuracy is
~20 meters. The fixes are weighted and combined to output a fused
location.
o Move Fused Location impl into
frameworks/base/packages/FusedLocation
o Refactor Fused Location behind the IProvider AIDL interface. This allow us
to distribute newer versions of Fused Location in a new APK, at run-time.
o Introduce ServiceWatcher.java, to refactor code used for run-time upgrades of
Fused Location, and the NLP.
o Fused Location is by default run in the system server (but can be moved to
any process or pacakge, even at run-time).
o Plumb the Criteria requirements through to the Fused Location provider via
ILocation.sendExtraCommand(). I re-used this interface to avoid modifying the
ILocation interface, which would have broken run-time upgradability of the
NLP.
o Switch the geofence manager to using fused location.
o Clean up 'adb shell dumpsys location' output.
o Introduce config_locationProviderPackageNames and
config_overlay_locationProviderPackageNames to configure the default
and overlay package names for Geocoder, NLP and FLP.
o Lots of misc cleanup.
o Improve location fudging. Apply random vector then quantize.
o Hide internal POJO's from clients of com.android.location.provider.jar
(NLP and FLP). Introduce wrappers ProviderRequestUnbundled and
ProviderPropertiesUnbundled.
o Introduce ProviderProperties to collapse all the provider accuracy/
bearing/altitude/power plumbing (that is deprecated anyway).
o DELETE lots of code: DummyLocationProvider,
o Rename the (internal) LocationProvider to LocationProviderBase.
o Plumb pid, uid and packageName throughout
LocationManagerService#Receiver to support future features.

TODO: The FLP and Geofencer have a lot of room to be more intelligent
TODO: Documentation
TODO: test test test

Change-Id: Iacefd2f176ed40ce1e23b090a164792aa8819c55
ummyLocationProvider.java
LocationProvider.aidl
roviderProperties.aidl
roviderProperties.java
roviderRequest.aidl
roviderRequest.java
e0fd693c6098f59004f9e96ad75c058e26c337b0 11-Jul-2012 Nick Pelly <npelly@google.com> Improve geofencing: throttle location updates with distance to fence.

Previously any geofence (proximity alert) would turn the GPS on at full rate.
Now, we modify the GPS interval with the distance to the nearest geofence.
A speed of 100m/s is assumed to calculate the next GPS update.

Also
o Major refactor of geofencing code, to make it easier to continue to improve.
o Discard proximity alerts when an app is removed.
o Misc cleanup of nearby code. There are other upcoming changes
that make this a good time for some house-keeping.

TODO:
The new geofencing heuristics are much better than before, but still
relatively naive. The next steps could be:
- Improve boundary detection
- Improve update thottling for large geofences
- Consider velocity when throttling

Change-Id: Ie6e23d2cb2b931eba5d2a2fc759543bb96e2f7d0
ummyLocationProvider.java
40c5ccfffe1aca40c8e6b9155ce2f9918b53701a 19-Jul-2011 Jesse Wilson <jessewilson@google.com> Acknowledge that the platform guarantees UTF-8 and UTF-16.

These log statements were dead code. That isn't much of a problem,
except that the 'e.getMessage()' that was being logged could be null,
and that would cause a real problem.

Change-Id: I8573bc687a7eda73782bd028e8ddc048a1954dc5
psNetInitiatedHandler.java
fad5445c66ca6190ad37515018996c61d9b2b0a5 28-Feb-2011 Anshuman Pandey <anshuman.pandey@stericsson.com> Add FLAG_AUTO_CANCEL flag for multiple supl notifications.

Added FLAG_AUTO_CANCEL to notification flags in GpsNetInitiatedHandler.java.
This is done to clear consecutive notifications in UI

Change-Id: I84be36af0b556f43ffd7d51ac04ff12300090ca5
Signed-off-by: Anshuman Pandey <anshuman.pandey@stericsson.com>
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
psNetInitiatedHandler.java
6664d989c8432910ce5f13469ba49e77ae185f89 18-Nov-2010 Hakan Gustavsson <hakan.gustavsson@sonyericsson.com> Fixed GSM encoded network initiated position request

GSM encoded network initiated position requests were previously
not correctly decoded. The GSM encoded string was decoded as
ASCII but not all characters are encoded in the same way for
GSM and ASCII. These characters was not displayed.

Besides that, when the number of characters was evenly divided
by 8 the last character was lost. This is also corrected.

Change-Id: Ic70b7c28bbba1f2936a9cc99e78f8002cc5c8761
psNetInitiatedHandler.java
12902d687fa1bd4bff3c2dfc079c71eacb00eedd 07-Dec-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 78742e01 to stage-korg-master

Change-Id: I0ce429afeb26184f075b4ed326fc4e1c0833e905
dea74b0285ef946cceb4f56e576800cbedbc3a95 22-Nov-2010 Hakan Gustavsson <hakan.gustavsson@sonyericsson.com> Strings for NI position request are moved to resources

The strings used by the framework for network initiated position
requests are now string resources that can be properly localized.

Change-Id: If1cba89adb1bfcb9c8fdb59b9c5aa1107b11279e
psNetInitiatedHandler.java
b445946deaad61fc3acaf4760a135fb92d0547b0 17-Aug-2010 Mike Lockwood <lockwood@android.com> GPS: Initialize XTRA support when GPS is enabled

BUG: 2923148

Change-Id: If9a643e385c6c567b30f47d4caa35fa812a2ba43
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
3e34d135f7fca756d00ebdc50c55b4f12ef7a328 06-Aug-2010 Mike Lockwood <lockwood@android.com> GPS: Don't set XTRA download pending flag at boot time.

XTRA data downloads are now strictly on demand from the GPS engine.
Also fix typo in handleDownloadXtraData()

Change-Id: Ied1a6e2e62134add4d965326aae909c86f834682
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
03ca216ac19ea4e7afcb183c20c7c780f0d97756 01-Apr-2010 Mike Lockwood <lockwood@android.com> New Location Manager APIs for Criteria based requests and single shot mode.

Use MS-Assisted mode for single shot GPS fixes if it is supported.

Add finer grained control over accuracy to the android.location.Criteria class
and location criteria logic from LocationManager to LocationManagerService

Change-Id: I156b1f6c6a45d255c87ff917cf3e9726a6d7a75b
Signed-off-by: Mike Lockwood <lockwood@android.com>
ummyLocationProvider.java
f4dffd8a45386b5a5f0e6de4f30facc9eaac4001 07-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I4c28751bd84b41259b12b0f3e3307e11234c8b64
fa94ff074d3200fae2f5d14a6d0f454e2ad23cfa 23-Feb-2010 Hakan Gustavsson <hakan.gustavsson@sonyericsson.com> GpsLocationProvider: Store new Location before onGpsStatusChanged is sent

In reportLocation() the new location is now stored before the callback
onGpsStatusChanged(GPS_EVENT_FIRST_FIX) is sent. This will prevent users
from getting a faulty location from LocationManager.getLastKnownLocation()
after receiving onGpsStatusChanged(GPS_EVENT_FIRST_FIX).

Change-Id: I6c654b2acbf2e216c99058a20f068bf4721a1c7a
psLocationProvider.java
00b74270c9f136a8727c5f6cda0997a3a905f385 26-Mar-2010 Mike Lockwood <lockwood@android.com> Move files internal to LocationManagerService from framework.jar to services.jar

Change-Id: Iebbfc49b8300ab59730733efdf489ec87ea45a25
Signed-off-by: Mike Lockwood <lockwood@android.com>
eocoderProxy.java
psLocationProvider.java
psNetInitiatedHandler.java
psXtraDownloader.java
ocationProviderProxy.java
ockProvider.java
assiveProvider.java
5b53244a4e6c81b5346cde22fabbbefe5b472cf7 18-Mar-2010 Mike Lockwood <lockwood@android.com> GpsNetInitiatedHandler: whitespace cleanup

Signed-off-by: Mike Lockwood <lockwood@android.com>
psNetInitiatedHandler.java
79e642e8ed75033eacc461633a8f4cd5157d25df 18-Mar-2010 Mike Lockwood <lockwood@android.com> Call LocationManager.sendNiResponse() instead of calling directly to GpsLocationProvider

Change-Id: I6a5b47abb0519f5228d29bc3340bb2490564803e
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
psNetInitiatedHandler.java
89096317104722219f73a5c3cc424e6e98c90a61 24-Mar-2010 Mike Lockwood <lockwood@android.com> Wait until GpsLocationProvider is fully initialized before returning from the constructor.

Otherwise we are left with a race condition that might result in the provider
being called before it is ready.

BUG: 2539392
Change-Id: I05f4a2501c43d5fa95c0e68f5a963015cf9c6e8f
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
62a8fc159ad8d8044f3cde6ee6d46e9cc56b823f 22-Mar-2010 Mike Lockwood <lockwood@android.com> GpsLocationProvider: Do our work in a Handler running in a separate thread.

To avoid adding a new thread to the system, we take the functionality that was
in GpsNetworkThread for downloading NTP time and XTRA data and include this in
the new thread as well.

BUG: 2531728

Change-Id: I2a26b7f0aae0c60faceb36dc6bc29c915c039ae6
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
69d63446d868ea7b33d6b7c1b5e267693a09c127 18-Mar-2010 Mike Lockwood <lockwood@android.com> Remove unused file NmeaParser.java

Change-Id: I8027b98ccf1271870243ced8a7ccc61d25a224b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
meaParser.java
3c8fbdf5dd19fad0b3006557716ee1026d7d5899 04-Jan-2010 Fred Fettinger <fred.fettinger@motorola.com> location: dump LocationProvider internal state

For each location provider, call getInternalState() to see if it has any
state information to include in a bugreport. If the returned string is not
null, then print a header with the provided name followed by the returned
string.

Change-Id: I0a388d7fba14ac8cadcb80eda0a0ceb95032410b
Signed-off-by: Fred Fettinger <fred.fettinger@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
ocationProviderProxy.java
ockProvider.java
assiveProvider.java
2269d1572e5fcfb725ea55f5764d8c3280d69f6d 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Re-arrange android-common so framework no longer links with it.

This is the framework part, moving classes around so the framework
no longer needs to link to android-common. Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
psXtraDownloader.java
b7be5447a002b4a1cf7d4030cc8a0a330cd7517c 24-Feb-2010 Mike Lockwood <lockwood@android.com> GpsLocationProvider: Be less aggressive about getting fixes in bad conditions if we have a long fix interval.

Change-Id: I68bd884409ca15e584ab70e53cf142d60f318d9c
BUG: 2215714

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
63598a0619776b421f27cd12fb29eb83dc327997 24-Feb-2010 Mike Lockwood <lockwood@android.com> Fix broken location extras in GpsLocationProvider.

Fixes http://code.google.com/p/android/issues/detail?id=4151
(Satellite count not being provided by Location class any more. Location.getExtras() returns null.)

Change-Id: I4cf2922f4a5ed216541f8a8553523d1f6a1c1d0c
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
a4903f254b4711c8fc0ac5f7e3d605f4dce34f35 17-Feb-2010 Mike Lockwood <lockwood@android.com> Add passive location provider.

The passive location provider allows receiving location updates without
actually triggering them. This allows an application to receive location
updates that are being generated due to other clients of the location manager.

Change-Id: Ibf7a96b089c56875d4f62d3210252ae8d9f32768
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
ockProvider.java
assiveProvider.java
d03ff94fe58045b5bd1dd783fb98026778a4265d 09-Feb-2010 Mike Lockwood <lockwood@android.com> Clean up interface between LocationManagerService and the location providers:

LocationManagerService now uses new Java interface LocationProviderInterface
rather than LocationProviderProxy to refer to location providers internally.

LocationProviderProxy and the ILocationProvider binder interface are only
used for location providers implemented as services (NetworkLocationProvider)

Built-in location providers (GpsLocationProvider and mock providers) now just
implement LocationProviderInterface rather than using a Binder interface and proxy object.

Delete obsolete and unused TestLocationProvider class.

Change-Id: Id800e7c1864f7c666f8e37125c05896493b9c8c4
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
ocationProviderProxy.java
ockProvider.java
628fd6d9c11ed9806abebf34bc986247c106328f 26-Jan-2010 Mike Lockwood <lockwood@android.com> Network Location unbundling:

The network location and geocode provider services are now started on demand
and their interfaces are now retrieved via bindService().

Remove obsolete LocationManager installLocationProvider() and installGeocodeProvider() methods.

Add abstract class android.location.provider.GeocodeProvider to provide a public wrapper to
the IGeocodeProvider Binder interface. Replaces the LocationManager.GeocodeProvider interface.

Rename LocationProviderImpl to android.location.provider.LocationProvider.

Move LocationManager.reportLocation() to android.location.provider.LocationProvider,
so all methods related to external location providers are now all in one class.

Avoid calling from the Location Manager Service into providers that are disabled so we
do not start the network location service unnecessarily.

Change-Id: If3ed2d5d62b83ba508006711d575cad09f4a0007
Signed-off-by: Mike Lockwood <lockwood@android.com>
eocoderProxy.java
ocationProviderProxy.java
ad9bcb22d05fbf130ac64254abd51a137e9a3d3f 05-Feb-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master
8ab11f87acf01b830ad0db46ec549406b33c39de 02-Feb-2010 Mike Lockwood <lockwood@android.com> Fix for GPS engines without separate session and engine status events.

GPS_STATUS_SESSION_BEGIN now implies GPS_STATUS_ENGINE_ON
and GPS_STATUS_ENGINE_OFF now implies GPS_STATUS_SESSION_END.

Change-Id: Ifeeb1d5094d1e7304974b7c3ac27dd83b1e65bca
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
c2a6738215af95bc50639e43c8f9291a0d521b37 20-Jan-2010 Mike Lockwood <lockwood@android.com> Be tolerant of GPS session and engine on status messages arriving out of order.

BUG: 2366194

Change-Id: Iac152cc46f3647e12c9077f1bfa4183f19ac94b6
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
2f3a615feaa1286612576bc15f6bd8cae011301f 08-Dec-2009 Mike Lockwood <lockwood@android.com> GpsLocationProvider: Do not release wakelock until the GPS engine is fully off

Change-Id: I705b1d33af2d70aa1084cca8f6280fade9461d2c
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
271f9f172b241607b1ed39a7709c3ed47ee5dee7 02-Feb-2010 Mike Lockwood <lockwood@android.com> Fix for GPS engines without separate session and engine status events.

GPS_STATUS_SESSION_BEGIN now implies GPS_STATUS_ENGINE_ON
and GPS_STATUS_ENGINE_OFF now implies GPS_STATUS_SESSION_END.

Change-Id: I7217dc5213ae9a5658ac81b0a14b61d3e36ca0f6
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
5310b36a3710f0e298b944a74759ae8ce3af755c 02-Feb-2010 Mike Lockwood <lockwood@android.com> resolved conflicts for merge of 21875ab3 to master

Change-Id: I447e813b3ec460bbc9050de6b95bd663bb33c86f
2cd543aad5cc38fb3e7158f1cc5080c7e9ff5d24 01-Feb-2010 Mike Lockwood <lockwood@android.com> Remove ILocationProvider.isEnabled() binder call and use cached value instead.

Change-Id: Id6a9f6d2e2f5cc5810a2beeb0f869f06e2d18860
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
ocationProviderProxy.java
ockProvider.java
f1218be2d8f68f3f445f3bc90e0eca01946a0ddf 29-Jan-2010 Mike Lockwood <lockwood@android.com> Ignore NTP time fixes that differ from system time by more than 5 minutes.

Change-Id: I603195f6925e25baccd18190016cf8611bb9dc1b
BUG: 2402380
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
345bf168db1534685232ef809c5669be6c65a949 23-Jan-2010 Mike Lockwood <lockwood@google.com> am 47d302a0: am bb79e5fd: Merge "Be tolerant of GPS session and engine on status messages arriving out of order." into eclair

Merge commit '47d302a001c71f90bee8dc31d868b463a47f2d51'

* commit '47d302a001c71f90bee8dc31d868b463a47f2d51':
Be tolerant of GPS session and engine on status messages arriving out of order.
cf1d8cb36fade2bfbfb94af371de23684e0f7ac7 20-Jan-2010 Mike Lockwood <lockwood@android.com> Be tolerant of GPS session and engine on status messages arriving out of order.

BUG: 2366194

Change-Id: I642dacd397202f671adba5a863394438ca62988d
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
f5d95cbc1a6974afeb4d3155bdaa8dae55722a39 08-Jan-2010 Joe Onorato <joeo@android.com> less log spew
psLocationProvider.java
7762d93621f508f4410fd37b5bbdfec0071b0420 11-Dec-2009 Paul Westbrook <pwestbro@google.com> Unbundling work

Moved AndroidHttpClient, Rfc822InputFilter, Rfc822Validator
NumberPicker, NumberPickerButton to android-common
---
psXtraDownloader.java
dbd6fd8ebb60dd7bb243f9c78db994a8e7e5b5c9 08-Dec-2009 Mike Lockwood <lockwood@android.com> GpsLocationProvider: Do not release wakelock until the GPS engine is fully off

Change-Id: I705b1d33af2d70aa1084cca8f6280fade9461d2c
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
9db3d07b9620b4269ab33f78604a36327e536ce1 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
psLocationProvider.java
psNetInitiatedHandler.java
psXtraDownloader.java
ocationProviderProxy.java
ockProvider.java
03d246779ea65fc2bd10d0b4f32620f45211133a 08-Oct-2009 Mike Lockwood <lockwood@android.com> GPS: Fix problem with SUPL when SUPL APN is already active.

Use ConnectivityManager.CONNECTIVITY_ACTION broadcast in LocationManagerService
to notify GPS when SUPL connection is ready instead of TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED,
which is not sent in all cases.
Expand LocationProvider.updateNetworkState() to include NetworkInfo object.

Fixes bug b/2155661

Change-Id: Iee227ace7d536b36cf7973e3e6a8b7a621ce6565
Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
ocationProviderProxy.java
ockProvider.java
22d1f9fb23015471de6af1a70e40fb5c82ecb665 19-Aug-2009 Danke Xie <dankex@qualcomm.com> gps: Network initiated SUPL

Initial contribution from Qualcomm.

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
psNetInitiatedHandler.java
660bbfcc54d48d5d32e64da683c76b9c372c19b1 26-Aug-2009 Mike Lockwood <lockwood@android.com> GpsLocationProvider: Default to AGPS on if the setting is missing.

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
b16e7800be4f879135f239f1f8f586f3712df01e 06-Aug-2009 Mike Lockwood <lockwood@android.com> gps: Add GpsStatus.NmeaListener interface for receiving NMEA sentences.

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>
psLocationProvider.java
734d6031a662a275ec68627bd1258159041d44de 29-Jul-2009 Mike Lockwood <lockwood@android.com> GPS: Don't call native_set_agps_server() until after we call native_init().

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
cf4550c3198d6b3d92cdc52707fe70d7cc0caa9f 21-Jul-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
psLocationProvider.java
ocationProviderProxy.java
ockProvider.java
2bb99d1e2f0296dd8b09a451575f70f49da30a1b 17-Jul-2009 Mike Lockwood <lockwood@android.com> GpsLocationProvider: remove mAgpsConfigured configured flag.

This flag was unnecessary because the lower level GPS code already checks for this
and this was causing problems for a GPS implementation that does not use /etc/gps.conf

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
0d0012ef1617170701b9cd7492ef04ac47bfb5ca 03-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 54af78a3: Merge change 5950 into donut

Merge commit '54af78a3f7064e04d7ebd64c985d4149f9f7b05c'

* commit '54af78a3f7064e04d7ebd64c985d4149f9f7b05c':
Fix memory leaks in system_server
fff2fda0199dedbf1079454dca98a81190dce765 01-Jul-2009 Suchi Amalapurapu <asuchitra@google.com> Fix memory leaks in system_server
unlink DeathRecipients in a whole bunch of places to avoid memory leaks
psLocationProvider.java
ocationProviderProxy.java
bcab8df83e6e769a7cbcc742e72b47d665998793 25-Jun-2009 Mike Lockwood <lockwood@android.com> Settings: Add preference to enable/disable assisted GPS.

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
3618160a1a10ab7574f14e0e5a45fe79ec660a64 23-Jun-2009 Dianne Hackborn <hackbod@google.com> am 2e418428: Possibly fix an issue where we thought an app was always using GPS.

Merge commit '2e418428987132ea66533cbc05f9c526eb59519a'

* commit '2e418428987132ea66533cbc05f9c526eb59519a':
Possibly fix an issue where we thought an app was always using GPS.
2e418428987132ea66533cbc05f9c526eb59519a 23-Jun-2009 Dianne Hackborn <hackbod@google.com> Possibly fix an issue where we thought an app was always using GPS.

There may be some race conditions in the gps provider where it can cause a uid
to be double booked for gps usage and never released. Address this by tweaking
some locking (so mLocation and the uid array are protected by a lock both when
reading and writing). Also add some code to log a warning if someone tries to
note a particular uid multiple times, since the code will break in that case.

Finally, fix a problem in the battery stats where we weren't allowing a new Uid
structure to be created in many cases for calls coming in.
psLocationProvider.java
15d748659df12d05289a00a850547b241470a959 22-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am cde13e6b: Merge change 4954 into donut

Merge commit 'cde13e6bfa6465d5770755892e2ee234a1f85d5c'

* commit 'cde13e6bfa6465d5770755892e2ee234a1f85d5c':
gps: Check for null APN name to avoid a runtime restart.
b362a9ab91bb4c05ef1d5c4e7019499257c7f849 22-Jun-2009 Mike Lockwood <lockwood@android.com> gps: Check for null APN name to avoid a runtime restart.

We still need to figure out how the APN name is getting set to empty string
by the telephony code.

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
84c4335f86555059729460c1be94a1579f485315 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am f781b39c: Merge change 4786 into donut

Merge commit 'f781b39cb89dc19e6ad090bd3eb1bedbe7928429'

* commit 'f781b39cb89dc19e6ad090bd3eb1bedbe7928429':
gps: Set SUPL server via hostname rather than IP address.
a9e546169b3c2c9c5f248d2f3abe3b934f48695d 19-Jun-2009 Mike Lockwood <lockwood@android.com> gps: Set SUPL server via hostname rather than IP address.

The GPS engine needs the hostname for the secure SUPL case
and deferring the DNS lookup to the HAL might be helpful in the future
if the SUPL server is on a carrier's private network.

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
989895e43f59e00fe0f07ac3dd6e373258caf693 11-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am fa699ea2: Merge change 3899 into donut

Merge commit 'fa699ea22a13a92694de75ef948a81da23e71642'

* commit 'fa699ea22a13a92694de75ef948a81da23e71642':
GpsLocationProvider: Add hooks for GPS location injection.
d26ce0d903f5141a346d67b2b94437ef3e2880aa 11-Jun-2009 Mike Lockwood <lockwood@android.com> GpsLocationProvider: Add hooks for GPS location injection.

This will allow injecting cell ID location to the GPS
(not implemented yet).

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
9b1e1400df4c6c4b69985f164097f0c842dd796f 21-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 8c690ea9: Merge change 2182 into donut

Merge commit '8c690ea9976d644db3c96eddbbbd2d50eac56913'

* commit '8c690ea9976d644db3c96eddbbbd2d50eac56913':
location: Replace ILocationCollector interface with new ILocationProvider method
fd6e5f0dda50e113db4ccc55338b6c4f09da37a4 21-May-2009 Mike Lockwood <lockwood@android.com> location: Replace ILocationCollector interface with new ILocationProvider method

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>
psLocationProvider.java
ocationProviderProxy.java
ockProvider.java
0376fe43e68cbfa7f846d1663a008dd67ec52c22 20-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 2d10ba33: Merge change 2111 into donut

Merge commit '2d10ba33190c2ff1b24d6c48dd621c55a25bf2cc'

* commit '2d10ba33190c2ff1b24d6c48dd621c55a25bf2cc':
GPS: Add support for forcing NTP time and XTRA data injection.
93bc44d72125cfe798183b5b6891716dadac0ed7 20-May-2009 Mike Lockwood <lockwood@android.com> GPS: Add support for forcing NTP time and XTRA data injection.

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
843ef36f7b96cc19ea7d2996b7c8661b41ec3452 20-May-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
ellState.java
ummyLocationProvider.java
psLocationProvider.java
psXtraDownloader.java
LocationCollector.java
NetworkLocationManager.java
NetworkLocationProvider.java
ocationProviderProxy.java
ockProvider.java
rackProvider.java
28489545304723d530fc609b8326bd138018acd4 14-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 02c1c46f: Merge change 1674 into donut

Merge commit '02c1c46fff22490f884f05520d58eadae1442db8'

* commit '02c1c46fff22490f884f05520d58eadae1442db8':
gps: Time out after 1 minute if we are unable to get a fix and our fix interval is long.
0632ca7bbea5dbd89a584cc3cd6a0630a767e94b 14-May-2009 Mike Lockwood <lockwood@android.com> gps: Time out after 1 minute if we are unable to get a fix and our fix 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>
psLocationProvider.java
9e5d5d6fac951d4d97c4d1df250f6a0f67a95c77 12-May-2009 Mike Lockwood <lockwood@android.com> am 3681f26: LocationManager: Recover if process containing NetworkLocat

Merge commit '3681f2614fa8c10560c790f6b4287f65d6fd2663'

* commit '3681f2614fa8c10560c790f6b4287f65d6fd2663':
LocationManager: Recover if process containing NetworkLocation provider crashes
3681f2614fa8c10560c790f6b4287f65d6fd2663 12-May-2009 Mike Lockwood <lockwood@android.com> LocationManager: Recover if process containing NetworkLocation provider crashes

Signed-off-by: Mike Lockwood <lockwood@android.com>
ocationProviderProxy.java
22a262f09d1f4142ed699f50b128071da704b819 11-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 5e1d8ae: Merge change 1355 into donut

Merge commit '5e1d8aed4a557a7c055aa4c19875df75d7e41ae6'

* commit '5e1d8aed4a557a7c055aa4c19875df75d7e41ae6':
GPS: Generalize SUPL support to include AGPS for CDMA
e3635c9693c4cd9650684f14e19dcabcea0d488a 11-May-2009 Mike Lockwood <lockwood@android.com> GPS: Generalize SUPL support to include AGPS for CDMA

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
158b2129cfd50105305ca0c170163d59e9804106 07-May-2009 Android (Google) Code Review <android-gerrit@google.com> am f792fc5: Merge change 1150 into donut

Merge commit 'f792fc59c18aa470eb44cc596d5774115e2d9d02'

* commit 'f792fc59c18aa470eb44cc596d5774115e2d9d02':
location: Location Manager wakelock cleanup
0528b9b26a9d64ba43acd0e334638303d514b8eb 07-May-2009 Mike Lockwood <lockwood@android.com> location: Location Manager wakelock cleanup

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>
psLocationProvider.java
ocationProviderProxy.java
ockProvider.java
54f2422b487334f6a618fcf8a6ec9353bf651bab 07-May-2009 Android (Google) Code Review <android-gerrit@google.com> am fd445d3: Merge change 1095 into donut

Merge commit 'fd445d3510cddc7a67cf7720935626684a2f3011'

* commit 'fd445d3510cddc7a67cf7720935626684a2f3011':
gps: Move GPS scheduling from libgps to GpsLocationProvider.
29c84340a14e70419449628ab193d11b7a609e9a 06-May-2009 Mike Lockwood <lockwood@android.com> gps: Move GPS scheduling from libgps to GpsLocationProvider.

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
e90c0da675a945a86ac06098c1f5694ddc4efb23 01-May-2009 Mike Lockwood <lockwood@android.com> am 275555c: location: Add support for location providers outside of the

Merge commit '275555c8eb3fb5df6e7320873b88b77cdde85a9e'

* commit '275555c8eb3fb5df6e7320873b88b77cdde85a9e':
location: Add support for location providers outside of the system process.
275555c8eb3fb5df6e7320873b88b77cdde85a9e 01-May-2009 Mike Lockwood <lockwood@android.com> location: Add support for location providers outside of the system process.

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>
psLocationProvider.java
ockProvider.java
ac7a3de471da65ae3111560a1404c12985c8741f 01-May-2009 Mike Lockwood <lockwood@android.com> am 15e3d0f: location: Use ILocationProvider Binder interface for all loc

Merge commit '15e3d0f082d551f8819fbe4b0d502cc108627876'

* commit '15e3d0f082d551f8819fbe4b0d502cc108627876':
location: Use ILocationProvider Binder interface for all location providers.
15e3d0f082d551f8819fbe4b0d502cc108627876 01-May-2009 Mike Lockwood <lockwood@android.com> location: Use ILocationProvider Binder interface for all location providers.

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>
psLocationProvider.java
ocationProviderImpl.java
ocationProviderProxy.java
ockProvider.java
212548f634e80f419b29f547afb9472d7353cf2b 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> am 76b25e5: Merge change 692 into donut

Merge commit '76b25e5e78dde3443f9c57c47e5989ad8ff43771'

* commit '76b25e5e78dde3443f9c57c47e5989ad8ff43771':
location: Optimize use of mProviders ArrayList.
77c8adf9ff3c17937036d4392bf80a5cc1083313 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> am 5f2788b: Merge change 686 into donut

Merge commit '5f2788bc9d947f7793aaea06f7e21d6b74c98826'

* commit '5f2788bc9d947f7793aaea06f7e21d6b74c98826':
gps: Don't crash if no XTRA servers are specified.
73ee32d41b4874f650be20f2f3e3c0c7d172e33c 29-Apr-2009 Mike Lockwood <lockwood@android.com> am b8adcad: location: Remove obsolete fake provider support.

Merge commit 'b8adcad61d9225ecdabde1a01b73455f484cbed7'

* commit 'b8adcad61d9225ecdabde1a01b73455f484cbed7':
location: Remove obsolete fake provider support.
05d024329604bb92dca02f1ecdff4876d6d7b28c 29-Apr-2009 Mike Lockwood <lockwood@android.com> am 79762a3: location: Move DummyLocationProvider.java and LocationProvid

Merge commit '79762a3ee34eb8be5549bcb183af844b6f19c266'

* commit '79762a3ee34eb8be5549bcb183af844b6f19c266':
location: Move DummyLocationProvider.java and LocationProviderImpl.java to the internal package.
8749fecd99dbc468a79b993ff9926cded8e0552f 29-Apr-2009 Mike Lockwood <lockwood@android.com> am eedf815: location: Remove redundant mLocationTracking field from GpsL

Merge commit 'eedf815a2bd44c365a6885553a52cd2fcbfdce8c'

* commit 'eedf815a2bd44c365a6885553a52cd2fcbfdce8c':
location: Remove redundant mLocationTracking field from GpsLocationProvider
662ea09a71ab241774456f7bd4791a3532904da3 28-Apr-2009 Mike Lockwood <lockwood@android.com> location: Optimize use of mProviders ArrayList.

Signed-off-by: Mike Lockwood <lockwood@android.com>
ocationProviderImpl.java
b8526bfe091d4a5948f6e3165357bb9bd4bfebbf 29-Apr-2009 Mike Lockwood <lockwood@android.com> gps: Don't crash if no XTRA servers are specified.

Signed-off-by: Mike Lockwood <lockwood@android.com>
psXtraDownloader.java
b8adcad61d9225ecdabde1a01b73455f484cbed7 28-Apr-2009 Mike Lockwood <lockwood@android.com> location: Remove obsolete fake provider support.

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>
ocationProviderImpl.java
rackProvider.java
79762a3ee34eb8be5549bcb183af844b6f19c266 28-Apr-2009 Mike Lockwood <lockwood@android.com> location: Move DummyLocationProvider.java and LocationProviderImpl.java to the internal package.

Signed-off-by: Mike Lockwood <lockwood@android.com>
ummyLocationProvider.java
psLocationProvider.java
ocationProviderImpl.java
ocationProviderProxy.java
ockProvider.java
rackProvider.java
eedf815a2bd44c365a6885553a52cd2fcbfdce8c 28-Apr-2009 Mike Lockwood <lockwood@android.com> location: Remove redundant mLocationTracking field from GpsLocationProvider

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
74008f608af0c567456d37e63d48643689388c74 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
375cbb47ff721a26b62385211b82a7cf26db0395 22-Apr-2009 Mike Lockwood <lockwood@android.com> gps: Check for null APN name when receiving telephony notifications.

Fixes bug b/1800584

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
e2b44c5aaff312fbb00e66dd42b8444938017672 21-Apr-2009 Mike Lockwood <lockwood@android.com> location: Location Manager wakelock cleanup, phase 1

Move cell and wifi lock from LocationManagerService to NetworkLocationProvider

Signed-off-by: Mike Lockwood <lockwood@android.com>
ocationProviderProxy.java
98cb66797422c4ccdee6f1a07636146d784a471b 18-Apr-2009 Mike Lockwood <lockwood@android.com> More Location Manager cleanup:

Move LocationCollector support out of GpsLocationProvider.
Don't disable GPS when screen is off.

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
2f82c4eb0b4d315481ad79725ad6f52c5ec69685 17-Apr-2009 Mike Lockwood <lockwood@android.com> location: Generalize support for location provider usage tracking.

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>
psLocationProvider.java
ocationProviderProxy.java
a55c321329ae52a2db7a4f2bd36673a20b8f271d 15-Apr-2009 Mike Lockwood <lockwood@android.com> location: Move geocoding support from ILocationProvider to a new interface.

Signed-off-by: Mike Lockwood <lockwood@android.com>
ocationProviderProxy.java
58bda987665af759c379cd494ff4873ac61acf29 14-Apr-2009 Mike Lockwood <lockwood@android.com> gps: Add support for bringing up a GSM data connection on demand for SUPL.

Signed-off-by: Mike Lockwood <lockwood@android.com>
psLocationProvider.java
c1e8aa4c448807fc3ee9d21e8b67bb886fa065aa 06-Apr-2009 Mike Lockwood <> AI 144664: am: CL 144663 Use Binder interfaces between 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
psLocationProvider.java
LocationCollector.java
NetworkLocationManager.java
NetworkLocationProvider.java
ocationProviderProxy.java
e932f7f2a47b770c636443d411436bd29cc4bb43 06-Apr-2009 Mike Lockwood <> AI 144663: Use Binder interfaces between 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

Automated import of CL 144663
psLocationProvider.java
LocationCollector.java
NetworkLocationManager.java
NetworkLocationProvider.java
ocationProviderProxy.java
0bd928fff7f941ff874e4f6d7cf23f1030ee8f2e 06-Apr-2009 Mike Lockwood <> AI 144626: am: CL 144625 Remove unnecessary callback interface from INetworkLocationProvider.
BUG=1729031
Original author: lockwood

Automated import of CL 144626
NetworkLocationProvider.java
53566b140ffa7b1e2f522ab1cdec13c74f8779e7 06-Apr-2009 Mike Lockwood <> AI 144625: Remove unnecessary callback interface from INetworkLocationProvider.
BUG=1729031

Automated import of CL 144625
NetworkLocationProvider.java
a3e952e3251081e2dfe3c747346d3b7006beeee5 06-Apr-2009 Mike Lockwood <> AI 144621: am: CL 144620 Clean up interface between NetworkLocationProvider 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
LocationCollector.java
NetworkLocationManager.java
NetworkLocationProvider.java
f113fbe67b878b356fba11873276d7633ec1af22 06-Apr-2009 Mike Lockwood <> AI 144620: Clean up interface between NetworkLocationProvider 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

Automated import of CL 144620
LocationCollector.java
NetworkLocationManager.java
NetworkLocationProvider.java
33aa27856f4aa1ad870de3552089973a9afad6ca 05-Apr-2009 Mike Lockwood <> AI 144600: am: CL 144599 Location Manager cleanup:
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
ellState.java
LocationCollector.java
66eb4acb89a5e54bdb5b9973e9a1c1b9853d154d 05-Apr-2009 Mike Lockwood <> AI 144599: Location Manager cleanup:
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
ellState.java
LocationCollector.java
f6f9792d44ae9242981dab5ecc1ebf40190aada6 03-Apr-2009 Mike Lockwood <> AI 144453: am: CL 144452 More Location Manager cleanup:
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
psLocationProvider.java
NetworkLocationProvider.java
ockProvider.java
rackProvider.java
4e50b78bda9cd58be61581d2886c88ff6348a1c1 03-Apr-2009 Mike Lockwood <> AI 144452: More Location Manager cleanup:
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
psLocationProvider.java
NetworkLocationProvider.java
ockProvider.java
rackProvider.java
04e71b3db84fd5f7fc4eefb49a33154ea91ec9fc 02-Apr-2009 Wink Saville <> AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger.

Automated import of CL 144245
ellState.java
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
ellState.java
4d7a38588911bf7de3803ea7d53783d3a89bd2f2 31-Mar-2009 Mike Lockwood <> AI 143648: am: CL 143616 Fix ANR that could occur when disabling GPS in 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
psLocationProvider.java
d654f9f727b415b153c7190832db4b65f6943f32 31-Mar-2009 Mike Lockwood <> AI 143616: Fix ANR that could occur when disabling GPS in 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

Automated import of CL 143616
psLocationProvider.java
f8dd2e1d4b3a24bd4afdc391cc5fcdf555c991b1 28-Mar-2009 Mike Lockwood <> AI 143287: am: CL 143095 Location Manager cleanup: move MockProvider to a separate file.
BUG=1729031
Original author: lockwood
Merged from: //branches/donutburger/...

Automated import of CL 143287
ockProvider.java
7ec434e2e179776d75c8a4da66dcfd2ee630c5d8 27-Mar-2009 Mike Lockwood <> AI 143095: Location Manager cleanup: move MockProvider to a separate file.
BUG=1729031

Automated import of CL 143095
ockProvider.java
7b0b1ed979aa665175bf3952c8902ce13c763ab8 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import //branches/master/...@140412
psXtraDownloader.java
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
psLocationProvider.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ellState.java
psLocationProvider.java
psXtraDownloader.java
LocationCollector.java
NetworkLocationManager.java
NetworkLocationProvider.java
meaParser.java
rackProvider.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ellState.java
psLocationProvider.java
psXtraDownloader.java
LocationCollector.java
NetworkLocationManager.java
NetworkLocationProvider.java
meaParser.java
rackProvider.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
ellState.java
NetworkLocationManager.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
ellState.java
NetworkLocationManager.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
NetworkLocationManager.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
psLocationProvider.java
LocationCollector.java
NetworkLocationManager.java
NetworkLocationProvider.java
ocationCache.java
ocationCollector.java
ocationMasfClient.java
etworkLocationProvider.java
rotoRequestListener.java
rotocol/GAddress.java
rotocol/GAddressComponent.java
rotocol/GAppProfile.java
rotocol/GCell.java
rotocol/GCellularPlatformProfile.java
rotocol/GCellularProfile.java
rotocol/GDebugProfile.java
rotocol/GDeviceLocation.java
rotocol/GFeature.java
rotocol/GGeocodeRequest.java
rotocol/GGpsProfile.java
rotocol/GLatLng.java
rotocol/GLocReply.java
rotocol/GLocReplyElement.java
rotocol/GLocRequest.java
rotocol/GLocRequestElement.java
rotocol/GLocation.java
rotocol/GPlatformProfile.java
rotocol/GPrefetchMode.java
rotocol/GRectangle.java
rotocol/GUserProfile.java
rotocol/GWifiDevice.java
rotocol/GWifiPlatformProfile.java
rotocol/GWifiProfile.java
rotocol/GaddressMessageTypes.java
rotocol/GcellularMessageTypes.java
rotocol/GdebugprofileMessageTypes.java
rotocol/GfeatureMessageTypes.java
rotocol/GlatlngMessageTypes.java
rotocol/GlocationMessageTypes.java
rotocol/GrectangleMessageTypes.java
rotocol/GwifiMessageTypes.java
rotocol/LocserverMessageTypes.java
rotocol/ResponseCodes.java
f1e484acb594a726fb57ad0ae4cfe902c7f35858 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
psLocationProvider.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
psLocationProvider.java
psXtraDownloader.java
ocationCache.java
ocationMasfClient.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
ellState.java
psLocationProvider.java
ocationCache.java
ocationCollector.java
ocationMasfClient.java
etworkLocationProvider.java
rotocol/GDebugProfile.java
rotocol/GdebugprofileMessageTypes.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
ellState.java
psLocationProvider.java
psXtraDownloader.java
ocationCache.java
ocationCollector.java
ocationMasfClient.java
etworkLocationProvider.java
meaParser.java
rotoRequestListener.java
rackProvider.java
rotocol/GAddress.java
rotocol/GAddressComponent.java
rotocol/GAppProfile.java
rotocol/GCell.java
rotocol/GCellularPlatformProfile.java
rotocol/GCellularProfile.java
rotocol/GDebugProfile.java
rotocol/GDeviceLocation.java
rotocol/GFeature.java
rotocol/GGeocodeRequest.java
rotocol/GGpsProfile.java
rotocol/GLatLng.java
rotocol/GLocReply.java
rotocol/GLocReplyElement.java
rotocol/GLocRequest.java
rotocol/GLocRequestElement.java
rotocol/GLocation.java
rotocol/GPlatformProfile.java
rotocol/GPrefetchMode.java
rotocol/GRectangle.java
rotocol/GUserProfile.java
rotocol/GWifiDevice.java
rotocol/GWifiPlatformProfile.java
rotocol/GWifiProfile.java
rotocol/GaddressMessageTypes.java
rotocol/GcellularMessageTypes.java
rotocol/GdebugprofileMessageTypes.java
rotocol/GfeatureMessageTypes.java
rotocol/GlatlngMessageTypes.java
rotocol/GlocationMessageTypes.java
rotocol/GrectangleMessageTypes.java
rotocol/GwifiMessageTypes.java
rotocol/LocserverMessageTypes.java
rotocol/ResponseCodes.java