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()
87 public int getStatusOfMonitoringType(int monitoringType) {
91 return mGeofenceHardwareImpl.getStatusOfMonitoringType(monitoringType);
96 int monitoringType,
101 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
102 return mGeofenceHardwareImpl.addCircularFence(monitoringType, request, callback);
106 public boolean removeGeofence(int id, int monitoringType) {
110 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
[all …]
DGeofenceHardwareImpl.java226 public int getStatusOfMonitoringType(int monitoringType) { in getStatusOfMonitoringType() argument
228 if (monitoringType >= mSupportedMonitorTypes.length || monitoringType < 0) { in getStatusOfMonitoringType()
231 return mSupportedMonitorTypes[monitoringType]; in getStatusOfMonitoringType()
235 public int getCapabilitiesForMonitoringType(int monitoringType) { in getCapabilitiesForMonitoringType() argument
236 switch (mSupportedMonitorTypes[monitoringType]) { in getCapabilitiesForMonitoringType()
238 switch (monitoringType) { in getCapabilitiesForMonitoringType()
255 int monitoringType, in addCircularFence() argument
265 monitoringType, in addCircularFence()
279 switch (monitoringType) { in addCircularFence()
315 m.arg1 = monitoringType; in addCircularFence()
[all …]
DGeofenceHardware.java212 public int getStatusOfMonitoringType(int monitoringType) { in getStatusOfMonitoringType() argument
214 return mService.getStatusOfMonitoringType(monitoringType); in getStatusOfMonitoringType()
270 public boolean addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest in addGeofence() argument
275 monitoringType, in addGeofence()
308 public boolean removeGeofence(int geofenceId, int monitoringType) { in removeGeofence() argument
310 return mService.removeGeofence(geofenceId, monitoringType); in removeGeofence()
338 public boolean pauseGeofence(int geofenceId, int monitoringType) { in pauseGeofence() argument
340 return mService.pauseGeofence(geofenceId, monitoringType); in pauseGeofence()
370 public boolean resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) { in resumeGeofence() argument
372 return mService.resumeGeofence(geofenceId, monitoringType, monitorTransition); in resumeGeofence()
[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.java38 int monitoringType, in GeofenceHardwareMonitorEvent() argument
42 mMonitoringType = monitoringType; in GeofenceHardwareMonitorEvent()
81 int monitoringType = source.readInt();
87 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