History log of /frameworks/base/core/java/android/hardware/location/GeofenceHardwareImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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