summaryrefslogtreecommitdiffstats
path: root/location
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Mark Gps Raw related APIs as System APIs. b/16727892" into lmp-mr1-devdestradaa2014-11-076-0/+16
|\
| * Mark Gps Raw related APIs as System APIs.destradaa2014-10-316-3/+16
| | | | | | | | | | | | b/16727892 Change-Id: I29d78d45aef7829c3321ae4e7c26549e46fa39f9
* | Merge "Add support for GPS measurement/navigation message capabilities. ↵destradaa2014-11-069-27/+104
|\ \ | | | | | | | | | b/16727892 b/16815124" into lmp-mr1-dev
| * | Add support for GPS measurement/navigation message capabilities.destradaa2014-10-319-27/+104
| |/ | | | | | | | | | | | | | | | | | | 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
* | Fix reference leak in GPS measurement JNI layer.destradaa2014-10-311-0/+1
|/ | | | | | | b/16727892 b/17075171 Change-Id: I5f41c6db114078b927e56a7614fa7c09a288e2b2
* Merge "Put in real "code" (aka marketing) name." into lmp-devDianne Hackborn2014-10-081-1/+1
|\
| * Put in real "code" (aka marketing) name.Dianne Hackborn2014-10-071-1/+1
| | | | | | | | Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
* | am 4be6fdeb: am ba2199fa: Merge "docs: Modified the notice in the ↵Quddus Chong2014-10-071-16/+14
|\ \ | |/ |/| | | | | | | | | android.location package file to strongly encourage developers to migrate to the Google Play Services Location API." into klp-modular-docs * commit '4be6fdebdd386dc18159c5557db91936a62f42ab': docs: Modified the notice in the android.location package file to strongly encourage developers to migrate to the Google Play Services Location API.
| * docs: Modified the notice in the android.location package file to stronglyQuddus Chong2014-10-031-16/+14
| | | | | | | | | | | | encourage developers to migrate to the Google Play Services Location API. Change-Id: I9c2602daa7198eca38841582865c6a973f5acec8
* | Fix an incorrect behavior that failed AT&T privacy test.Tsuwei Chen2014-09-251-1/+1
| | | | | | | | | | | | Bug: 17278951 Change-Id: I8b8bf4ed19af8738e7cef3553c8a06f7e27c7264
* | Merge "Add @SystemApi to LocationManager methods used by GmsCore (with ↵David Christie2014-09-171-0/+3
|\ \ | | | | | | | | | reflection). Bug: 17515515" into lmp-dev
| * | Add @SystemApi to LocationManager methods used by GmsCore (with reflection).David Christie2014-09-151-0/+3
| | | | | | | | | | | | | | | | | | Bug: 17515515 Change-Id: I005871c721868bc52a3057839949eb342181b7b8
* | | Handle user privacy properly during network initiated requests.Tsuwei Chen2014-09-121-19/+71
| | | | | | | | | | | | | | | | | | Bug: 16131208 Change-Id: Ic6f83fcf24eef9e0e26e303bb652651f0dc2970a
* | | Merge "Manually merge QC's change for SUPL_ES." into lmp-devTsuwei Chen2014-09-081-52/+176
|\ \ \
| * | | Manually merge QC's change for SUPL_ES.Tsuwei Chen2014-09-081-52/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Fix a STOPSHIPTom O'Neill2014-09-081-4/+3
|/ / / | | | | | | | | | Change-Id: I3714f1645c0a847e912cb79515fe3991960c1698
* | | Merge "Keep LMP from breaking KitKat API" into lmp-devTom O'Neill2014-09-041-4/+1
|\ \ \
| * | | Keep LMP from breaking KitKat APITom O'Neill2014-09-041-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | - Bug: 17390371 Change-Id: I25c1abebcc42ed24abd57bbe2834a40fb8ee834b
* | | | Merge "Add @SystemApi annotations to methods used by GmsCore. -Currently ↵David Christie2014-09-042-0/+16
|\ \ \ \ | |/ / / |/| | | | | | | these methods are called using reflection for location. Bug: 17371392 Change-Id: I6546f5b485415beff69164ba0d526757ee831f69" into lmp-dev
| * | | Add @SystemApi annotations to methods used by GmsCore.David Christie2014-09-042-0/+16
| |/ / | | | | | | | | | | | | | | | -Currently these methods are called using reflection for location. Bug: 17371392 Change-Id: I6546f5b485415beff69164ba0d526757ee831f69
* | | Reload GPS configuration after carrier info is available.Tsuwei Chen2014-08-301-5/+5
|/ / | | | | | | Bug: 17110478 Change-Id: I1ecb71c4ca661df3dfeaea1622d73caeacb1350e
* | Added notification color to all system notificationsSelim Cinek2014-08-201-1/+3
| | | | | | | | | | Bug: 17128331 Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
* | Expose Gps Navigation Messages in the platform.destradaa2014-07-239-70/+646
| | | | | | | | | | | | b/16405976 Change-Id: Ic982ea2467d116585780c20c2fa7e974e50f8345
* | Add uncertainty for GPS received TOW field.destradaa2014-07-221-1/+25
| | | | | | | | | | | | b/16463499 Change-Id: I5dde8a2737d9345eb7f77edc64ab7286254a65e4
* | Update GPS HAL raw measurements support.destradaa2014-07-212-303/+574
| | | | | | | | | | | | | | | | | | | | | | | | | | Align the GPS framework with the GPS HAL b/16374800 Remove localTime field from API b/16241708 Update Property containers for measurements to use bit masks b/16238371 Change-Id: Id4db16c3153d0020bf2edb5a67f59353662762d0
* | Fix exceptions in ActivityRecognition platform stack.destradaa2014-07-172-0/+39
| | | | | | | | | | | | b/16348349 Change-Id: I1f85283c86130b86389a1be7da49904658b0558c
* | Add support in the platform for Activity Recognition Hardware.destradaa2014-07-114-0/+307
| | | | | | | | Change-Id: I7c4fff3526583475a5edf1f4ba8fede4e9419ead
* | Update location framework to accept raw data from GPS HAL.destradaa2014-07-118-7/+1923
| | | | | | | | Change-Id: Ib4feca004b53fa89dcece4299974ab08913455a0
* | am 812de6f6: am dbed61c8: am ca2df286: Merge "Fix typo in the exception ↵Nick Kralevich2014-07-051-1/+1
|\ \ | | | | | | | | | | | | | | | | | | message." * commit '812de6f6d75f71d1c2fd9cd319a78389c5adb703': Fix typo in the exception message.
| * | Fix typo in the exception message.Masaki Muranaka2013-12-111-1/+1
| |/ | | | | | | | | Change-Id: I5e8c089dfd406af40c4eb3aa76af13398c05b7e6 Signed-off-by: Masaki Muranaka <monaka@monami-software.com>
* | Update Location documentation for altitude (WGS84 instead of sea level).David Christie2014-06-171-2/+3
| | | | | | | | Change-Id: I9531fba75bc1fee7d0e7c1dc179e3d05fb3e8a42
* | Make sure FLP HAL statuses currently used are translated (if needed) ↵destradaa2014-04-251-2/+3
| | | | | | | | | | | | | | | | correctly into the framework. b/14118906 Change-Id: I4723a3b9cad99aacc70bd3b7b5b5e034aa6c033d
* | Injected settings no longer include summariesTom O'Neill2014-03-031-35/+20
| | | | | | | | | | | | - Bug: 13279850 Change-Id: I0fd1e60b2a56c45776963c29bbae6f176fdf1bea
* | Seeing if a provider is enabled doesn't require special permissionsTom O'Neill2014-02-281-1/+7
| | | | | | | | | | | | - Bug: 10696351 Change-Id: I4f1612ce10587728e71277587144fdcb59445b3f
* | Tabs -> spaces in frameworks/base.John Spurlock2014-02-251-1/+1
| | | | | | | | Change-Id: I5a84e8e93ac99b5ed0212b37bf66efa5e53864be
* | Remove unused imports from frameworks/base.John Spurlock2013-11-203-5/+0
|/ | | | Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
* Improve some javadoc related to isProviderEnabled() apisTom O'Neill2013-09-111-6/+12
| | | | | | | | - LocationManager.isProviderEnabled() no longer throws SecurityException: the caller could already circumvent the permission check by calling Secure.isLocationProviderEnabled() Change-Id: I5abd04264299671ed35ce4594b5be46d86378767
* Incorporate new API council commentsTom O'Neill2013-09-051-85/+86
| | | | | | | | | | | | | | | | | | | | - Split getStatus() into onGetSummary() and onGetEnabled() - Call them on app's UI thread - Allow runtime exceptions to propagate up - Make a couple of more methods final to prevent subclasses from playing around with the intent - Remove explicit timing requirement from javadoc - Mention that this will be restricted to system-image apps (will be enforced by the actual settings code) - b/10461474 Change-Id: Id22dd7a707c05de396ae4c5810e839ca734714c0
* Add LocationManager.MODE_CHANGED_ACTION broadcastTom O'Neill2013-09-031-1/+13
| | | | | | | | | - Currently redundant with PROVIDERS_CHANGED_ACTION, but that may change in the future - Part of fix for b/10409275 Change-Id: I12daaf20e6546fd9e9dc71c599967fa0ad95e27f
* Improve constant names for settings injection APITom O'Neill2013-08-301-38/+56
| | | | | | | | - Add timing for getStatus() call to encourage implementors to be fast - Affects b/10461474 Change-Id: I503cbae5cf27008c587a39ab4e60d8e09daedecc
* Remove or reduce visibility of deprecated methodsTom O'Neill2013-08-271-20/+1
| | | | | | | | | | | | | | | - Fix additional getInt() path, restores the location settings screen functionality. - Should fix "unresolved link" build breakages in git_klp-dev-plus-aosp-without-vendor, which is much more persnickety than klp-dev for some reason. - Add warning that we may add additional location modes in the future. - Finish fix for b/10461763 and b/10461474 Change-Id: Id7155e3a0d7526a377d446018ef3bdb057bad3a6
* Address API Review for SettingInjectorServiceTom O'Neill2013-08-261-28/+66
| | | | | | | | | | | | | | | | | | | | | | | - Escape < and > in javadoc - Constructor does not take log tag - Start intent rename - Comments for Status.summary and enabled - Bonus fixes: - Start renaming STATUS_KEY to SUMMARY_KEY - Send message back even if getting the status fails so we don't have to wait for the fetch to time out - Add comment about setting activity being invoked when disabled - Partial fix for b/10461474 Change-Id: I025e7e0782c2873a4eda20ab4793bc6145daf8db
* Add a little comment about the enabled valueTom O'Neill2013-08-221-1/+8
| | | | Change-Id: I4ac0b864f55992242b6a3b0d8ffb328f23f6b645
* Warn that SettingInjectorService must be fastTom O'Neill2013-08-191-0/+12
| | | | | | - Move UPDATE_INTENT to SettingInjectorSErvice Change-Id: I9c8f8dc0878647a051cb852721b3436e9d55b391
* Add comments to new hidden API in LocationRequest.David Christie2013-08-161-2/+24
| | | | | | | Document their purpose and permissions required in case this is unhidden in a different code line. Change-Id: I42f6f950157f488cf51b361e3411861ff98794e8
* Merge "Use default class loader when creating a LocationRequest from Parcel. ↵David Christie2013-08-161-1/+1
|\ | | | | | | This seems to be the standard usage, and there are rare reports of requestLocationUpdates giving NullPointerExceptions on the first call to requestLocationUpdates but not on subsequent calls (b/10207898)." into klp-dev
| * Use default class loader when creating a LocationRequest from Parcel.David Christie2013-08-151-1/+1
| | | | | | | | | | | | | | | | This seems to be the standard usage, and there are rare reports of requestLocationUpdates giving NullPointerExceptions on the first call to requestLocationUpdates but not on subsequent calls (b/10207898). Change-Id: If7a873fba5a2cd77b836ff3fda89105da20104ac
* | Ensure LocationRequest's worksource defaults to nullDavid Christie2013-08-161-1/+1
|/ | | | | | | | Helps to make sure the service doesn't throw a SecurityException for not having the UPDATE_DEVICE_STATS permission. Change-Id: I9be0302f1378d2c4441e6b7d5ce472ed0d5fbd80
* Merge "API for location settings injection" into klp-devTom O'Neill2013-08-141-0/+181
|\
| * API for location settings injectionTom O'Neill2013-08-131-0/+181
| | | | | | | | | | | | - Partial fix for b/10287745 Change-Id: Ie998ce0a7b350e4183fce5753bfac3eb51238ff4