/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 | 214 int geofenceId, 222 geofenceId, 258 private void onGeofenceAdd(int geofenceId, int result) { argument 260 geofenceId, 264 private void onGeofenceRemove(int geofenceId, int result) { argument 266 geofenceId, 270 private void onGeofencePause(int geofenceId, int result) { argument 272 geofenceId, 276 private void onGeofenceResume(int geofenceId, int result) { argument 278 geofenceId, 213 onGeofenceTransition( int geofenceId, Location location, int transition, long timestamp, int sourcesUsed) argument 319 nativePauseGeofence(int geofenceId) argument 320 nativeResumeGeofence(int geofenceId, int monitorTransitions) argument 321 nativeModifyGeofenceOption( int geofenceId, int lastTransition, int monitorTransitions, int notificationResponsiveness, int unknownTimer, int sourcesToUse) argument [all...] |
H A D | GpsLocationProvider.java | 1210 public boolean addCircularHardwareGeofence(int geofenceId, double latitude, 1213 return native_add_geofence(geofenceId, latitude, longitude, radius, 1217 public boolean removeHardwareGeofence(int geofenceId) { 1218 return native_remove_geofence(geofenceId); 1221 public boolean pauseHardwareGeofence(int geofenceId) { 1222 return native_pause_geofence(geofenceId); 1225 public boolean resumeHardwareGeofence(int geofenceId, int monitorTransition) { 1226 return native_resume_geofence(geofenceId, monitorTransition); 1685 private void reportGeofenceTransition(int geofenceId, int flags, double latitude, argument 1701 geofenceId, 1741 reportGeofenceAddStatus(int geofenceId, int status) argument 1751 reportGeofenceRemoveStatus(int geofenceId, int status) argument 1761 reportGeofencePauseStatus(int geofenceId, int status) argument 1771 reportGeofenceResumeStatus(int geofenceId, int status) argument 2300 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument 2303 native_remove_geofence(int geofenceId) argument 2304 native_resume_geofence(int geofenceId, int transitions) argument 2305 native_pause_geofence(int geofenceId) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_location_FlpHardwareProvider.cpp | 617 int32_t geofenceId, 638 geofenceId, 678 static void GeofenceAddCallback(int32_t geofenceId, int32_t result) { argument 683 sCallbackEnv->CallVoidMethod(sCallbacksObj, sOnGeofenceAdd, geofenceId, result); 687 static void GeofenceRemoveCallback(int32_t geofenceId, int32_t result) { argument 695 geofenceId, 701 static void GeofencePauseCallback(int32_t geofenceId, int32_t result) { argument 709 geofenceId, 715 static void GeofenceResumeCallback(int32_t geofenceId, int32_t result) { argument 723 geofenceId, 616 GeofenceTransitionCallback( int32_t geofenceId, FlpLocation* location, int32_t transition, FlpUtcTime timestamp, uint32_t sourcesUsed ) argument 974 PauseGeofence(JNIEnv* env, jobject , jint geofenceId) argument 982 ResumeGeofence( JNIEnv* env, jobject , jint geofenceId, jint monitorTransitions) argument 994 ModifyGeofenceOption( JNIEnv* env, jobject , jint geofenceId, jint lastTransition, jint monitorTransitions, jint notificationResponsiveness, jint unknownTimer, jint sourcesToUse) argument [all...] |