Home
last modified time | relevance | path

Searched refs:geofenceId (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareImpl.java258 int geofenceId = request.getId(); in addCircularFence() local
276 mGeofences.put(geofenceId, callback); in addCircularFence()
319 mGeofences.remove(geofenceId); in addCircularFence()
327 public boolean removeGeofence(int geofenceId, int monitoringType) { in removeGeofence() argument
330 if (DEBUG) Log.d(TAG, "Remove Geofence: GeofenceId: " + geofenceId); in removeGeofence()
334 if (mGeofences.get(geofenceId) == null) { in removeGeofence()
335 throw new IllegalArgumentException("Geofence " + geofenceId + " not registered."); in removeGeofence()
342 result = mGpsService.removeHardwareGeofence(geofenceId); in removeGeofence()
353 mFusedService.removeGeofences(new int[] { geofenceId }); in removeGeofence()
367 public boolean pauseGeofence(int geofenceId, int monitoringType) { in pauseGeofence() argument
[all …]
DGeofenceHardware.java267 public boolean addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest in addGeofence() argument
273 new GeofenceHardwareRequestParcelable(geofenceId, geofenceRequest), in addGeofence()
305 public boolean removeGeofence(int geofenceId, int monitoringType) { in removeGeofence() argument
307 return mService.removeGeofence(geofenceId, monitoringType); in removeGeofence()
335 public boolean pauseGeofence(int geofenceId, int monitoringType) { in pauseGeofence() argument
337 return mService.pauseGeofence(geofenceId, monitoringType); in pauseGeofence()
367 public boolean resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) { in resumeGeofence() argument
369 return mService.resumeGeofence(geofenceId, monitoringType, monitorTransition); in resumeGeofence()
506 public void onGeofenceTransition(int geofenceId, int transition, Location location, in onGeofenceTransition() argument
510 c.onGeofenceTransition(geofenceId, transition, location, timestamp, in onGeofenceTransition()
[all …]
DIGeofenceHardwareCallback.aidl23 void onGeofenceTransition(int geofenceId, int transition, in Location location, in onGeofenceTransition() argument
25 void onGeofenceAdd(int geofenceId, int status); in onGeofenceAdd() argument
26 void onGeofenceRemove(int geofenceId, int status); in onGeofenceRemove() argument
27 void onGeofencePause(int geofenceId, int status); in onGeofencePause() argument
28 void onGeofenceResume(int geofenceId, int status); in onGeofenceResume() argument
DGeofenceHardwareCallback.java41 public void onGeofenceTransition(int geofenceId, int transition, Location location, in onGeofenceTransition() argument
55 public void onGeofenceAdd(int geofenceId, int status) { in onGeofenceAdd() argument
66 public void onGeofenceRemove(int geofenceId, int status) { in onGeofenceRemove() argument
77 public void onGeofencePause(int geofenceId, int status) { in onGeofencePause() argument
89 public void onGeofenceResume(int geofenceId, int status) { in onGeofenceResume() argument
/frameworks/base/services/core/java/com/android/server/location/
DFlpHardwareProvider.java213 int geofenceId, in onGeofenceTransition() argument
221 geofenceId, in onGeofenceTransition()
257 private void onGeofenceAdd(int geofenceId, int result) { in onGeofenceAdd() argument
259 geofenceId, in onGeofenceAdd()
263 private void onGeofenceRemove(int geofenceId, int result) { in onGeofenceRemove() argument
265 geofenceId, in onGeofenceRemove()
269 private void onGeofencePause(int geofenceId, int result) { in onGeofencePause() argument
271 geofenceId, in onGeofencePause()
275 private void onGeofenceResume(int geofenceId, int result) { in onGeofenceResume() argument
277 geofenceId, in onGeofenceResume()
[all …]
DGnssLocationProvider.java1306 public boolean addCircularHardwareGeofence(int geofenceId, double latitude,
1309 return native_add_geofence(geofenceId, latitude, longitude, radius,
1313 public boolean removeHardwareGeofence(int geofenceId) {
1314 return native_remove_geofence(geofenceId);
1317 public boolean pauseHardwareGeofence(int geofenceId) {
1318 return native_pause_geofence(geofenceId);
1321 public boolean resumeHardwareGeofence(int geofenceId, int monitorTransition) {
1322 return native_resume_geofence(geofenceId, monitorTransition);
1785 private void reportGeofenceTransition(int geofenceId, int flags, double latitude,
1801 geofenceId,
[all …]
/frameworks/base/location/java/android/location/
DIGpsGeofenceHardware.aidl27 boolean addCircularHardwareGeofence(int geofenceId, double latitude, double in addCircularHardwareGeofence() argument
30 boolean removeHardwareGeofence(int geofenceId); in removeHardwareGeofence() argument
31 boolean pauseHardwareGeofence(int geofenceId); in pauseHardwareGeofence() argument
32 boolean resumeHardwareGeofence(int geofenceId, int monitorTransition); in resumeHardwareGeofence() argument
DIFusedGeofenceHardware.aidl58 void pauseMonitoringGeofence(in int geofenceId); in pauseMonitoringGeofence() argument
69 void resumeMonitoringGeofence(in int geofenceId, in int monitorTransitions); in resumeMonitoringGeofence() argument
87 in int geofenceId, in modifyGeofenceOptions() argument
/frameworks/base/services/core/jni/
Dcom_android_server_location_FlpHardwareProvider.cpp631 int32_t geofenceId, in GeofenceTransitionCallback() argument
652 geofenceId, in GeofenceTransitionCallback()
692 static void GeofenceAddCallback(int32_t geofenceId, int32_t result) { in GeofenceAddCallback() argument
697 sCallbackEnv->CallVoidMethod(sCallbacksObj, sOnGeofenceAdd, geofenceId, result); in GeofenceAddCallback()
701 static void GeofenceRemoveCallback(int32_t geofenceId, int32_t result) { in GeofenceRemoveCallback() argument
709 geofenceId, in GeofenceRemoveCallback()
715 static void GeofencePauseCallback(int32_t geofenceId, int32_t result) { in GeofencePauseCallback() argument
723 geofenceId, in GeofencePauseCallback()
729 static void GeofenceResumeCallback(int32_t geofenceId, int32_t result) { in GeofenceResumeCallback() argument
737 geofenceId, in GeofenceResumeCallback()
[all …]