/frameworks/base/location/java/android/location/ |
H A D | IGpsGeofenceHardware.aidl | 27 boolean addCircularHardwareGeofence(int geofenceId, double latitude, double 30 boolean removeHardwareGeofence(int geofenceId); 31 boolean pauseHardwareGeofence(int geofenceId); 32 boolean resumeHardwareGeofence(int geofenceId, int monitorTransition);
|
H A D | IFusedGeofenceHardware.aidl | 56 * @param geofenceId The geofence to pause monitoring. 58 void pauseMonitoringGeofence(in int geofenceId); 69 void resumeMonitoringGeofence(in int geofenceId, in int monitorTransitions); 75 * @param geofenceId The geofence to modify. 87 in int geofenceId,
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | IGeofenceHardwareCallback.aidl | 23 void onGeofenceTransition(int geofenceId, int transition, in Location location, 25 void onGeofenceAdd(int geofenceId, int status); 26 void onGeofenceRemove(int geofenceId, int status); 27 void onGeofencePause(int geofenceId, int status); 28 void onGeofenceResume(int geofenceId, int status);
|
H A D | GeofenceHardwareCallback.java | 33 * @param geofenceId The geofence ID of the geofence 41 public void onGeofenceTransition(int geofenceId, int transition, Location location, argument 48 * @param geofenceId The ID of the geofence. 55 public void onGeofenceAdd(int geofenceId, int status) { argument 61 * @param geofenceId The ID of the geofence. 66 public void onGeofenceRemove(int geofenceId, int status) { argument 72 * @param geofenceId The ID of the geofence. 77 public void onGeofencePause(int geofenceId, int status) { argument 83 * @param geofenceId The ID of the geofence. 89 public void onGeofenceResume(int geofenceId, in argument [all...] |
H A D | GeofenceHardware.java | 257 * @param geofenceId The id associated with the geofence. 267 public boolean addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest argument 273 new GeofenceHardwareRequestParcelable(geofenceId, geofenceRequest), 300 * @param geofenceId The id of the geofence. 305 public boolean removeGeofence(int geofenceId, int monitoringType) { argument 307 return mService.removeGeofence(geofenceId, monitoringType); 330 * @param geofenceId The id of the geofence. 335 public boolean pauseGeofence(int geofenceId, int monitoringType) { argument 337 return mService.pauseGeofence(geofenceId, monitoringType); 360 * @param geofenceId Th 367 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument 506 onGeofenceTransition(int geofenceId, int transition, Location location, long timestamp, int monitoringType) argument 515 onGeofenceAdd(int geofenceId, int status) argument 520 onGeofenceRemove(int geofenceId, int status) argument 528 onGeofencePause(int geofenceId, int status) argument 535 onGeofenceResume(int geofenceId, int status) argument [all...] |
H A D | GeofenceHardwareImpl.java | 219 int geofenceId = request.getId(); 237 mGeofences.put(geofenceId, callback); 280 mGeofences.remove(geofenceId); 288 public boolean removeGeofence(int geofenceId, int monitoringType) { argument 291 if (DEBUG) Log.d(TAG, "Remove Geofence: GeofenceId: " + geofenceId); 295 if (mGeofences.get(geofenceId) == null) { 296 throw new IllegalArgumentException("Geofence " + geofenceId + " not registered."); 303 result = mGpsService.removeHardwareGeofence(geofenceId); 314 mFusedService.removeGeofences(new int[] { geofenceId }); 328 public boolean pauseGeofence(int geofenceId, in argument 368 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument 431 reportGeofenceTransition( int geofenceId, Location location, int transition, long transitionTimestamp, int monitoringType, int sourcesUsed) argument 492 reportGeofenceOperationStatus(int operation, int geofenceId, int operationStatus) argument 503 reportGeofenceAddStatus(int geofenceId, int status) argument 511 reportGeofenceRemoveStatus(int geofenceId, int status) argument 519 reportGeofencePauseStatus(int geofenceId, int status) argument 527 reportGeofenceResumeStatus(int geofenceId, int status) argument 767 GeofenceTransition( int geofenceId, int transition, long timestamp, Location location, int monitoringType, int sourcesUsed) argument [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | FlpHardwareProvider.java | 144 int geofenceId, 152 geofenceId, 188 private void onGeofenceAdd(int geofenceId, int result) { argument 190 geofenceId, 194 private void onGeofenceRemove(int geofenceId, int result) { argument 196 geofenceId, 200 private void onGeofencePause(int geofenceId, int result) { argument 202 geofenceId, 206 private void onGeofenceResume(int geofenceId, int result) { argument 208 geofenceId, 143 onGeofenceTransition( int geofenceId, Location location, int transition, long timestamp, int sourcesUsed) argument 244 nativePauseGeofence(int geofenceId) argument 245 nativeResumeGeofence(int geofenceId, int monitorTransitions) argument 246 nativeModifyGeofenceOption( int geofenceId, int lastTransition, int monitorTransitions, int notificationResponsiveness, int unknownTimer, int sourcesToUse) argument [all...] |
H A D | GpsLocationProvider.java | 1233 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, argument 1726 geofenceId, 1766 reportGeofenceAddStatus(int geofenceId, int status) argument 1776 reportGeofenceRemoveStatus(int geofenceId, int status) argument 1786 reportGeofencePauseStatus(int geofenceId, int status) argument 1796 reportGeofenceResumeStatus(int geofenceId, int status) argument 2213 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument 2216 native_remove_geofence(int geofenceId) argument 2217 native_resume_geofence(int geofenceId, int transitions) argument 2218 native_pause_geofence(int geofenceId) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_location_FlpHardwareProvider.cpp | 553 int32_t geofenceId, 574 geofenceId, 614 static void GeofenceAddCallback(int32_t geofenceId, int32_t result) { argument 619 sCallbackEnv->CallVoidMethod(sCallbacksObj, sOnGeofenceAdd, geofenceId, result); 623 static void GeofenceRemoveCallback(int32_t geofenceId, int32_t result) { argument 631 geofenceId, 637 static void GeofencePauseCallback(int32_t geofenceId, int32_t result) { argument 645 geofenceId, 651 static void GeofenceResumeCallback(int32_t geofenceId, int32_t result) { argument 659 geofenceId, 552 GeofenceTransitionCallback( int32_t geofenceId, FlpLocation* location, int32_t transition, FlpUtcTime timestamp, uint32_t sourcesUsed ) argument 888 PauseGeofence(JNIEnv* env, jobject object, jint geofenceId) argument 896 ResumeGeofence( JNIEnv* env, jobject object, jint geofenceId, jint monitorTransitions) argument 908 ModifyGeofenceOption( JNIEnv* env, jobject object, jint geofenceId, jint lastTransition, jint monitorTransitions, jint notificationResponsiveness, jint unknownTimer, jint sourcesToUse) argument [all...] |