Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/hardware/location/
H A 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,
110 public boolean removeGeofence(int id, int monitoringType) {
115 return mGeofenceHardwareImpl.removeGeofence(id, monitoringType);
120 public boolean pauseGeofence(int id, int monitoringType) {
125 return mGeofenceHardwareImpl.pauseGeofence(id, monitoringType);
[all …]
H A DGeofenceHardwareImpl.java229 if (monitoringType >= mSupportedMonitorTypes.length || monitoringType < 0) { in getStatusOfMonitoringType()
256 int monitoringType, in addCircularFence() argument
280 switch (monitoringType) { in addCircularFence()
455 m.arg1 = monitoringType; in registerForMonitorStateChangeCallback()
463 m.arg1 = monitoringType; in unregisterForMonitorStateChangeCallback()
476 int monitoringType, in reportGeofenceTransition() argument
495 monitoringType, in reportGeofenceTransition()
509 int monitoringType, in reportGeofenceMonitorStatus() argument
516 monitoringType, in reportGeofenceMonitorStatus()
708 int monitoringType;
[all …]
H A DGeofenceHardware.java212 public int getStatusOfMonitoringType(int monitoringType) { in getStatusOfMonitoringType() argument
214 return mService.getStatusOfMonitoringType(monitoringType); in getStatusOfMonitoringType()
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()
400 public boolean registerForMonitorStateChangeCallback(int monitoringType, in registerForMonitorStateChangeCallback() argument
428 public boolean unregisterForMonitorStateChangeCallback(int monitoringType, in unregisterForMonitorStateChangeCallback() argument
510 long timestamp, int monitoringType) { in onGeofenceTransition() argument
[all …]
H A 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
H A DGeofenceHardwareMonitorEvent.java38 int monitoringType, in GeofenceHardwareMonitorEvent() argument
42 mMonitoringType = monitoringType; in GeofenceHardwareMonitorEvent()
81 int monitoringType = source.readInt();
87 monitoringType,
H A DGeofenceHardwareMonitorCallback.java44 public void onMonitoringSystemChange(int monitoringType, boolean available, Location location) { in onMonitoringSystemChange() argument
H A DIGeofenceHardwareCallback.aidl24 long timestamp, int monitoringType); in onGeofenceTransition() argument
H A DGeofenceHardwareCallback.java42 long timestamp, int monitoringType) { in onGeofenceTransition() argument