summaryrefslogtreecommitdiffstats
path: root/packages/FusedLocation
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importAbhisek Devkota2017-04-281-1/+1
| | | | Change-Id: Ifeae1515729fc73ba3198e72b3479870092af3c1
* Automatic translation importAbhisek Devkota2017-02-191-0/+5
| | | | Change-Id: I80e32cc003cc9c8707732b27a683e87cdd67375d
* Automatic translation importpinky@build012016-08-273-0/+15
| | | | | Change-Id: If7eac9a9fa7e145c9d35ece91a8ccab33601a1ca Ticket: -
* Partially revert "Merge tag 'android-6.0.1_r22' of ↵Michael Bestas2016-05-041-0/+5
| | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0" This reverts commit 0e1dbed9194839a90755670d8fdf9046a75b85f7, reversing changes made to 564f10b8f05ddf4d9ea2c0e64f1b113fe6dad4b8. Change-Id: Ife3a8c9c898034d5161fbf25a03eaf173ec66246
* Automatic translation importMichael Bestas2016-04-161-0/+5
| | | | Change-Id: Ib87e41106982b159d249ebbe0653e569f9c7b454
* Automatic translation importMichael Bestas2016-04-061-0/+5
| | | | Change-Id: I3849e73aee18720b20529d406c7657c0a0cee320
* Automatic translation importMichael Bestas2016-03-282-0/+10
| | | | Change-Id: Ib371d8f862dced4aa36cfe076f876e9ae4bd62c2
* Automatic translation importMichael Bestas2016-03-1813-0/+45
| | | | Change-Id: I4af2a6a904e9229b261e95818f716d6b5708a6f4
* Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-112-6/+1
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0 Android 6.0.1 release 22 Change-Id: I0d31899b234156a91accb61e0a7fb3d8d16d5062
| * Merge branch \'cw-e-dev\' of ↵Geoff Mendal2015-10-211-0/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into cw-e-dev am: 84ab40cab2 * commit '84ab40cab243ac76a83c3d15478699998ba68236': Import translations. DO NOT MERGE
| | * Import translations. DO NOT MERGEGeoff Mendal2015-10-211-0/+5
| | | | | | | | | | | | | | | Change-Id: Ib804ad4db26e8029d8c55ccda9046273baf93de3 Auto-generated-cl: translation import
| * | am fd5cb76e: am 79490dba: Merge "Fix reintroduction of b/10845061" into ↵Soonil Nagarkar2015-09-231-33/+21
| |\ \ | | |/ | | | | | | | | | | | | | | | mnc-dr-dev * commit 'fd5cb76ed654998df466147c19ec985115749e70': Fix reintroduction of b/10845061
| | * am 79490dba: Merge "Fix reintroduction of b/10845061" into mnc-dr-devSoonil Nagarkar2015-09-231-33/+21
| | |\ | | | | | | | | | | | | | | | | * commit '79490dbacd90a851ed8d03d64acedbf3616adba4': Fix reintroduction of b/10845061
* | | | Automatic translation importMichael Bestas2015-12-255-0/+25
| |_|/ |/| | | | | | | | Change-Id: I96f3c5a41d3c52473c161aaf2c97d821caa99bb9
* | | Fix reintroduction of b/10845061Soonil Nagarkar2015-09-211-33/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent crash in case where NLP is not available. Also fix an integer overflow bug that remained uncaught. BUG: 22345134 Change-Id: If6ff7b12f0d15bb2fe97589f8b0be10f9ed06197 (cherry picked from commit 2ec5c5cced4bd5b9dfbb7578f573c56b3bbc7ddf)
* | | Import translations. DO NOT MERGEBaligh Uddin2015-09-181-0/+5
| |/ |/| | | | | | | Change-Id: Id3a7092d59391fd20c2b643551eee8a2c6cf104b Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEGeoff Mendal2015-05-302-1/+6
|/ | | | | Change-Id: Ie86b62bb9884b5043fada9b96feac9104b67a052 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-04-223-0/+15
| | | | | Change-Id: If4919373256f7d4e74072e4c34fcfbc36bad6825 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-03-201-0/+5
| | | | | Change-Id: I274a842ea3e3811e64c35791e2eb3a7603509184 Auto-generated-cl: translation import
* Fix FusionEngine so it isn't confused by location providers enabling/disabling.Soonil Nagarkar2015-01-281-14/+16
| | | | | Bug: 18900529 Change-Id: I80ebf9e0482148897eb943b44bf711577b6dcf7a
* Remove deprecated localesBaligh Uddin2014-07-178-40/+0
| | | | Change-Id: I9789601a2fffc8eb8e6eeff4a8bd6c83fbf6fb10
* Import translations. DO NOT MERGEBaligh Uddin2014-07-058-0/+40
| | | | | Change-Id: I39f20de8a02ff8d825102a4a36570bcb6180f12e Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-06-3017-0/+85
| | | | | Change-Id: I1ce049ca89479b5d669f813661ce097d97e36629 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-05-201-1/+1
| | | | | Change-Id: I70eb28f41b715d1843f3b90c95c0efa71f005e8a Auto-generated-cl: translation import
* Remove unused imports from frameworks/base.John Spurlock2013-11-201-3/+0
| | | | Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
* Import translations. DO NOT MERGEBaligh Uddin2013-11-111-1/+1
| | | | | Change-Id: I79945322799c86169e725cb3c67be0b8046f55fe Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2013-11-063-3/+3
| | | | | Change-Id: Ie33acfe6f39d170f88a99ec57ee960dc62c84ee0 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2013-10-161-1/+1
| | | | | Change-Id: I67083211b646acc186939e051ea5218fb00ed1c6 Auto-generated-cl: translation import
* am 7831fd2f: am 7d3fb2d6: am 881e1a6b: Merge "do not request location from ↵Victoria Lease2013-10-141-8/+10
|\ | | | | | | | | | | | | unavailable providers" into klp-dev * commit '7831fd2fdb46572025195b4b8ec6f1f5b3d9b8c6': do not request location from unavailable providers
| * am 7d3fb2d6: am 881e1a6b: Merge "do not request location from unavailable ↵Victoria Lease2013-10-131-8/+10
| |\ | | | | | | | | | | | | | | | | | | providers" into klp-dev * commit '7d3fb2d6c5539226a3adcd20cee48177dd8dc571': do not request location from unavailable providers
| | * do not request location from unavailable providersVictoria Lease2013-10-131-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit prevents a system_server crash when applications attempt to use the fused location provider on systems that do not have a network location provider available. Bug: 10845061 Change-Id: I85b33806e05566e8b68ee2ccc401b1c565fd7b9a
| | * Import translations. DO NOT MERGEBaligh Uddin2013-10-1124-0/+120
| | | | | | | | | | | | | | | Change-Id: I8d1fd0e44df5ea45d590e675e1f2d0afda54bc69 Auto-generated-cl: translation import
| | * Import translations. DO NOT MERGEBaligh Uddin2013-10-1031-0/+155
| |/ | | | | | | | | Change-Id: Icd16db08d07dc6156aecaa64750e91b492b9c86a Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2013-10-144-4/+4
| | | | | | | | | | Change-Id: Ib34e81399bfc7c5867fcc060af7d5487485a2855 Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2013-10-1124-0/+120
| | | | | | | | | | Change-Id: I82d4f166b346b10babd67f89f3035426e74db7dd Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2013-10-1031-0/+155
|/ | | | | Change-Id: I693a68b27aba9bcde0a4b4b79f8927483ca0fd2c Auto-generated-cl: translation import
* Some system apps are more system than othersChristopher Tate2013-06-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | "signatureOrSystem" permissions are no longer available to all apps residing en the /system partition. Instead, there is a new /system/priv-app directory, and only apps whose APKs are in that directory are allowed to use signatureOrSystem permissions without sharing the platform cert. This will reduce the surface area for possible exploits of system- bundled applications to try to gain access to permission-guarded operations. The ApplicationInfo.FLAG_SYSTEM flag continues to mean what it is says in the documentation: it indicates that the application apk was bundled on the /system partition. A new hidden flag FLAG_PRIVILEGED has been introduced that reflects the actual right to access these permissions. At some point the "system" permission category will be renamed to "privileged". Bug 8765951 Change-Id: I6f0fd9cdb9170e076dfc66d83ecea76f8dd7335d
* dual-mode switching single/multiuser ServiceWatcherVictoria Lease2013-02-014-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | This changelist revises LocationManager's previous multiuser system. Location provider services that are not multiuser-aware continue to run as before: ServiceWatcher binds to location provider services as the current active user. When the device switches from one user to another, ServiceWatcher unbinds from the old user's location provider service and binds to the new user's instance. Now, location provider services that are multiuser-aware or user-agnostic can declare "serviceIsMultiuser" metadata in their AndroidManifest.xml to prevent ServiceWatcher from performing this switching. These services will run as singleton services and will be expected to handle user switches on their own. With this feature in, I was able to switch FusedLocationProvider to run in multiuser mode, sharing the system_server process instead of running in its own process. The NetworkLocationProvider is unchanged, still running in singleuser mode, cheerfully oblivious to the possibility that there might be any user on the device besides the one it services. Bug: 8028045 Change-Id: I1a5bd032918419bab6edb46c62ff8c6811170654
* Protect against NPE in FusionEngine.java.Laurent Tu2012-12-041-1/+5
| | | | | Bug: 7629406 Change-Id: Ic49a069eef47a62fb1e0c6f284a705a62c6ae232
* Hide new location APIs and undeprecate old onesLaurent Tu2012-11-011-7/+7
| | | | | | | | | Hide all new location APIs related to LocationRequest/Geofence and undeprecate all deprecated APIs consequently to the LocationRequest and Geofence introduction. Also introduce LocationRequestUnbundled for LocationProviders to use. Change-Id: I5b116c7d342041f45b341c88a4b6813571118018
* fix NLP for COARSE applications, build FLP with SDKVictoria Lease2012-11-012-2/+21
| | | | | | | | | | | | | | | In this commit, we provide a means for unbundled location providers to attach an EXTRA_NO_GPS_LOCATION to the Locations that they report. We also build FusedLocation against the SDK rather than the internal tree. Used in conjunction with I394ded497b8de40d1f85618bff282553cdf378cb to fix NLP for applications with only ACCESS_COARSE_LOCATION permission. Bug: 7453355 Change-Id: Ie696f7abff9ef5237740ab87fe9f537a1c812c54
* FusedLocation runs per user as userVictoria Lease2012-10-291-4/+2
| | | | Change-Id: Ib9589000f201902bd6be2d58413c11b9340cf6ac
* Changes to support updating location providers.Jeff Hamilton2012-10-181-2/+3
| | | | | | | This reverts commit 20de160ca32a8f2936a80ffd70551a22e2371d25. Bug: 7242814 Change-Id: I9ec49a14feb835b6683186fc6da4a74ae19fbae2
* Simplify fused location provider.Victoria Lease2012-10-121-114/+37
| | | | | | | | | | | | | The previous location fusion algorithm produced very poor results outdoors, where stale-but-accurate network locations had too much influence over the final fused location. I swapped the previous fusion algorithm out with an algorithm that has been well-tested elsewhere and should produce superior results. Bug: 7341419 Change-Id: Iba71950a07907cbf26429c4e377b5e2ed91ba302
* Revert "Changes to support updating location providers."Jeff Hamilton2012-10-052-8/+3
| | | | This reverts commit c19efc204aee1f0f3164dc21bd2ef3fdd4259c71.
* Changes to support updating location providers.Jeff Hamilton2012-10-042-3/+8
| | | | | | | | | | | | | | There is now only a single config value pointing at a list of packages to get certs from. The old system was a bit confusing. The fused location provider also now builds against SDK 17, and the meta data service version tag was renamed from the overly generic "version" to "serviceVersion". Bug: 7242814 Change-Id: I00d27c9cbd5cc31a37bb4a98160435d15a72e19e
* Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()Philip Milne2012-09-261-2/+2
| | | | Change-Id: Ie38952bbaace080e81e41e61350cda172951d548
* Merge "Revert "Fix for bug: #7173350. elapsedRealtimeNano() -> ↵Philip Milne2012-09-241-2/+2
|\ | | | | | | elapsedRealtimeNanos()"" into jb-mr1-dev
| * Revert "Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()"Philip Milne2012-09-241-2/+2
| | | | | | | | | | | | This reverts commit 2f6d8829524dfca3a77e9a57c3b9c3862209877d Change-Id: Id5af767a09fc319127c4ebef837c5b7a7f75cb01
* | Merge "Fix for bug: #7173350. elapsedRealtimeNano() -> ↵Philip Milne2012-09-241-2/+2
|\ \ | |/ | | | | elapsedRealtimeNanos()" into jb-mr1-dev