/frameworks/base/location/java/android/location/ |
Geofence.aidl | 19 parcelable Geofence;
|
Geofence.java | 23 * Represents a geographical boundary, also known as a geofence. 29 public final class Geofence implements Parcelable { 39 * Create a circular geofence (on a flat, horizontal plane). 44 * @return a new geofence 47 public static Geofence createCircle(double latitude, double longitude, float radius) { 48 return new Geofence(latitude, longitude, radius); 51 private Geofence(double latitude, double longitude, float radius) { 101 public static final Parcelable.Creator<Geofence> CREATOR = new Parcelable.Creator<Geofence>() { 103 public Geofence createFromParcel(Parcel in) [all...] |
ILocationManager.aidl | 23 import android.location.Geofence; 44 void requestGeofence(in LocationRequest request, in Geofence geofence, 46 void removeGeofence(in Geofence fence, in PendingIntent intent, String packageName);
|
LocationManager.java | [all...] |
/frameworks/base/services/java/com/android/server/location/ |
GeofenceState.java | 21 import android.location.Geofence; 25 * Represents state associated with a geofence 35 public final Geofence mFence; 46 public GeofenceState(Geofence fence, long expireAt,
|
GeofenceManager.java | 28 import android.location.Geofence; 119 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, 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)) { 143 public void removeFence(Geofence fence, PendingIntent intent) { 234 * The geofence update loop. This function removes expired fences, then tests the most 261 Slog.d(TAG, "skipping geofence processing for blacklisted app: [all...] |
/hardware/libhardware/include/hardware/ |
fused_location.h | 432 * There are 3 states associated with a Geofence: Inside, Outside, Unknown. 449 * Inside state: We are 95% confident that the user is inside the geofence. 450 * Outside state: We are 95% confident that the user is outside the geofence 465 * whether it is inside or outside the geofence. If the accuracy remains the 472 * outside the Geofence. It moves to Unknown state only after the expiry of the 475 * The geofence callback needs to be triggered for the ENTERED and EXITED 477 * (Inside state) or exited (Outside state) the Geofence. An implementation 488 * appropriate (ENTERED or EXITED) transition for every Geofence it knows about. 494 * UNKNOWN transition described above is per geofence. 505 * The callback associated with the geofence 621 } geofence; member in struct:__anon31097 [all...] |
/frameworks/base/services/jni/ |
com_android_server_location_FlpHardwareProvider.cpp | 268 * Helper function to unwrap Geofence structures from the Java Runtime calls. 273 Geofence& geofence) { 277 geofence.geofence_id = env->CallIntMethod(geofenceRequestObject, getId); 281 // the same notion of geofence types 286 geofence.data->type = type; 287 GeofenceCircle& circle = geofence.data->geofence.circle; 304 GeofenceOptions* options = geofence.options; 858 Geofence* geofences = new Geofence[geofenceRequestsCount] [all...] |
/frameworks/base/docs/html/ |
gms_navtree_data.js | 47 , null ], [ "com.google.android.gms.location", "reference/com/google/android/gms/location/package-summary.html", [ [ "Interfaces", null, [ [ "Geofence", "reference/com/google/android/gms/location/Geofence.html", null, null ], [ "LocationClient.OnAddGeofencesResultListener", "reference/com/google/android/gms/location/LocationClient.OnAddGeofencesResultListener.html", null, null ], [ "LocationClient.OnRemoveGeofencesResultListener", "reference/com/google/android/gms/location/LocationClient.OnRemoveGeofencesResultListener.html", null, null ], [ "LocationListener", "reference/com/google/android/gms/location/LocationListener.html", null, null ] ] 48 , null ], [ "Classes", null, [ [ "ActivityRecognitionClient", "reference/com/google/android/gms/location/ActivityRecognitionClient.html", null, null ], [ "ActivityRecognitionResult", "reference/com/google/android/gms/location/ActivityRecognitionResult.html", null, null ], [ "DetectedActivity", "reference/com/google/android/gms/location/DetectedActivity.html", null, null ], [ "Geofence.Builder", "reference/com/google/android/gms/location/Geofence.Builder.html", null, null ], [ "LocationClient", "reference/com/google/android/gms/location/LocationClient.html", null, null ], [ "LocationRequest", "reference/com/google/android/gms/location/LocationRequest.html", null, null ], [ "LocationStatusCodes", "reference/com/google/android/gms/location/LocationStatusCodes.html", null, null ] ]
|
/frameworks/base/services/java/com/android/server/ |
LocationManagerService.java | 37 import android.location.Geofence; 437 // bind to geofence provider 446 Slog.e(TAG, "no geofence provider found"); [all...] |
/frameworks/base/ |
Android.mk | 394 frameworks/base/location/java/android/location/Geofence.aidl \ [all...] |