Searched refs:geofence (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/docs/html/training/location/ |
D | geofencing.jd | 42 location, you add a radius. The latitude, longitude, and radius define a geofence, creating a 46 You can have multiple active geofences, with a limit of 100 per device user. For each geofence, 48 duration within the geofence area to wait, or <em>dwell</em>, before triggering an event. You 49 can limit the duration of any geofence by specifying an expiration duration in milliseconds. 50 After the geofence expires, Location Services automatically removes it. 53 <img src="{@docRoot}images/training/geofence@2x.png" 54 srcset="{@docRoot}images/training/geofence.png 1x, {@docRoot}images/training/geofence@2x.png 2x" al… 57 This lesson shows you how to add and remove geofences, and then listen for geofence transitions 72 The first step in requesting geofence monitoring is to request the necessary permission. 84 If you want to use an {@link android.app.IntentService} to listen for geofence transitions, [all …]
|
D | index.jd | 2 page.tags=location,geofence,geofencing,activity recognition,activity detection,gps 100 called geofences, and detect when the user is close to or inside a geofence.
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GeofenceManager.java | 119 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, in addFence() argument 122 Slog.d(TAG, "addFence: request=" + request + ", geofence=" + geofence in addFence() 126 GeofenceState state = new GeofenceState(geofence, in addFence() 132 if (geofence.equals(w.mFence) && intent.equals(w.mIntent)) { in addFence()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_FlpHardwareProvider.cpp | 388 Geofence& geofence) { in TranslateGeofenceFromGeofenceHardwareRequestParcelable() argument 392 geofence.geofence_id = env->CallIntMethod(geofenceRequestObject, getId); in TranslateGeofenceFromGeofenceHardwareRequestParcelable() 401 geofence.data->type = type; in TranslateGeofenceFromGeofenceHardwareRequestParcelable() 402 GeofenceCircle& circle = geofence.data->geofence.circle; in TranslateGeofenceFromGeofenceHardwareRequestParcelable() 419 GeofenceOptions* options = geofence.options; in TranslateGeofenceFromGeofenceHardwareRequestParcelable()
|
/frameworks/base/location/java/android/location/ |
D | ILocationManager.aidl | 45 void requestGeofence(in LocationRequest request, in Geofence geofence, in requestGeofence() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 1836 public void requestGeofence(LocationRequest request, Geofence geofence, PendingIntent intent, in requestGeofence() argument 1847 if (D) Log.d(TAG, "requestGeofence: " + sanitizedRequest + " " + geofence + " " + intent); in requestGeofence() 1859 mGeofenceManager.addFence(sanitizedRequest, geofence, intent, allowedResolutionLevel, in requestGeofence() 1867 public void removeGeofence(Geofence geofence, PendingIntent intent, String packageName) { in removeGeofence() argument 1871 if (D) Log.d(TAG, "removeGeofence: " + geofence + " " + intent); in removeGeofence() 1876 mGeofenceManager.removeFence(geofence, intent); in removeGeofence()
|
/frameworks/base/docs/html/about/versions/ |
D | jelly-bean.jd | 258 geofence APIs will be able to take advantage of this optimization to save
|