/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 | 29 * @param geofenceId The geofence ID of the geofence 37 public void onGeofenceTransition(int geofenceId, int transition, Location location, argument 44 * @param geofenceId The ID of the geofence. 51 public void onGeofenceAdd(int geofenceId, int status) { argument 57 * @param geofenceId The ID of the geofence. 62 public void onGeofenceRemove(int geofenceId, int status) { argument 68 * @param geofenceId The ID of the geofence. 73 public void onGeofencePause(int geofenceId, int status) { argument 79 * @param geofenceId The ID of the geofence. 85 public void onGeofenceResume(int geofenceId, in argument [all...] |
H A D | GeofenceHardwareImpl.java | 213 public boolean addCircularFence(int geofenceId, int monitoringType, double latitude, argument 219 Log.d(TAG, "addCircularFence: GeofenceId: " + geofenceId + " Latitude: " + latitude + 233 mGeofences.put(geofenceId, callback); 240 result = mGpsService.addCircularHardwareGeofence(geofenceId, latitude, 262 new GeofenceHardwareRequestParcelable(geofenceId, request); 281 mGeofences.remove(geofenceId); 289 public boolean removeGeofence(int geofenceId, int monitoringType) { argument 292 if (DEBUG) Log.d(TAG, "Remove Geofence: GeofenceId: " + geofenceId); 296 if (mGeofences.get(geofenceId) == null) { 297 throw new IllegalArgumentException("Geofence " + geofenceId 329 pauseGeofence(int geofenceId, int monitoringType) argument 369 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument 432 reportGeofenceTransition( int geofenceId, Location location, int transition, long transitionTimestamp, int monitoringType, int sourcesUsed) argument 491 reportGeofenceOperationStatus(int operation, int geofenceId, int operationStatus) argument 502 reportGeofenceAddStatus(int geofenceId, int status) argument 510 reportGeofenceRemoveStatus(int geofenceId, int status) argument 518 reportGeofencePauseStatus(int geofenceId, int status) argument 526 reportGeofenceResumeStatus(int geofenceId, int status) argument 743 GeofenceTransition( int geofenceId, int transition, long timestamp, Location location, int monitoringType, int sourcesUsed) argument [all...] |
H A D | GeofenceHardware.java | 231 * @param geofenceId The id associated with the geofence. 241 public boolean addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest argument 245 return mService.addCircularFence(geofenceId, monitoringType, 278 * @param geofenceId The id of the geofence. 283 public boolean removeGeofence(int geofenceId, int monitoringType) { argument 285 return mService.removeGeofence(geofenceId, monitoringType); 308 * @param geofenceId The id of the geofence. 313 public boolean pauseGeofence(int geofenceId, int monitoringType) { argument 315 return mService.pauseGeofence(geofenceId, monitoringType); 338 * @param geofenceId Th 345 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument 473 onGeofenceTransition(int geofenceId, int transition, Location location, long timestamp, int monitoringType) argument 482 onGeofenceAdd(int geofenceId, int status) argument 487 onGeofenceRemove(int geofenceId, int status) argument 495 onGeofencePause(int geofenceId, int status) argument 502 onGeofenceResume(int geofenceId, int status) argument [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | FlpHardwareProvider.java | 139 int geofenceId, 145 geofenceId, 167 private void onGeofenceAdd(int geofenceId, int result) { argument 169 geofenceId, 173 private void onGeofenceRemove(int geofenceId, int result) { argument 175 geofenceId, 179 private void onGeofencePause(int geofenceId, int result) { argument 181 geofenceId, 185 private void onGeofenceResume(int geofenceId, int result) { argument 187 geofenceId, 138 onGeofenceTransition( int geofenceId, Location location, int transition, long timestamp, int sourcesUsed) argument 223 nativePauseGeofence(int geofenceId) argument 224 nativeResumeGeofence(int geofenceId, int monitorTransitions) argument 225 nativeModifyGeofenceOption( int geofenceId, int lastTransition, int monitorTransitions, int notificationResponsiveness, int unknownTimer, int sourcesToUse) argument [all...] |
H A D | GpsLocationProvider.java | 980 public boolean addCircularHardwareGeofence(int geofenceId, double latitude, 983 return native_add_geofence(geofenceId, latitude, longitude, radius, 987 public boolean removeHardwareGeofence(int geofenceId) { 988 return native_remove_geofence(geofenceId); 991 public boolean pauseHardwareGeofence(int geofenceId) { 992 return native_pause_geofence(geofenceId); 995 public boolean resumeHardwareGeofence(int geofenceId, int monitorTransition) { 996 return native_resume_geofence(geofenceId, monitorTransition); 1492 private void reportGeofenceTransition(int geofenceId, int flags, double latitude, argument 1508 geofenceId, 1548 reportGeofenceAddStatus(int geofenceId, int status) argument 1558 reportGeofenceRemoveStatus(int geofenceId, int status) argument 1568 reportGeofencePauseStatus(int geofenceId, int status) argument 1578 reportGeofenceResumeStatus(int geofenceId, int status) argument 1918 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument 1921 native_remove_geofence(int geofenceId) argument 1922 native_resume_geofence(int geofenceId, int transitions) argument 1923 native_pause_geofence(int geofenceId) argument [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_location_FlpHardwareProvider.cpp | 512 int32_t geofenceId, 533 geofenceId, 573 static void GeofenceAddCallback(int32_t geofenceId, int32_t result) { argument 578 sCallbackEnv->CallVoidMethod(sCallbacksObj, sOnGeofenceAdd, geofenceId, result); 582 static void GeofenceRemoveCallback(int32_t geofenceId, int32_t result) { argument 590 geofenceId, 596 static void GeofencePauseCallback(int32_t geofenceId, int32_t result) { argument 604 geofenceId, 610 static void GeofenceResumeCallback(int32_t geofenceId, int32_t result) { argument 618 geofenceId, 511 GeofenceTransitionCallback( int32_t geofenceId, FlpLocation* location, int32_t transition, FlpUtcTime timestamp, uint32_t sourcesUsed ) argument 882 PauseGeofence(JNIEnv* env, jobject object, jint geofenceId) argument 890 ResumeGeofence( JNIEnv* env, jobject object, jint geofenceId, jint monitorTransitions) argument 902 ModifyGeofenceOption( JNIEnv* env, jobject object, jint geofenceId, jint lastTransition, jint monitorTransitions, jint notificationResponsiveness, jint unknownTimer, jint sourcesToUse) argument [all...] |