Home
last modified time | relevance | path

Searched refs:Geofence (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/location/java/android/location/
DGeofence.java29 public final class Geofence implements Parcelable { class
47 public static Geofence createCircle(double latitude, double longitude, float radius) { in createCircle()
48 return new Geofence(latitude, longitude, radius); in createCircle()
51 private Geofence(double latitude, double longitude, float radius) { in Geofence() method in Geofence
101 public static final Parcelable.Creator<Geofence> CREATOR = new Parcelable.Creator<Geofence>() {
103 public Geofence createFromParcel(Parcel in) {
109 return Geofence.createCircle(latitude, longitude, radius);
112 public Geofence[] newArray(int size) {
113 return new Geofence[size];
169 if (!(obj instanceof Geofence)) in equals()
[all …]
DILocationManager.aidl23 import android.location.Geofence;
45 void requestGeofence(in LocationRequest request, in Geofence geofence, in requestGeofence()
47 void removeGeofence(in Geofence fence, in PendingIntent intent, String packageName); in removeGeofence()
DGeofence.aidl19 parcelable Geofence;
DLocationManager.java970 Geofence fence = Geofence.createCircle(latitude, longitude, radius); in addProximityAlert()
1015 public void addGeofence(LocationRequest request, Geofence fence, PendingIntent intent) { in addGeofence()
1069 public void removeGeofence(Geofence fence, PendingIntent intent) { in removeGeofence()
1716 private static void checkGeofence(Geofence fence) { in checkGeofence()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceState.java21 import android.location.Geofence;
35 public final Geofence mFence;
46 public GeofenceState(Geofence fence, long expireAt, in GeofenceState()
DGeofenceManager.java28 import android.location.Geofence;
119 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, in addFence()
143 public void removeFence(Geofence fence, PendingIntent intent) { in removeFence()
/frameworks/base/docs/html/training/location/
Dgeofencing.jd12 <li><a href="#RequestGeofences">Request Geofence Monitoring</a></li>
13 <li><a href="#HandleGeofenceTransitions">Handle Geofence Transitions</a></li>
14 <li><a href="#StopGeofenceMonitoring">Stop Geofence Monitoring</a></li>
50 <h2 id="RequestGeofences">Request Geofence Monitoring</h2>
167 Log.d("Geofence Detection",
191 "Geofence Detection");
206 <code><a href="{@docRoot}reference/com/google/android/gms/location/Geofence.html">Geofence</a></cod…
208 <code><a href="{@docRoot}reference/com/google/android/gms/location/Geofence.Builder.html">Geofence.…
210 <code><a href="{@docRoot}reference/com/google/android/gms/location/Geofence.html">Geofence</a></cod…
234 <dt>Geofence ID</dt>
[all …]
Dlocation-testing.jd331 <h3>Geofence testing</h3>
/frameworks/base/services/core/jni/
Dcom_android_server_location_FlpHardwareProvider.cpp312 Geofence& geofence) { in TranslateGeofenceFromGeofenceHardwareRequestParcelable()
864 Geofence* geofences = new Geofence[geofenceRequestsCount]; in AddGeofences()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java62 import android.location.Geofence;
1752 public void requestGeofence(LocationRequest request, Geofence geofence, PendingIntent intent, in requestGeofence()
1782 public void removeGeofence(Geofence geofence, PendingIntent intent, String packageName) { in removeGeofence()