Searched defs:geofence (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
H A DGeofenceManager.java119 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, argument
122 Slog.d(TAG, "addFence: request=" + request + ", geofence=" + geofence
126 GeofenceState state = new GeofenceState(geofence,
132 if (geofence.equals(w.mFence) && intent.equals(w.mIntent)) {
234 * The geofence update loop. This function removes expired fences, then tests the most
261 Slog.d(TAG, "skipping geofence processing for blacklisted app: "
272 Slog.d(TAG, "skipping geofence processing for no op app: "
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_FlpHardwareProvider.cpp388 Geofence& geofence) {
392 geofence.geofence_id = env->CallIntMethod(geofenceRequestObject, getId);
396 // the same notion of geofence types
401 geofence.data->type = type;
402 GeofenceCircle& circle = geofence.data->geofence.circle;
419 GeofenceOptions* options = geofence.options;
385 TranslateGeofenceFromGeofenceHardwareRequestParcelable( JNIEnv* env, jobject geofenceRequestObject, Geofence& geofence) argument
/frameworks/base/services/core/java/com/android/server/
H A DLocationManagerService.java562 // bind to geofence provider
1843 public void requestGeofence(LocationRequest request, Geofence geofence, PendingIntent intent, argument
1854 if (D) Log.d(TAG, "requestGeofence: " + sanitizedRequest + " " + geofence + " " + intent);
1866 mGeofenceManager.addFence(sanitizedRequest, geofence, intent, allowedResolutionLevel,
1874 public void removeGeofence(Geofence geofence, PendingIntent intent, String packageName) { argument
1878 if (D) Log.d(TAG, "removeGeofence: " + geofence + " " + intent);
1883 mGeofenceManager.removeFence(geofence, intent);

Completed in 79 milliseconds