/frameworks/base/core/java/android/hardware/location/ |
H A D | IGeofenceHardware.aidl | 29 int getStatusOfMonitoringType(int monitoringType); 30 boolean addCircularFence(int id, int monitoringType, double lat, double longitude, 33 boolean removeGeofence(int id, int monitoringType); 34 boolean pauseGeofence(int id, int monitoringType); 35 boolean resumeGeofence(int id, int monitoringType, int monitorTransitions); 36 boolean registerForMonitorStateChangeCallback(int monitoringType, 38 boolean unregisterForMonitorStateChangeCallback(int monitoringType,
|
H A D | GeofenceHardwareMonitorCallback.java | 31 * @param monitoringType The type of the monitoring system. 35 public void onMonitoringSystemChange(int monitoringType, boolean available, Location location) { argument
|
H A D | GeofenceHardwareService.java | 59 private void checkPermission(int pid, int uid, int monitoringType) { argument 61 mGeofenceHardwareImpl.getMonitoringResolutionLevel(monitoringType)) { 63 + " type: " + monitoringType); 83 public int getStatusOfMonitoringType(int monitoringType) { 87 return mGeofenceHardwareImpl.getStatusOfMonitoringType(monitoringType); 89 public boolean addCircularFence(int id, int monitoringType, double lat, double longitude, 94 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 95 return mGeofenceHardwareImpl.addCircularFence(id, monitoringType, lat, longitude, 100 public boolean removeGeofence(int id, int monitoringType) { 104 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); [all...] |
H A D | IGeofenceHardwareMonitorCallback.aidl | 23 void onMonitoringSystemChange(int monitoringType, boolean available, in Location location);
|
H A D | GeofenceHardwareImpl.java | 204 public int getStatusOfMonitoringType(int monitoringType) { argument 206 if (monitoringType >= mSupportedMonitorTypes.length || monitoringType < 0) { 209 return mSupportedMonitorTypes[monitoringType]; 213 public boolean addCircularFence(int geofenceId, int monitoringType, double latitude, argument 223 " UnKnown Timer: " + unknownTimer + " MonitoringType: " + monitoringType); 236 switch (monitoringType) { 277 m.arg1 = monitoringType; 289 public boolean removeGeofence(int geofenceId, int monitoringType) { argument 300 switch (monitoringType) { 329 pauseGeofence(int geofenceId, int monitoringType) argument 369 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument 408 registerForMonitorStateChangeCallback(int monitoringType, IGeofenceHardwareMonitorCallback callback) argument 421 unregisterForMonitorStateChangeCallback(int monitoringType, IGeofenceHardwareMonitorCallback callback) argument 432 reportGeofenceTransition( int geofenceId, Location location, int transition, long transitionTimestamp, int monitoringType, int sourcesUsed) argument 469 reportGeofenceMonitorStatus( int monitoringType, int monitoringStatus, Location location, int source) argument 743 GeofenceTransition( int geofenceId, int transition, long timestamp, Location location, int monitoringType, int sourcesUsed) argument 766 getMonitoringResolutionLevel(int monitoringType) argument 781 Reaper(IGeofenceHardwareCallback c, int monitoringType) argument 786 Reaper(IGeofenceHardwareMonitorCallback c, int monitoringType) argument [all...] |
H A D | GeofenceHardware.java | 180 * @param monitoringType 183 public int getStatusOfMonitoringType(int monitoringType) { argument 185 return mService.getStatusOfMonitoringType(monitoringType); 232 * @param monitoringType The type of the hardware subsystem that should be used 241 public boolean addGeofence(int geofenceId, int monitoringType, GeofenceHardwareRequest argument 245 return mService.addCircularFence(geofenceId, monitoringType, 279 * @param monitoringType The type of the hardware subsystem that should be used 283 public boolean removeGeofence(int geofenceId, int monitoringType) { argument 285 return mService.removeGeofence(geofenceId, monitoringType); 309 * @param monitoringType Th 313 pauseGeofence(int geofenceId, int monitoringType) argument 345 resumeGeofence(int geofenceId, int monitoringType, int monitorTransition) argument 375 registerForMonitorStateChangeCallback(int monitoringType, GeofenceHardwareMonitorCallback callback) argument 403 unregisterForMonitorStateChangeCallback(int monitoringType, GeofenceHardwareMonitorCallback callback) argument 459 onMonitoringSystemChange(int monitoringType, boolean available, Location location) argument 473 onGeofenceTransition(int geofenceId, int transition, Location location, long timestamp, int monitoringType) argument [all...] |
H A D | IGeofenceHardwareCallback.aidl | 24 long timestamp, int monitoringType);
|
H A D | GeofenceHardwareCallback.java | 35 * @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
|