/frameworks/base/core/java/android/hardware/location/ |
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 | 258 int geofenceId = request.getId(); 276 mGeofences.put(geofenceId, callback); 319 mGeofences.remove(geofenceId); 327 public boolean removeGeofence(int geofenceId, int monitoringType) { argument 330 if (DEBUG) Log.d(TAG, "Remove Geofence: GeofenceId: " + geofenceId); 334 if (mGeofences.get(geofenceId) == null) { 335 throw new IllegalArgumentException("Geofence " + geofenceId + " not registered."); 342 result = mGpsService.removeHardwareGeofence(geofenceId); 353 mFusedService.removeGeofences(new int[] { geofenceId }); 367 public boolean pauseGeofence(int geofenceId, in argument 407 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument 470 reportGeofenceTransition( int geofenceId, Location location, int transition, long transitionTimestamp, int monitoringType, int sourcesUsed) argument 531 reportGeofenceOperationStatus(int operation, int geofenceId, int operationStatus) argument 542 reportGeofenceAddStatus(int geofenceId, int status) argument 550 reportGeofenceRemoveStatus(int geofenceId, int status) argument 558 reportGeofencePauseStatus(int geofenceId, int status) argument 566 reportGeofenceResumeStatus(int geofenceId, int status) argument 806 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 | 213 int geofenceId, 221 geofenceId, 257 private void onGeofenceAdd(int geofenceId, int result) { argument 259 geofenceId, 263 private void onGeofenceRemove(int geofenceId, int result) { argument 265 geofenceId, 269 private void onGeofencePause(int geofenceId, int result) { argument 271 geofenceId, 275 private void onGeofenceResume(int geofenceId, int result) { argument 277 geofenceId, 212 onGeofenceTransition( int geofenceId, Location location, int transition, long timestamp, int sourcesUsed) argument 317 nativePauseGeofence(int geofenceId) argument 318 nativeResumeGeofence(int geofenceId, int monitorTransitions) argument 319 nativeModifyGeofenceOption( int geofenceId, int lastTransition, int monitorTransitions, int notificationResponsiveness, int unknownTimer, int sourcesToUse) argument [all...] |
H A D | GnssLocationProvider.java | 1306 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, argument 1801 geofenceId, 1841 reportGeofenceAddStatus(int geofenceId, int status) argument 1851 reportGeofenceRemoveStatus(int geofenceId, int status) argument 1861 reportGeofencePauseStatus(int geofenceId, int status) argument 1871 reportGeofenceResumeStatus(int geofenceId, int status) argument 2467 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument 2470 native_remove_geofence(int geofenceId) argument 2471 native_resume_geofence(int geofenceId, int transitions) argument 2472 native_pause_geofence(int geofenceId) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_location_FlpHardwareProvider.cpp | 631 int32_t geofenceId, 652 geofenceId, 692 static void GeofenceAddCallback(int32_t geofenceId, int32_t result) { argument 697 sCallbackEnv->CallVoidMethod(sCallbacksObj, sOnGeofenceAdd, geofenceId, result); 701 static void GeofenceRemoveCallback(int32_t geofenceId, int32_t result) { argument 709 geofenceId, 715 static void GeofencePauseCallback(int32_t geofenceId, int32_t result) { argument 723 geofenceId, 729 static void GeofenceResumeCallback(int32_t geofenceId, int32_t result) { argument 737 geofenceId, 630 GeofenceTransitionCallback( int32_t geofenceId, FlpLocation* location, int32_t transition, FlpUtcTime timestamp, uint32_t sourcesUsed ) argument 978 PauseGeofence(JNIEnv* env, jobject , jint geofenceId) argument 986 ResumeGeofence( JNIEnv* env, jobject , jint geofenceId, jint monitorTransitions) argument 998 ModifyGeofenceOption( JNIEnv* env, jobject , jint geofenceId, jint lastTransition, jint monitorTransitions, jint notificationResponsiveness, jint unknownTimer, jint sourcesToUse) argument [all...] |