Home
last modified time | relevance | path

Searched refs:LocationRequest (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/location/lib/java/com/android/location/provider/
DLocationRequestUnbundled.java19 import android.location.LocationRequest;
34 public static final int ACCURACY_FINE = LocationRequest.ACCURACY_FINE;
43 public static final int ACCURACY_BLOCK = LocationRequest.ACCURACY_BLOCK;
52 public static final int ACCURACY_CITY = LocationRequest.ACCURACY_CITY;
61 public static final int POWER_NONE = LocationRequest.POWER_NONE;
69 public static final int POWER_LOW = LocationRequest.POWER_LOW;
76 public static final int POWER_HIGH = LocationRequest.POWER_HIGH;
78 private final LocationRequest delegate;
80 LocationRequestUnbundled(LocationRequest delegate) { in LocationRequestUnbundled()
DProviderRequestUnbundled.java19 import android.location.LocationRequest;
59 for (LocationRequest r : mRequest.locationRequests) { in getLocationRequests()
/frameworks/base/location/java/android/location/
DLocationRequest.java97 public final class LocationRequest implements Parcelable { class
189 public static LocationRequest create() { in create()
190 return new LocationRequest(); in create()
196 public static LocationRequest createFromDeprecatedProvider( in createFromDeprecatedProvider()
210 LocationRequest request = new LocationRequest() in createFromDeprecatedProvider()
223 public static LocationRequest createFromDeprecatedCriteria( in createFromDeprecatedCriteria()
245 LocationRequest request = new LocationRequest() in createFromDeprecatedCriteria()
255 public LocationRequest() { in LocationRequest() method in LocationRequest
259 public LocationRequest(LocationRequest src) { in LocationRequest() method in LocationRequest
295 public @NonNull LocationRequest setQuality(int quality) { in setQuality()
[all …]
DLocationManager.java556 LocationRequest request = LocationRequest.createFromDeprecatedProvider( in requestLocationUpdates()
588 LocationRequest request = LocationRequest.createFromDeprecatedProvider( in requestLocationUpdates()
621 LocationRequest request = LocationRequest.createFromDeprecatedCriteria( in requestLocationUpdates()
649 LocationRequest request = LocationRequest.createFromDeprecatedProvider( in requestLocationUpdates()
756 LocationRequest request = LocationRequest.createFromDeprecatedCriteria( in requestLocationUpdates()
786 LocationRequest request = LocationRequest.createFromDeprecatedProvider( in requestSingleUpdate()
819 LocationRequest request = LocationRequest.createFromDeprecatedCriteria( in requestSingleUpdate()
842 LocationRequest request = LocationRequest.createFromDeprecatedProvider( in requestSingleUpdate()
866 LocationRequest request = LocationRequest.createFromDeprecatedCriteria( in requestSingleUpdate()
932 @NonNull LocationRequest request, in requestLocationUpdates()
[all …]
DILocationManager.aidl31 import android.location.LocationRequest;
44 void requestLocationUpdates(in LocationRequest request, in ILocationListener listener, in requestLocationUpdates()
48 void requestGeofence(in LocationRequest request, in Geofence geofence, in requestGeofence()
52 Location getLastLocation(in LocationRequest request, String packageName); in getLastLocation()
107 List<LocationRequest> getTestProviderCurrentRequests(String provider, String opPackageName); in getTestProviderCurrentRequests()
DLocationRequest.aidl19 parcelable LocationRequest;
/frameworks/base/location/java/com/android/internal/location/
DProviderRequest.java20 import android.location.LocationRequest;
59 public final List<LocationRequest> locationRequests = new ArrayList<>();
76 request.locationRequests.add(LocationRequest.CREATOR.createFromParcel(in));
99 for (LocationRequest request : locationRequests) { in writeToParcel()
/frameworks/base/core/proto/android/stats/location/
Dlocation_enums.proto57 // frameworks/base/location/java/android/location/LocationRequest.java
69 // frameworks/base/location/java/android/location/LocationRequest.java
81 // frameworks/base/location/java/android/location/LocationRequest.java
91 // frameworks/base/location/java/android/location/LocationRequest.java
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceManager.java34 import android.location.LocationRequest;
153 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, in addFence()
348 LocationRequest request = new LocationRequest(); in updateFences()
DGnssLocationProvider.java41 import android.location.LocationRequest;
729 LocationRequest locationRequest = new LocationRequest() in handleRequestLocation()
737 locationRequest.setQuality(LocationRequest.POWER_LOW); in handleRequestLocation()
742 locationRequest.setQuality(LocationRequest.ACCURACY_FINE); in handleRequestLocation()
2097 LocationRequest request = LocationRequest.createFromDeprecatedProvider(
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java67 import android.location.LocationRequest;
186 private static final LocationRequest DEFAULT_LOCATION_REQUEST = new LocationRequest();
2176 LocationRequest locationRequest = record.mRealRequest; in applyRequirementsLocked()
2187 locationRequest = new LocationRequest(locationRequest); in applyRequirementsLocked()
2213 LocationRequest locationRequest = record.mRequest; in applyRequirementsLocked()
2303 private final LocationRequest mRealRequest; // original request from client
2304 LocationRequest mRequest; // possibly throttled version of the request
2314 private UpdateRecord(String provider, LocationRequest request, Receiver receiver) { in UpdateRecord()
2447 private LocationRequest createSanitizedRequest(LocationRequest request, int resolutionLevel, in createSanitizedRequest()
2449 LocationRequest sanitizedRequest = new LocationRequest(request); in createSanitizedRequest()
[all …]
DLocationUsageLogger.java22 import android.location.LocationRequest;
182 String packageName, LocationRequest locationRequest, in logLocationApiUsage()
DDeviceIdleController.java41 import android.location.LocationRequest;
286 private LocationRequest mLocationRequest;
1918 mLocationRequest = new LocationRequest() in onBootPhase()
1919 .setQuality(LocationRequest.ACCURACY_FINE) in onBootPhase()
/frameworks/base/api/
Dtest-current.txt1060 …method @NonNull public java.util.List<android.location.LocationRequest> getTestProviderCurrentRequ…
1061 …ATION}) public void requestLocationUpdates(@NonNull android.location.LocationRequest, @NonNull and…
1062 …ATION}) public void requestLocationUpdates(@NonNull android.location.LocationRequest, @NonNull and…
1066 public final class LocationRequest implements android.os.Parcelable {
1067 method @NonNull public static android.location.LocationRequest create();
1075 method @NonNull public android.location.LocationRequest setExpireAt(long);
1076 method @NonNull public android.location.LocationRequest setExpireIn(long);
1077 method @NonNull public android.location.LocationRequest setFastestInterval(long);
1078 method @NonNull public android.location.LocationRequest setInterval(long);
1079 …t.permission.WRITE_SECURE_SETTINGS) @NonNull public android.location.LocationRequest setLocationSe…
[all …]
Dsystem-current.txt3399 …ATION}) public void requestLocationUpdates(@NonNull android.location.LocationRequest, @NonNull and…
3400 …ATION}) public void requestLocationUpdates(@NonNull android.location.LocationRequest, @NonNull and…
3408 public final class LocationRequest implements android.os.Parcelable {
3409 method @NonNull public static android.location.LocationRequest create();
3410 …method @NonNull public static android.location.LocationRequest createFromDeprecatedCriteria(@NonNu…
3411 …method @NonNull public static android.location.LocationRequest createFromDeprecatedProvider(@NonNu…
3424 method @NonNull public android.location.LocationRequest setExpireAt(long);
3425 method @NonNull public android.location.LocationRequest setExpireIn(long);
3426 method @NonNull public android.location.LocationRequest setFastestInterval(long);
3428 method @NonNull public android.location.LocationRequest setInterval(long);
[all …]
/frameworks/base/config/
Dpreloaded-classes2182 android.location.LocationRequest$1
2183 android.location.LocationRequest
/frameworks/base/services/
Dart-profile1274 …id/server/LocationManagerService;Ljava/lang/String;Landroid/location/LocationRequest;Lcom/android/…
1276 …ss$4000(Lcom/android/server/LocationManagerService$UpdateRecord;)Landroid/location/LocationRequest;
1289 …ervice;->createSanitizedRequest(Landroid/location/LocationRequest;IZ)Landroid/location/LocationReq…
1298 HSPLcom/android/server/LocationManagerService;->getLastLocation(Landroid/location/LocationRequest;L…
1337 …er/LocationManagerService;->requestLocationUpdates(Landroid/location/LocationRequest;Landroid/loca…
1338 …ationManagerService;->requestLocationUpdatesLocked(Landroid/location/LocationRequest;Lcom/android/…