Searched refs:geofenceId (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/location/java/android/location/
H A DIGpsGeofenceHardware.aidl27 boolean addCircularHardwareGeofence(int geofenceId, double latitude, double
30 boolean removeHardwareGeofence(int geofenceId);
31 boolean pauseHardwareGeofence(int geofenceId);
32 boolean resumeHardwareGeofence(int geofenceId, int monitorTransition);
/frameworks/base/core/java/android/hardware/location/
H A DIGeofenceHardwareCallback.aidl23 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 DGeofenceHardwareCallback.java29 * @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 DGeofenceHardwareImpl.java181 public boolean addCircularFence(int geofenceId, int monitoringType, double latitude, argument
187 Log.d(TAG, "addCircularFence: GeofenceId: " + geofenceId + " Latitude: " + latitude +
201 mGeofences.put(geofenceId, callback);
208 result = mGpsService.addCircularHardwareGeofence(geofenceId, latitude,
225 mGeofences.remove(geofenceId);
233 public boolean removeGeofence(int geofenceId, int monitoringType) { argument
236 if (DEBUG) Log.d(TAG, "Remove Geofence: GeofenceId: " + geofenceId);
240 if (mGeofences.get(geofenceId) == null) {
241 throw new IllegalArgumentException("Geofence " + geofenceId + " not registered.");
248 result = mGpsService.removeHardwareGeofence(geofenceId);
261 pauseGeofence(int geofenceId, int monitoringType) argument
289 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument
376 reportGpsGeofenceTransition(int geofenceId, int flags, double latitude, double longitude, double altitude, float speed, float bearing, float accuracy, long timestamp, int transition, long transitionTimestamp) argument
415 reportGpsGeofenceAddStatus(int geofenceId, int status) argument
427 reportGpsGeofenceRemoveStatus(int geofenceId, int status) argument
439 reportGpsGeofencePauseStatus(int geofenceId, int status) argument
451 reportGpsGeofenceResumeStatus(int geofenceId, int status) argument
670 GeofenceTransition(int geofenceId, int transition, long timestamp, Location location) argument
[all...]
H A DGeofenceHardware.java225 * @param geofenceId The id associated with the geofence.
235 public boolean addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest argument
239 return mService.addCircularFence(geofenceId, monitoringType,
272 * @param geofenceId The id of the geofence.
277 public boolean removeGeofence(int geofenceId, int monitoringType) { argument
279 return mService.removeGeofence(geofenceId, monitoringType);
302 * @param geofenceId The id of the geofence.
307 public boolean pauseGeofence(int geofenceId, int monitoringType) { argument
309 return mService.pauseGeofence(geofenceId, monitoringType);
332 * @param geofenceId Th
339 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument
467 onGeofenceTransition(int geofenceId, int transition, Location location, long timestamp, int monitoringType) argument
476 onGeofenceAdd(int geofenceId, int status) argument
481 onGeofenceRemove(int geofenceId, int status) argument
489 onGeofencePause(int geofenceId, int status) argument
496 onGeofenceResume(int geofenceId, int status) argument
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java951 public boolean addCircularHardwareGeofence(int geofenceId, double latitude,
954 return native_add_geofence(geofenceId, latitude, longitude, radius,
958 public boolean removeHardwareGeofence(int geofenceId) {
959 return native_remove_geofence(geofenceId);
962 public boolean pauseHardwareGeofence(int geofenceId) {
963 return native_pause_geofence(geofenceId);
966 public boolean resumeHardwareGeofence(int geofenceId, int monitorTransition) {
967 return native_resume_geofence(geofenceId, monitorTransition);
1407 private void reportGeofenceTransition(int geofenceId, int flags, double latitude, argument
1413 mGeofenceHardwareImpl.reportGpsGeofenceTransition(geofenceId, flag
1433 reportGeofenceAddStatus(int geofenceId, int status) argument
1443 reportGeofenceRemoveStatus(int geofenceId, int status) argument
1453 reportGeofencePauseStatus(int geofenceId, int status) argument
1463 reportGeofenceResumeStatus(int geofenceId, int status) argument
1803 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument
1806 native_remove_geofence(int geofenceId) argument
1807 native_resume_geofence(int geofenceId, int transitions) argument
1808 native_pause_geofence(int geofenceId) argument
[all...]

Completed in 122 milliseconds