History log of /frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b80844001442bde6189015b01dc9c6f87a898560 14-Apr-2015 David Christie <dnchrist@google.com> Ensure GeofenceHardware will return capabilities for old implementations.

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
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
cfc9b6d6ab3c622ea4f9d06c28d6e0d2055d98e1 14-Apr-2015 David Christie <dnchrist@google.com> Add versioning to FLP HAL.

Retain compatibility with implementations compiled
against old headers or left unchanged from LMP.

Change-Id: I3f7cfaaf0cba8697c312940a805b053c6040caa6
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
ffca45a2cdd778e6edd5c3959bf53c6192b7e035 12-Apr-2015 David Christie <dnchrist@google.com> Add capability callback for FLP HAL.

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
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
1414a6291dd2cb70f32106cdd272764537d8dfcd 15-Mar-2015 Andreas Gampe <agampe@google.com> Frameworks/base: Fix format string in Geofence

%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
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
4cc80a758c3e4f044c2e53b6210df0e515536a1b 03-Dec-2014 Zhentao Sun <robinvane@google.com> Fixed a leak in GeofenceHardwareImpl.java.

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
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
c2b74b73a11b0a9aa4f29b28554292cc0947464b 31-Jul-2014 Wonsik Kim <wonsik@google.com> Fix NPE when fused geofence hardware is not available.

b/16690237

Change-Id: I3ac50c8fd50fc799afcfc76126a5fd0c9ba0a5f4
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.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/core/java/android/hardware/location/GeofenceHardwareImpl.java
7f02eb2c84c0a39e6357aca10a4fda1dd090a8a6 20-Sep-2013 destradaa <destradaa@google.com> Ensure access to the map of geofence callbacks is synchronized in all cases
Fix Java reference leak in the JNI layer

Bug: 10624887
Change-Id: I656973653d82c73a7ba2b51f22989ffed144c5df
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
0682809ad08db284d7110aab44108d5e9c310e6b 13-Aug-2013 destradaa <destradaa@google.com> Add support in the platform for Flp Geofencing.

Change-Id: I0fb0e276d3a06322697bb5d46323779aca1f78c5
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
b8061be81c7a7cf87f4edc7ea48a8fd464363a61 14-May-2013 Zhentao Sun <robinvane@google.com> Passed the correct gps geofence availability value to client.

Fixed b/8967427.

Change-Id: If205b963533f096c27985476a5d487a2d090ccf8
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
cfa496f7cdc52711e9ad7521224f67d1aaee002c 06-May-2013 Zhentao Sun <robinvane@google.com> Fixed unreleased wake lock isues and NPE.

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
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
f8f085c51b5f8b180ad964d0385b34f8fa97cd32 26-Apr-2013 Zhentao Sun <robinvane@google.com> Fixed race conditions in GeofenceHardwareImpl.

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
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
da6508954a492f3dd4397e70e4fa08ee54bd2741 17-Apr-2013 Jaikumar Ganesh <jaikumar@google.com> Hardware geofence API changes.

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
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
8ce470dd4ba0608abb6b5eae117cefca927af96b 03-Apr-2013 Jaikumar Ganesh <jaikumar@google.com> GPS Hardware geofencing.

Add support for doing geofencing in hardware.

Change-Id: I6d5015190e8d84e1f4beb1010ed977a71c1622d0
/frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java