Searched refs:geofence (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/hal/ |
D | FakeGnssHal.java | 323 for (GnssHalGeofence geofence : mState.mGeofences.values()) { in reportLocation() 324 if (!geofence.Paused) { in reportLocation() 325 if (geofence.Center.distanceTo(location) > geofence.Radius) { in reportLocation() 326 if (geofence.LastTransition != GEOFENCE_TRANSITION_EXITED) { in reportLocation() 327 geofence.LastTransition = GEOFENCE_TRANSITION_EXITED; in reportLocation() 328 if ((geofence.MonitorTransitions & GEOFENCE_TRANSITION_EXITED) != 0) { in reportLocation() 330 geofence.GeofenceId, location, GEOFENCE_TRANSITION_EXITED, in reportLocation() 335 if (geofence.LastTransition != GEOFENCE_TRANSITION_ENTERED) { in reportLocation() 336 geofence.LastTransition = GEOFENCE_TRANSITION_ENTERED; in reportLocation() 337 if ((geofence.MonitorTransitions & GEOFENCE_TRANSITION_ENTERED) != 0) { in reportLocation() [all …]
|
/frameworks/base/location/java/android/location/ |
D | Geofence.java | 131 Geofence geofence = (Geofence) o; in equals() local 132 return Double.compare(geofence.mLatitude, mLatitude) == 0 in equals() 133 && Double.compare(geofence.mLongitude, mLongitude) == 0 in equals() 134 && Float.compare(geofence.mRadius, mRadius) == 0 in equals() 135 && mExpirationRealtimeMs == geofence.mExpirationRealtimeMs; in equals()
|
D | ILocationManager.aidl | 67 …void requestGeofence(in Geofence geofence, in PendingIntent intent, String packageName, String att… in requestGeofence() argument
|
/frameworks/base/services/core/java/com/android/server/location/geofence/ |
D | GeofenceKey.java | 17 package com.android.server.location.geofence; 34 GeofenceKey(PendingIntent pendingIntent, Geofence geofence) { in GeofenceKey() argument 36 mGeofence = Objects.requireNonNull(geofence); in GeofenceKey()
|
D | GeofenceManager.java | 17 package com.android.server.location.geofence; 95 protected GeofenceRegistration(Geofence geofence, CallerIdentity identity, in GeofenceRegistration() argument 97 super(geofence, identity, pendingIntent); in GeofenceRegistration() 100 mCenter.setLatitude(geofence.getLatitude()); in GeofenceRegistration() 101 mCenter.setLongitude(geofence.getLongitude()); in GeofenceRegistration() 295 public void addGeofence(Geofence geofence, PendingIntent pendingIntent, String packageName, in addGeofence() argument 304 putRegistration(new GeofenceKey(pendingIntent, geofence), in addGeofence() 305 new GeofenceRegistration(geofence, identity, pendingIntent)); in addGeofence()
|
D | GeofenceProxy.java | 16 package com.android.server.location.geofence;
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | LocationUsageLogger.java | 54 boolean hasIntent, Geofence geofence, boolean foreground) { in logLocationApiUsage() argument 61 boolean isGeofenceNull = geofence == null; in logLocationApiUsage() 86 : bucketizeRadius(geofence.getRadius()), in logLocationApiUsage()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationManagerService.java | 104 import com.android.server.location.geofence.GeofenceManager; 105 import com.android.server.location.geofence.GeofenceProxy; 961 public void requestGeofence(Geofence geofence, PendingIntent intent, String packageName, in requestGeofence() argument 963 mGeofenceManager.addGeofence(geofence, intent, packageName, attributionTag); in requestGeofence()
|
/frameworks/base/services/ |
D | art-profile | 25842 PLcom/android/server/location/geofence/GeofenceKey;-><init>(Landroid/app/PendingIntent;Landroid/loc… 25843 PLcom/android/server/location/geofence/GeofenceKey;->equals(Ljava/lang/Object;)Z 25844 PLcom/android/server/location/geofence/GeofenceKey;->getPendingIntent()Landroid/app/PendingIntent; 25845 PLcom/android/server/location/geofence/GeofenceKey;->hashCode()I 25846 PLcom/android/server/location/geofence/GeofenceManager$$ExternalSyntheticLambda1;-><init>(Landroid/… 25847 …com/android/server/location/geofence/GeofenceManager$$ExternalSyntheticLambda2;-><init>(Lcom/andro… 25848 …com/android/server/location/geofence/GeofenceManager$$ExternalSyntheticLambda3;-><init>(Lcom/andro… 25849 …com/android/server/location/geofence/GeofenceManager$$ExternalSyntheticLambda4;-><init>(Lcom/andro… 25850 HSPLcom/android/server/location/geofence/GeofenceManager$1;-><init>(Lcom/android/server/location/ge… 25851 PLcom/android/server/location/geofence/GeofenceManager$GeofenceRegistration;-><init>(Lcom/android/s… [all …]
|