Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareImpl.java219 int geofenceId = request.getId(); in addCircularFence() local
237 mGeofences.put(geofenceId, callback); in addCircularFence()
280 mGeofences.remove(geofenceId); in addCircularFence()
288 public boolean removeGeofence(int geofenceId, int monitoringType) { in removeGeofence() argument
291 if (DEBUG) Log.d(TAG, "Remove Geofence: GeofenceId: " + geofenceId); in removeGeofence()
295 if (mGeofences.get(geofenceId) == null) { in removeGeofence()
296 throw new IllegalArgumentException("Geofence " + geofenceId + " not registered."); in removeGeofence()
303 result = mGpsService.removeHardwareGeofence(geofenceId); in removeGeofence()
314 mFusedService.removeGeofences(new int[] { geofenceId }); in removeGeofence()
328 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.java144 int geofenceId, in onGeofenceTransition() argument
152 geofenceId, in onGeofenceTransition()
188 private void onGeofenceAdd(int geofenceId, int result) { in onGeofenceAdd() argument
190 geofenceId, in onGeofenceAdd()
194 private void onGeofenceRemove(int geofenceId, int result) { in onGeofenceRemove() argument
196 geofenceId, in onGeofenceRemove()
200 private void onGeofencePause(int geofenceId, int result) { in onGeofencePause() argument
202 geofenceId, in onGeofencePause()
206 private void onGeofenceResume(int geofenceId, int result) { in onGeofenceResume() argument
208 geofenceId, in onGeofenceResume()
[all …]
DGpsLocationProvider.java1233 public boolean addCircularHardwareGeofence(int geofenceId, double latitude,
1236 return native_add_geofence(geofenceId, latitude, longitude, radius,
1240 public boolean removeHardwareGeofence(int geofenceId) {
1241 return native_remove_geofence(geofenceId);
1244 public boolean pauseHardwareGeofence(int geofenceId) {
1245 return native_pause_geofence(geofenceId);
1248 public boolean resumeHardwareGeofence(int geofenceId, int monitorTransition) {
1249 return native_resume_geofence(geofenceId, monitorTransition);
1710 private void reportGeofenceTransition(int geofenceId, int flags, double latitude, in reportGeofenceTransition() argument
1726 geofenceId, in reportGeofenceTransition()
[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.cpp553 int32_t geofenceId, in GeofenceTransitionCallback() argument
574 geofenceId, in GeofenceTransitionCallback()
614 static void GeofenceAddCallback(int32_t geofenceId, int32_t result) { in GeofenceAddCallback() argument
619 sCallbackEnv->CallVoidMethod(sCallbacksObj, sOnGeofenceAdd, geofenceId, result); in GeofenceAddCallback()
623 static void GeofenceRemoveCallback(int32_t geofenceId, int32_t result) { in GeofenceRemoveCallback() argument
631 geofenceId, in GeofenceRemoveCallback()
637 static void GeofencePauseCallback(int32_t geofenceId, int32_t result) { in GeofencePauseCallback() argument
645 geofenceId, in GeofencePauseCallback()
651 static void GeofenceResumeCallback(int32_t geofenceId, int32_t result) { in GeofenceResumeCallback() argument
659 geofenceId, in GeofenceResumeCallback()
[all …]
/frameworks/base/docs/html/training/location/
Dgeofencing.jd273 * @param geofenceId The Geofence's request ID
281 String geofenceId,
288 this.mId = geofenceId;