Searched refs:Geofence (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/location/java/android/location/ |
D | Geofence.java | 29 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 …]
|
D | ILocationManager.aidl | 23 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()
|
D | Geofence.aidl | 19 parcelable Geofence;
|
D | LocationManager.java | 991 Geofence fence = Geofence.createCircle(latitude, longitude, radius); in addProximityAlert() 1037 public void addGeofence(LocationRequest request, Geofence fence, PendingIntent intent) { in addGeofence() 1091 public void removeGeofence(Geofence fence, PendingIntent intent) { in removeGeofence() 2279 private static void checkGeofence(Geofence fence) { in checkGeofence()
|
/frameworks/base/docs/html/training/location/ |
D | geofencing.jd | 12 <li><a href="#RequestGeofences">Set up for Geofence Monitoring</a></li> 14 <li><a href="#HandleGeofenceTransitions">Handle Geofence Transitions</a></li> 15 <li><a href="#StopGeofenceMonitoring">Stop Geofence Monitoring</a></li> 17 <li><a href="#Troubleshooting">Troubleshoot the Geofence Entrance Event</a></li> 70 <h2 id="RequestGeofences">Set up for Geofence Monitoring</h2> 106 creating Geofence objects, and the convenience class for adding them. Also, to handle the 116 …First, use <code><a href="{@docRoot}reference/com/google/android/gms/location/Geofence.Builder.htm… 117 Geofence.Builder</a></code> to create a geofence, setting the desired radius, duration, and 123 mGeofenceList.add(new Geofence.Builder() 134 .setTransitionTypes(Geofence.GEOFENCE_TRANSITION_ENTER | [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GeofenceState.java | 21 import android.location.Geofence; 35 public final Geofence mFence; 46 public GeofenceState(Geofence fence, long expireAt, in GeofenceState()
|
D | GeofenceManager.java | 28 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/services/core/jni/ |
D | com_android_server_location_FlpHardwareProvider.cpp | 388 Geofence& geofence) { in TranslateGeofenceFromGeofenceHardwareRequestParcelable() 954 Geofence* geofences = new Geofence[geofenceRequestsCount]; in AddGeofences()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 63 import android.location.Geofence; 1836 public void requestGeofence(LocationRequest request, Geofence geofence, PendingIntent intent, in requestGeofence() 1867 public void removeGeofence(Geofence geofence, PendingIntent intent, String packageName) { in removeGeofence()
|
/frameworks/base/ |
D | compiled-classes-phone | 2229 android.location.Geofence
|