Home
last modified time | relevance | path

Searched refs:monitoringType (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareService.java59 private void checkPermission(int pid, int uid, int monitoringType) { in checkPermission() argument
61 mGeofenceHardwareImpl.getMonitoringResolutionLevel(monitoringType)) { in checkPermission()
63 + " type: " + monitoringType); in checkPermission()
83 public int getStatusOfMonitoringType(int monitoringType) {
87 return mGeofenceHardwareImpl.getStatusOfMonitoringType(monitoringType);
90 int monitoringType,
95 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
96 return mGeofenceHardwareImpl.addCircularFence(monitoringType, request, callback);
99 public boolean removeGeofence(int id, int monitoringType) {
103 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
[all …]
DGeofenceHardware.java209 public int getStatusOfMonitoringType(int monitoringType) { in getStatusOfMonitoringType() argument
211 return mService.getStatusOfMonitoringType(monitoringType); in getStatusOfMonitoringType()
267 public boolean addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest in addGeofence() argument
272 monitoringType, in addGeofence()
305 public boolean removeGeofence(int geofenceId, int monitoringType) { in removeGeofence() argument
307 return mService.removeGeofence(geofenceId, monitoringType); in removeGeofence()
335 public boolean pauseGeofence(int geofenceId, int monitoringType) { in pauseGeofence() argument
337 return mService.pauseGeofence(geofenceId, monitoringType); in pauseGeofence()
367 public boolean resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) { in resumeGeofence() argument
369 return mService.resumeGeofence(geofenceId, monitoringType, monitorTransition); in resumeGeofence()
[all …]
DGeofenceHardwareImpl.java206 public int getStatusOfMonitoringType(int monitoringType) { in getStatusOfMonitoringType() argument
208 if (monitoringType >= mSupportedMonitorTypes.length || monitoringType < 0) { in getStatusOfMonitoringType()
211 return mSupportedMonitorTypes[monitoringType]; in getStatusOfMonitoringType()
216 int monitoringType, in addCircularFence() argument
226 monitoringType, in addCircularFence()
240 switch (monitoringType) { in addCircularFence()
276 m.arg1 = monitoringType; in addCircularFence()
288 public boolean removeGeofence(int geofenceId, int monitoringType) { in removeGeofence() argument
299 switch (monitoringType) { in removeGeofence()
328 public boolean pauseGeofence(int geofenceId, int monitoringType) { in pauseGeofence() argument
[all …]
DIGeofenceHardware.aidl30 int getStatusOfMonitoringType(int monitoringType); in getStatusOfMonitoringType() argument
32 int monitoringType, in addCircularFence() argument
35 boolean removeGeofence(int id, int monitoringType); in removeGeofence() argument
36 boolean pauseGeofence(int id, int monitoringType); in pauseGeofence() argument
37 boolean resumeGeofence(int id, int monitoringType, int monitorTransitions); in resumeGeofence() argument
38 boolean registerForMonitorStateChangeCallback(int monitoringType, in registerForMonitorStateChangeCallback() argument
40 boolean unregisterForMonitorStateChangeCallback(int monitoringType, in unregisterForMonitorStateChangeCallback() argument
DGeofenceHardwareMonitorEvent.java37 int monitoringType, in GeofenceHardwareMonitorEvent() argument
41 mMonitoringType = monitoringType; in GeofenceHardwareMonitorEvent()
80 int monitoringType = source.readInt();
86 monitoringType,
DGeofenceHardwareMonitorCallback.java44 public void onMonitoringSystemChange(int monitoringType, boolean available, Location location) { in onMonitoringSystemChange() argument
DIGeofenceHardwareCallback.aidl24 long timestamp, int monitoringType); in onGeofenceTransition() argument
DGeofenceHardwareCallback.java42 long timestamp, int monitoringType) { in onGeofenceTransition() argument