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()
89 public int getStatusOfMonitoringType(int monitoringType) {
93 return mGeofenceHardwareImpl.getStatusOfMonitoringType(monitoringType);
99 int monitoringType,
104 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
105 return mGeofenceHardwareImpl.addCircularFence(monitoringType, request, callback);
110 public boolean removeGeofence(int id, int monitoringType) {
114 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
[all …]
DGeofenceHardwareImpl.java227 public int getStatusOfMonitoringType(int monitoringType) { in getStatusOfMonitoringType() argument
229 if (monitoringType >= mSupportedMonitorTypes.length || monitoringType < 0) { in getStatusOfMonitoringType()
232 return mSupportedMonitorTypes[monitoringType]; in getStatusOfMonitoringType()
236 public int getCapabilitiesForMonitoringType(int monitoringType) { in getCapabilitiesForMonitoringType() argument
237 switch (mSupportedMonitorTypes[monitoringType]) { in getCapabilitiesForMonitoringType()
239 switch (monitoringType) { in getCapabilitiesForMonitoringType()
256 int monitoringType, in addCircularFence() argument
266 monitoringType, in addCircularFence()
280 switch (monitoringType) { in addCircularFence()
316 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.aidl32 int getStatusOfMonitoringType(int monitoringType); in getStatusOfMonitoringType() argument
35 int monitoringType, in addCircularFence() argument
39 boolean removeGeofence(int id, int monitoringType); in removeGeofence() argument
41 boolean pauseGeofence(int id, int monitoringType); in pauseGeofence() argument
43 boolean resumeGeofence(int id, int monitoringType, int monitorTransitions); in resumeGeofence() argument
45 boolean registerForMonitorStateChangeCallback(int monitoringType, in registerForMonitorStateChangeCallback() argument
48 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