| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Ensure that activities are unregistered from AR HW when the client's
binder dies. This clean up is required to prevent AR HW to keep active
when there are no clients listening for events.
Bug: 19894637
Change-Id: Iccd609cf1d2d4a4453c7a96cb8645b61639c3234
|
| |/
|
|
|
|
|
|
|
| |
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.
Bug: 17112184
Change-Id: I8f9459cbd15eecd70f6919c6551e6f7a663c732f
|
| |
|
|
|
|
|
|
|
|
| |
New FLP HAL implementations will explicitly return their capabilities,
but old versions won't (the implicit capability in old versions was
GNNS). Ensure that the getCapabilities feature of GeofenceHardware
will return GNNS for old binaries, so GmsCore doesn't have to worry
about versioning.
Change-Id: I4b1c942b0d68d87bfbb18b8c06fd9d8b8f68efa6
|
| |
|
|
|
|
|
| |
Retain compatibility with implementations compiled
against old headers or left unchanged from LMP.
Change-Id: I3f7cfaaf0cba8697c312940a805b053c6040caa6
|
| |
|
|
|
|
|
|
|
| |
Currently GmsCore has to guess how many locations to retrieve
based on requested frequency and then demux the output looking
for timestamps (that aren't monotonically increasing). This
capability gives GmsCore a more graceful solution.
Change-Id: Ie1d71615f699bc0d3c63f8b80aa7b40b9971cf96
|
| |
|
|
|
|
|
| |
-Allows GmsCore to know when location is unsuccessful so
it can switch to a SW solution.
Change-Id: I3d1df7b828f7fb189446881eea87d9a952310614
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Let HAL implementation tell if geofencing/batching is
supported and which technologies (GNNS, wifi, etc)
can be used.
Still todo: Add ability for GmsCore geofencing to
tell which technologies are supported (instead of
just using it to update monitoring). This requires
SystemApi change + approval so will do in separate CL.
Note that the classes in the lib are not copied
directly into GmsCore. The instance will always
be whatever is in the platform. This is why
the callback is backwards compatible as long as
their is a default implementation (but not if
it's abstract).
Change-Id: I7d6adeb049b89935bc4443785df5d7ef4c730e5d
|
| |
|
|
|
|
|
|
| |
%p is not a valid conversion in format strings. It is also superfluous,
as it is already known that location is null.
Bug: 19797138
Change-Id: I5784e28b05b4ca9aac57e0fc9da4a7f01d9b3247
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 18542685.
This CL includes two changes:
* Fixed a leak of DeathRecipient when geofences are removed from the
hardware.
* Avoid creating more DeathRecipient than needed. Use the underlying
binder object instead of the callback object to tell if they are the
same. So if the client passes the same callback instance to
GeofenceHardwareImpl, only one DeathRecipient is created.
Change-Id: I7809e4bc04df4f9e3590de98a03178b276c821ea
|
| |
|
|
| |
Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
|
| |
|
|
|
|
| |
b/17008446
Change-Id: Id3f92dd03309324d3343c87da8c3e30733d06a64
|
| |
|
|
|
| |
b/16690237
Change-Id: I3ac50c8fd50fc799afcfc76126a5fd0c9ba0a5f4
|
| |
|
|
|
|
|
|
|
|
| |
Support setting the source when adding geofences.
b/14117199
Surface the source when FLP geofence changes state.
b/14119200
Change-Id: I50dc40a9caee400594e1778c98e284e0db0d5e66
|
| |
|
|
|
|
| |
b/16348349
Change-Id: I1f85283c86130b86389a1be7da49904658b0558c
|
| |
|
|
| |
Change-Id: I7c4fff3526583475a5edf1f4ba8fede4e9419ead
|
| |
|
|
| |
Change-Id: I6e73692064a9f58eeac6ba1118c37ac500df0d9f
|
| |
|
|
|
|
|
|
| |
correctly into the framework.
b/14118906
Change-Id: I4723a3b9cad99aacc70bd3b7b5b5e034aa6c033d
|
| |
|
|
| |
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
|
| |
|
|
|
|
|
| |
Fix Java reference leak in the JNI layer
Bug: 10624887
Change-Id: I656973653d82c73a7ba2b51f22989ffed144c5df
|
| |
|
|
| |
Change-Id: I0fb0e276d3a06322697bb5d46323779aca1f78c5
|
| |
|
|
| |
Change-Id: Ia3a57d869dfb3f067a1b95fa66d54f311ddcfdc3
|
| |
|
|
|
|
| |
Fixed b/8967427.
Change-Id: If205b963533f096c27985476a5d487a2d090ccf8
|
| |
|
|
|
|
|
| |
Fixed b/8834502. Wake lock might not be released when the callback is null.
NPE is thrown when the callback is null in some cases too.
Change-Id: I27d3af810669e446cfb57aba8715c80cba3e15e7
|
| |
|
|
|
|
|
|
|
|
| |
Fixed b/8725226
1. Check if a geofence is registered before calling removeGeofence,
pauseGeofence and resumeGeofence
2. Moved add/remove operation of mGeofences from handler thread to
binder thread to fix potential race conditions by REMOVE_GEOFENCE.
Change-Id: I1c68a49ac4a08324c13702ba9013d2adf031aed9
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
b/8631678
1.GeofenceRequest object created.
2.MonitorState moved to a new callback
3.getTypeAndStatus separated to 2 calls.
4.Binder death implemented
5.geofenceChange callback name changed.
6.Parameters rearranged in some calls.
Change-Id: I8fe9621186aeb49efeb0eef1821a2556afe03cfc
|
|
|
Add support for doing geofencing in hardware.
Change-Id: I6d5015190e8d84e1f4beb1010ed977a71c1622d0
|