/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 | 258 * @param geofenceId The id associated with the geofence. 268 public boolean addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest argument 274 new GeofenceHardwareRequestParcelable(geofenceId, geofenceRequest), 301 * @param geofenceId The id of the geofence. 306 public boolean removeGeofence(int geofenceId, int monitoringType) { argument 308 return mService.removeGeofence(geofenceId, monitoringType); 331 * @param geofenceId The id of the geofence. 336 public boolean pauseGeofence(int geofenceId, int monitoringType) { argument 338 return mService.pauseGeofence(geofenceId, monitoringType); 361 * @param geofenceId Th 368 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument 507 onGeofenceTransition(int geofenceId, int transition, Location location, long timestamp, int monitoringType) argument 516 onGeofenceAdd(int geofenceId, int status) argument 521 onGeofenceRemove(int geofenceId, int status) argument 529 onGeofencePause(int geofenceId, int status) argument 536 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 | GnssGeofenceProvider.java | 26 public int geofenceId; field in class:GnssGeofenceProvider.GeofenceEntry 59 boolean added = mNative.addGeofence(entry.geofenceId, entry.latitude, 65 mNative.pauseGeofence(entry.geofenceId); 88 public boolean addCircularHardwareGeofence(int geofenceId, double latitude, argument 92 boolean added = mNative.addGeofence(geofenceId, latitude, longitude, radius, 97 entry.geofenceId = geofenceId; 105 mGeofenceEntries.put(geofenceId, entry); 112 public boolean removeHardwareGeofence(int geofenceId) { argument 114 boolean removed = mNative.removeGeofence(geofenceId); 123 pauseHardwareGeofence(int geofenceId) argument 137 resumeHardwareGeofence(int geofenceId, int monitorTransitions) argument 157 addGeofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition, int monitorTransitions, int notificationResponsiveness, int unknownTimer) argument 164 removeGeofence(int geofenceId) argument 168 resumeGeofence(int geofenceId, int transitions) argument 172 pauseGeofence(int geofenceId) argument 179 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition, int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument 183 native_remove_geofence(int geofenceId) argument 185 native_resume_geofence(int geofenceId, int transitions) argument 187 native_pause_geofence(int geofenceId) argument [all...] |
H A D | GnssLocationProvider.java | 2047 private void reportGeofenceTransition(int geofenceId, Location location, int transition, argument 2054 geofenceId, 2083 private void reportGeofenceAddStatus(int geofenceId, int status) { argument 2087 mGeofenceHardwareImpl.reportGeofenceAddStatus(geofenceId, getGeofenceStatus(status)); 2093 private void reportGeofenceRemoveStatus(int geofenceId, int status) { argument 2097 mGeofenceHardwareImpl.reportGeofenceRemoveStatus(geofenceId, getGeofenceStatus(status)); 2103 private void reportGeofencePauseStatus(int geofenceId, int status) { argument 2107 mGeofenceHardwareImpl.reportGeofencePauseStatus(geofenceId, getGeofenceStatus(status)); 2113 private void reportGeofenceResumeStatus(int geofenceId, int status) { argument 2117 mGeofenceHardwareImpl.reportGeofenceResumeStatus(geofenceId, getGeofenceStatu [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_location_GnssLocationProvider.cpp | 588 int32_t geofenceId, 595 Return<void> gnssGeofenceAddCb(int32_t geofenceId, 597 Return<void> gnssGeofenceRemoveCb(int32_t geofenceId, 599 Return<void> gnssGeofencePauseCb(int32_t geofenceId, 601 Return<void> gnssGeofenceResumeCb(int32_t geofenceId, 606 int32_t geofenceId, 616 geofenceId, 642 Return<void> GnssGeofenceCallback::gnssGeofenceAddCb(int32_t geofenceId, argument 651 geofenceId, 657 Return<void> GnssGeofenceCallback::gnssGeofenceRemoveCb(int32_t geofenceId, argument 605 gnssGeofenceTransitionCb( int32_t geofenceId, const GnssLocation& location, GeofenceTransition transition, hardware::gnss::V1_0::GnssUtcTime timestamp) argument 671 gnssGeofencePauseCb(int32_t geofenceId, GeofenceStatus status) argument 685 gnssGeofenceResumeCb(int32_t geofenceId, GeofenceStatus status) argument 1756 android_location_GnssGeofenceProvider_add_geofence(JNIEnv* , jobject , jint geofenceId, jdouble latitude, jdouble longitude, jdouble radius, jint last_transition, jint monitor_transition, jint notification_responsiveness, jint unknown_timer) argument 1772 android_location_GnssGeofenceProvider_remove_geofence(JNIEnv* , jobject , jint geofenceId) argument 1783 android_location_GnssGeofenceProvider_pause_geofence(JNIEnv* , jobject , jint geofenceId) argument 1794 android_location_GnssGeofenceProvider_resume_geofence(JNIEnv* , jobject , jint geofenceId, jint monitor_transition) argument [all...] |