e998c73c3380f525b218cd95a3d3f575935c5222 |
|
10-Jun-2016 |
Svet Ganov <svetoslavganov@google.com> |
Blame only location observers that actually receive updates The location manager service keeps update records for all apps registered to receive location updates. If an app does not have the location permission then its update record is skipped when dispatching location updates. However, the battery blame is spread across all apps requesting location updates even if they don't receive such because of lacking permission. bug:28804546 Change-Id: Iee96fd6f304c7a49f9c70484e52abc0ed1538a29
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
6b4893a2d169649a2e2a2efa5343f696712cc5df |
|
04-May-2016 |
destradaa <destradaa@google.com> |
Update verbosity of hardware providers. Uses a debug log for logging of messages related to hardware providers that are not mandatory in the device. Bug: 28530304 Change-Id: Ief1f193f934e7ebe7077366aafaa913b216e3481
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
7f98aa4aa93497692f200c553d2d6fff402e3de2 |
|
07-Apr-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Added getProfileIds method returning array of userIds Previously many usages of UserManager.getProfiles and getEnabledProfiles were only using ids of returned users. Given that the list of users needs to be parceled and unparceled for Binder calls, returning array of ids minimizes memory usage and serialization time. A new method getProfileIds was introduced which returns an array of userIds. Existing method calls were updated where appropriate. Bug: 27705805 Change-Id: Ic5d5decd77567ba0f749e48837a2c6fa10e812c0
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
9363b949a104786c87cd2cd18f206ff3c1957e5e |
|
17-Feb-2016 |
Lifu Tang <lifu@google.com> |
Finalized GPS=>GNSS changes with documents Bug: 27098594 Change-Id: I24529e60d8eb9b48b644cf01e5efc684e6f04839
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
818aa2c2c46addae934fb6cd42f889affc9ef747 |
|
01-Feb-2016 |
Lifu Tang <lifu@google.com> |
Rename Gps to Gnss for measurement-related APIs Bug: 26895757 Change-Id: I12d89dc251e356cf976a4bcd3589a8925a8ad745
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
82f893d6df236d257ab2142dd63e72865a5e4f00 |
|
22-Jan-2016 |
Lifu Tang <lifu@google.com> |
Added an API to query GPS hardware version info Change-Id: Ic45357d30da350759f56c9d061e60196acb3255b
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
30f95a7d67870c28d2aaa88ee989c099f5670225 |
|
08-Jan-2016 |
Lifu Tang <lifu@google.com> |
Supported GNSS multi-constellation in frameworks Change-Id: I82574afd3697c47e806d2cfaedc33756d0353b73
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
2e38507b70d49985c16c9bc07b1ad8fe7f71c899 |
|
15-Oct-2015 |
destradaa <destradaa@google.com> |
Fix exception while shutting down FLP HW Bug: 24877230 Change-Id: I7c342641b87ae6b1fd3623e4436fd985f67e1848
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
a4490622207804ef85f39439ff7b9cb2470f6287 |
|
23-Sep-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Cleanup USER_OWNER in activity and location services Bug: 19913735 Change-Id: Ie2b7acb3fa53b1dcf7319de1eb5bdec585dbf78c
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
b902698632be50231d1597a38200a44026c1c94f |
|
28-Aug-2015 |
destradaa <destradaa@google.com> |
Clean up Gps/Flp Hardware on shut-down. Ensures that the GPS and FLP HAL interfaces are deinitialized upon system shut-down. This gives a chance for the underlying HAL to close cleanly any resources it could be holding. Note this approach only works for a device's power-off, scenarios such as adb shell stop / start cannot be handled, because in such cases the process is terminated sending SIGKILL to it. Bug: 23279835 Bug: 23279593 Change-Id: I29b3306c0ae2b384d0542031080a15fdbe49dd71
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
6e2fe75624c069bd374da65dc9d6d9ba84b4b5ba |
|
24-Jun-2015 |
destradaa <destradaa@google.com> |
Add callback-based support for Hardware Activity Recognition. b/17112184 Add a callback-based mechanism for GmsCore to connect to Hardware Activity Recognition. This allows GmsCore to stop polling to identify if the Android platform supports the functionality or not. Change-Id: I8f9459cbd15eecd70f6919c6551e6f7a663c732f
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
b870dbf86bd47c750d2a5350a83ec245396578ee |
|
22-Jun-2015 |
David Christie <dnchrist@google.com> |
Fix privacy leaks in LocationManager -Register for listener for permission changes and stop request immediately if client loses permission. -Also remove permission requirement to remove geofences and clean up permission annotations. Bug: 21903866 Change-Id: I7e028b6b2ca5b21f25fcbba5de86dfb55caff872
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
1e575a0f32a00fc6a2f9a71fe1d1eb4426c71787 |
|
20-Jun-2015 |
Svet Ganov <svetoslavganov@google.com> |
Merge "Only grant runtime permissions to special components." into mnc-dev
|
adc1cf46045ae756d3a9ccbccf6b0f894e4c1edd |
|
16-Jun-2015 |
Svet Ganov <svetoslavganov@google.com> |
Only grant runtime permissions to special components. Now runtime permissions are granted only to components that are part of the system or perform special system operations. For exmple, the shell UID gets its runtime permissions granted by default and the default phone app gets the phone permissions granted by default. bug:21764803 Change-Id: If8b8cadbd1980ffe7a6fc15bbb5f54a425f6e8f9
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
b71218aec133981126b0f916fc1f731fdbb04b1b |
|
17-Jun-2015 |
Jason Monk <jmonk@google.com> |
Add way to get the network location provider package Bug: 21805447 Change-Id: Ie9fd35a69d8808ae4346927b30b77e9fd733b569
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
f7e9cf4fb48ea80cbc5088204ac3f898109623f7 |
|
13-May-2015 |
Svet Ganov <svetoslavganov@google.com> |
Access mock location is no longer a runtime permission - framework The access mock location is no longer a runtime permission. It is a signature protected one that apps cannot get but the fact they request it means they want to inject location into the system. Now the user gets to choose the current mock location app in developer options from the apps that request the mock location permission. The access to mock location is no longer guarded by the permisson but from a new app op which is off by default and the settiings UI sets it to enabled only for the currently selected mock location app. bug:21078873 Change-Id: I19e3f9dc7c7de82eab46b30fec1abfbca54a0e59
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
8e4799ad456c972cc340d3f484afd69b2f14a761 |
|
13-May-2015 |
Wei Liu <luciferleo@google.com> |
resolved conflicts for merge of f0c4f0dd to mnc-dev Change-Id: I16df088016c010aa25ee73ea8e68b3db8c0449e3
|
f0c4f0ddb6167bac5f40b1f68044ecbf8486db7c |
|
12-May-2015 |
Wei Liu <luciferleo@google.com> |
am 3d76e2f3: Merge "Create GpsLocationProvider only if GPS is supported." into lmp-mr1-modular-dev * commit '3d76e2f35ae5e4557979c053aa35c3cf3b02f1c3': Create GpsLocationProvider only if GPS is supported.
|
5241a4cb55b4015549242ac7d8aa5c99e5f157e5 |
|
11-May-2015 |
Wei Liu <luciferleo@google.com> |
Create GpsLocationProvider only if GPS is supported. The creation of GpsLocationProvider used to be inside the GpsLocationProvider.isSupported() check. https://googleplex-android-review.git.corp.google.com/#/c/288260/8/services/java/com/android/server/LocationManagerService.java incorrectly moved it out. b/20949616 Change-Id: I6ddd5be5a78f3156a4d5cfc4c756930558c3a8fc
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
ebc3d88380c6aa08ccae28c97d3b6374c20882e2 |
|
12-Nov-2014 |
Mike Lockwood <lockwood@google.com> |
am 4951482c: Merge "Skip receiver if failed linkToDeath to ILocationListener" * commit '4951482c4de1780a9103189aa4eff93b2e91c804': Skip receiver if failed linkToDeath to ILocationListener
|
cb3ab221f72fa10a3c72142dd7567161fb9af878 |
|
27-Mar-2014 |
Wen Jing <jing1.wen@sonymobile.com> |
Skip receiver if failed linkToDeath to ILocationListener linkToDeath may failed when app was dead immediately after starting the call to requestLocationUpdates in Location service. If receiver still record in maps, an exception will occurred when try to remove receiver's update because unlinkToDeath will failed. Change-Id: Id9b00da3b17c1371d61ab4644a70cf9ee934cdcc
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
6568d709e78d6ccaf256b7d0e4a19cdfb26deafb |
|
27-Oct-2014 |
destradaa <destradaa@google.com> |
Add support for GPS measurement/navigation message capabilities. b/16727892 b/16815124 The listeners are changed to receive statuses asynchronously, this is required because GPS HAL, requires time to be notified of the capabilities it supports. Change-Id: Ie69fdd629d8680341386a2c736bc851632dd2bda
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
b254ab6addb46aefa59d26d261f846f381f4ece8 |
|
23-Oct-2014 |
Takayuki Hoshi <hoshi@google.com> |
Fix a bug where LocationManager's addGpsStatusListener does not throw a SecurityException if LocationManagerService.mGpsStatusProvider is null even when ACCESS_FINE_LOCATION permission is not present. Tested under Nexus 5 and Molly with lmp-mr1-dev build with android.location2.cts.LocationManagerTest#testGpsStatusListener CTS test case such that it has been modified to expect SecurityException only from .addGpsStatusListener. Bug: 18095673 Change-Id: I09f9e7224a3b0eab91001f5092f0ef6e0ada7b08
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
beea442e72ddf03efe79d216288ea320fc4c308b |
|
31-Jul-2014 |
destradaa <destradaa@google.com> |
Fix crash in Volantis because there is not FLP support. b/16690237 Change-Id: Ie2dd159ad4e9b5cf4b3e2e66023b456927f18130
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
f9a274c9b8578dda6afeda422bff18b1577028b9 |
|
26-Jul-2014 |
destradaa <destradaa@google.com> |
Add support for sources in Geofencing APIs. Support setting the source when adding geofences. b/14117199 Surface the source when FLP geofence changes state. b/14119200 Change-Id: I50dc40a9caee400594e1778c98e284e0db0d5e66
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
4b3e3931270f8e406fc806bc7fa1c2788256687d |
|
22-Jul-2014 |
destradaa <destradaa@google.com> |
Expose Gps Navigation Messages in the platform. b/16405976 Change-Id: Ic982ea2467d116585780c20c2fa7e974e50f8345
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
a4fa3b5aa53cf677b623fe346c585cb8a0c1ce26 |
|
09-Jul-2014 |
destradaa <destradaa@google.com> |
Add support in the platform for Activity Recognition Hardware. Change-Id: I7c4fff3526583475a5edf1f4ba8fede4e9419ead
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
ea8a8a6076f04360de2d25b3e5853cde8026cd5f |
|
24-Jun-2014 |
destradaa <destradaa@google.com> |
Update location framework to accept raw data from GPS HAL. Change-Id: Ib4feca004b53fa89dcece4299974ab08913455a0
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
d5323174d85b6685672e321f045c44637e777618 |
|
12-Jun-2014 |
destradaa <destradaa@google.com> |
Separate Hardware Flp ServiceWatcher flags from the ones used by Software Flp. Change-Id: I6c15665118d52627978381935716436981a058d1
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
b27528d066644e9a81ebac27822186fa61c89003 |
|
06-Jun-2014 |
Amith Yamasani <yamasani@google.com> |
Make LocationManagerService aware of user profiles LocationManagerService normally doesn't provide location to background users. With managed profiles, there are more than one foreground users and they both need to get location when in the foreground. So LMS will now compare the caller against all foreground users and provide location if valid. Bug: 14671472 Change-Id: If3baabfc5a3ab3f2f081d7fc28f35d840d5f1489
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
5ce66d8dcc786b3d6a0fdfb42074e6c9741590ef |
|
29-May-2014 |
destradaa <destradaa@google.com> |
Re-work the initialization of FLP HAL to make isSupported() static. b/14839888 Change-Id: Ib5973586fd8a2d4a1e5fd09cf82dd4f4493398d0
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
1f141c1cbc1925fec36edb8a34a229cf6209d13a |
|
15-May-2014 |
David Christie <dnchrist@google.com> |
Fix bug where location provider fails on secondary users. Bug: 12592045 Change-Id: I196b8621c7f61c3492ad29ae90b608304dc29d66
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
a4dfc2c56b0efd0094d8cf9156c7b24fb4e67d25 |
|
13-May-2014 |
Zhentao Sun <robinvane@google.com> |
Make sure nativeInit is called on an object. This bug is introduced by the attempt to fix b/14117917. Worked around b/14469172. The implementation of nativeInit assumes that it's called on a object instead of class. Change-Id: I73241e62aa73ce98358ff37b772d1a26daf9e53c
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
cfbdcd259497ec5800028074ae487e5d4f112e5c |
|
30-Apr-2014 |
destradaa <destradaa@google.com> |
Make sure the FlpHardwareProvider is only advertised to GmsCore if the platform supports it. b/14117917 Change-Id: Id6c2444893bcf192049e3233d1296eac16fcf826
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
26bdb8fb6c006ba06bcf8c9f06d56d8894cc9783 |
|
21-Apr-2014 |
Ji-Hwan Lee <jihwan@google.com> |
Add config resource to add inital mock location providers So that we can provide mock location providers, e.g., in emulator build. Change-Id: Ia8fe0925abc2faa4999ef17e386d7f3f8b13a0dc
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
09d47bbb43fcda1d1cc05f88849ed011a84d0d60 |
|
14-Mar-2014 |
Victoria Lease <violets@android.com> |
am c2d934d7: am f8ce43ea: am 1365d982: am 4cde7734: Merge "remove unnecessary switchUser call" * commit 'c2d934d7e87b9eb8cbb15ccc0c39b13ad32de460': remove unnecessary switchUser call
|
f8ce43ea146cace780cb4f75348d4eca4526660a |
|
14-Mar-2014 |
Victoria Lease <violets@android.com> |
am 1365d982: am 4cde7734: Merge "remove unnecessary switchUser call" * commit '1365d98270e0a0a61d10743820e923aeff974b39': remove unnecessary switchUser call
|
fe6d3c54944b56a34394a83b81a3d20cec52b3c9 |
|
04-Mar-2014 |
Tom O'Neill <tomo@google.com> |
Remove reference to internal bug number Change-Id: Idec0d6529ee9742b226260df09cfe7cd2b3823fb
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
07ee5d1f1db4d6df4bdb52af2eb4ab7b167df0b4 |
|
04-Mar-2014 |
Tom O'Neill <tomo@google.com> |
Removing a test provider clears its enabled state - Bug: 11446702 Change-Id: I56ad9235a99772079193553c0f28bd8d74b3d8e3
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
afecea18054c457cbd55d1ed9c023f2c2aa3726b |
|
01-Mar-2014 |
Tom O'Neill <tomo@google.com> |
Seeing if a provider is enabled doesn't require special permissions - Bug: 10696351 Change-Id: I4f1612ce10587728e71277587144fdcb59445b3f
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
2ff96af24de2c22a21de9b56ea8543dccdbdcb9d |
|
31-Jan-2014 |
David Christie <dnchrist@google.com> |
Log history of location requests in LocationManager. -Assists with debugging power issues. Bug: 12824233 Change-Id: Iaaef0dbe00154c7668034a166587671b75d1f3c7
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|
94827c3484da6f0a9cd171e6892d2710b1eafa12 |
|
13-Jan-2014 |
Daniel Cashman <dcashman@google.com> |
am 21a801d0: am 0d30e07d: am 3d5ea26f: am 4503409a: Merge "Clear cached locations when location providers disabled Bug: 12118307" into klp-dev * commit '21a801d0885d65f128b84a593140b07fd0d4e980': Clear cached locations when location providers disabled Bug: 12118307
|
49782e46c0eb85a25ae2abcf80880c48dbab5aea |
|
20-Dec-2013 |
Amith Yamasani <yamasani@google.com> |
am 9158825f: Move some system services to separate directories * commit '9158825f9c41869689d6b1786d7c7aa8bdd524ce': Move some system services to separate directories
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
|
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/java/com/android/server/LocationManagerService.java
|