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

/frameworks/base/core/java/android/hardware/location/
H A DIGeofenceHardware.aidl27 int getStatusOfMonitoringType(int monitoringType);
28 boolean addCircularFence(int id, int monitoringType, double lat, double longitude,
31 boolean removeGeofence(int id, int monitoringType);
32 boolean pauseGeofence(int id, int monitoringType);
33 boolean resumeGeofence(int id, int monitoringType, int monitorTransitions);
34 boolean registerForMonitorStateChangeCallback(int monitoringType,
36 boolean unregisterForMonitorStateChangeCallback(int monitoringType,
H A DGeofenceHardwareService.java58 private void checkPermission(int pid, int uid, int monitoringType) { argument
60 mGeofenceHardwareImpl.getMonitoringResolutionLevel(monitoringType)) {
62 + " type: " + monitoringType);
78 public int getStatusOfMonitoringType(int monitoringType) {
82 return mGeofenceHardwareImpl.getStatusOfMonitoringType(monitoringType);
84 public boolean addCircularFence(int id, int monitoringType, double lat, double longitude,
89 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
90 return mGeofenceHardwareImpl.addCircularFence(id, monitoringType, lat, longitude,
95 public boolean removeGeofence(int id, int monitoringType) {
99 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
[all...]
H A DGeofenceHardwareMonitorCallback.java31 * @param monitoringType The type of the monitoring system.
35 public void onMonitoringSystemChange(int monitoringType, boolean available, Location location) { argument
H A DIGeofenceHardwareMonitorCallback.aidl23 void onMonitoringSystemChange(int monitoringType, boolean available, in Location location);
H A DGeofenceHardware.java174 * @param monitoringType
177 public int getStatusOfMonitoringType(int monitoringType) { argument
179 return mService.getStatusOfMonitoringType(monitoringType);
226 * @param monitoringType The type of the hardware subsystem that should be used
235 public boolean addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest argument
239 return mService.addCircularFence(geofenceId, monitoringType,
273 * @param monitoringType The type of the hardware subsystem that should be used
277 public boolean removeGeofence(int geofenceId, int monitoringType) { argument
279 return mService.removeGeofence(geofenceId, monitoringType);
303 * @param monitoringType Th
307 pauseGeofence(int geofenceId, int monitoringType) argument
339 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument
369 registerForMonitorStateChangeCallback(int monitoringType, GeofenceHardwareMonitorCallback callback) argument
397 unregisterForMonitorStateChangeCallback(int monitoringType, GeofenceHardwareMonitorCallback callback) argument
453 onMonitoringSystemChange(int monitoringType, boolean available, Location location) argument
467 onGeofenceTransition(int geofenceId, int transition, Location location, long timestamp, int monitoringType) argument
[all...]
H A DIGeofenceHardwareCallback.aidl24 long timestamp, int monitoringType);
H A DGeofenceHardwareCallback.java35 * @param monitoringType Type of the monitoring system.
38 long timestamp, int monitoringType) {
37 onGeofenceTransition(int geofenceId, int transition, Location location, long timestamp, int monitoringType) argument
H A DGeofenceHardwareImpl.java172 public int getStatusOfMonitoringType(int monitoringType) { argument
174 if (monitoringType >= mSupportedMonitorTypes.length || monitoringType < 0) {
177 return mSupportedMonitorTypes[monitoringType];
181 public boolean addCircularFence(int geofenceId, int monitoringType, double latitude, argument
191 " UnKnown Timer: " + unknownTimer + " MonitoringType: " + monitoringType);
204 switch (monitoringType) {
221 m.arg1 = monitoringType;
233 public boolean removeGeofence(int geofenceId, int monitoringType) { argument
244 switch (monitoringType) {
261 pauseGeofence(int geofenceId, int monitoringType) argument
289 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument
316 registerForMonitorStateChangeCallback(int monitoringType, IGeofenceHardwareMonitorCallback callback) argument
329 unregisterForMonitorStateChangeCallback(int monitoringType, IGeofenceHardwareMonitorCallback callback) argument
685 getMonitoringResolutionLevel(int monitoringType) argument
698 Reaper(IGeofenceHardwareCallback c, int monitoringType) argument
703 Reaper(IGeofenceHardwareMonitorCallback c, int monitoringType) argument
[all...]

Completed in 934 milliseconds