Methods Summary |
---|
private void | checkPermission(int pid, int uid, int monitoringType)
if (mGeofenceHardwareImpl.getAllowedResolutionLevel(pid, uid) <
mGeofenceHardwareImpl.getMonitoringResolutionLevel(monitoringType)) {
throw new SecurityException("Insufficient permissions to access hardware geofence for"
+ " type: " + monitoringType);
}
|
public android.os.IBinder | onBind(android.content.Intent intent)
return mBinder;
|
public void | onCreate()
mContext = this;
mGeofenceHardwareImpl = GeofenceHardwareImpl.getInstance(mContext);
|
public void | onDestroy()
mGeofenceHardwareImpl = null;
|
public boolean | onUnbind(android.content.Intent intent)
return false;
|