Home
last modified time | relevance | path

Searched refs:geofenceId (Results 1 – 8 of 8) 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.java268 public boolean addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest in addGeofence() argument
274 new GeofenceHardwareRequestParcelable(geofenceId, geofenceRequest), in addGeofence()
306 public boolean removeGeofence(int geofenceId, int monitoringType) { in removeGeofence() argument
308 return mService.removeGeofence(geofenceId, monitoringType); in removeGeofence()
336 public boolean pauseGeofence(int geofenceId, int monitoringType) { in pauseGeofence() argument
338 return mService.pauseGeofence(geofenceId, monitoringType); in pauseGeofence()
368 public boolean resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) { in resumeGeofence() argument
370 return mService.resumeGeofence(geofenceId, monitoringType, monitorTransition); in resumeGeofence()
507 public void onGeofenceTransition(int geofenceId, int transition, Location location, in onGeofenceTransition() argument
511 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/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_GnssLocationProvider.cpp486 int32_t geofenceId,
493 Return<void> gnssGeofenceAddCb(int32_t geofenceId,
495 Return<void> gnssGeofenceRemoveCb(int32_t geofenceId,
497 Return<void> gnssGeofencePauseCb(int32_t geofenceId,
499 Return<void> gnssGeofenceResumeCb(int32_t geofenceId,
504 int32_t geofenceId, in gnssGeofenceTransitionCb() argument
514 geofenceId, in gnssGeofenceTransitionCb()
538 Return<void> GnssGeofenceCallback::gnssGeofenceAddCb(int32_t geofenceId, in gnssGeofenceAddCb() argument
547 geofenceId, in gnssGeofenceAddCb()
553 Return<void> GnssGeofenceCallback::gnssGeofenceRemoveCb(int32_t geofenceId, in gnssGeofenceRemoveCb() argument
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java1354 public boolean addCircularHardwareGeofence(int geofenceId, double latitude,
1357 return native_add_geofence(geofenceId, latitude, longitude, radius,
1361 public boolean removeHardwareGeofence(int geofenceId) {
1362 return native_remove_geofence(geofenceId);
1365 public boolean pauseHardwareGeofence(int geofenceId) {
1366 return native_pause_geofence(geofenceId);
1369 public boolean resumeHardwareGeofence(int geofenceId, int monitorTransition) {
1370 return native_resume_geofence(geofenceId, monitorTransition);
1880 private void reportGeofenceTransition(int geofenceId, Location location, int transition,
1887 geofenceId,
[all …]