/frameworks/base/location/lib/java/com/android/location/provider/ |
D | LocationRequestUnbundled.java | 19 import android.location.LocationRequest; 20 import android.location.LocationRequest.Quality; 38 public static final int ACCURACY_FINE = LocationRequest.ACCURACY_FINE; 44 public static final int ACCURACY_BLOCK = LocationRequest.ACCURACY_BLOCK; 51 public static final int ACCURACY_CITY = LocationRequest.ACCURACY_CITY; 58 public static final int POWER_NONE = LocationRequest.POWER_NONE; 65 public static final int POWER_LOW = LocationRequest.POWER_LOW; 72 public static final int POWER_HIGH = LocationRequest.POWER_HIGH; 74 private final LocationRequest delegate; 76 LocationRequestUnbundled(LocationRequest delegate) { in LocationRequestUnbundled()
|
D | ProviderRequestUnbundled.java | 20 import android.location.LocationRequest; 72 public @LocationRequest.Quality int getQuality() { in getQuality() 118 new LocationRequest.Builder(mRequest.getIntervalMillis()) in getLocationRequests()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 24 import static android.location.LocationRequest.PASSIVE_INTERVAL; 69 import android.location.LocationRequest; 421 LocationRequest request = new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(); in testPassive_Listener() 442 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener() 483 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener_SameProcess() 498 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener_Unregister() 519 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener_Unregister_SameProcess() 543 LocationRequest request = new LocationRequest.Builder(0) in testRegisterListener_NumUpdates() 563 LocationRequest request = new LocationRequest.Builder(0) in testRegisterListener_ExpiringAlarm() 578 LocationRequest request = new LocationRequest.Builder(0) in testRegisterListener_ExpiringNoAlarm() [all …]
|
/frameworks/base/location/java/android/location/ |
D | LocationRequest.java | 49 public final class LocationRequest implements Parcelable { class 209 public static LocationRequest create() { in create() 211 return new LocationRequest.Builder(60 * 60 * 1000) in create() 223 public static LocationRequest createFromDeprecatedProvider(@NonNull String provider, in createFromDeprecatedProvider() 245 return new LocationRequest.Builder(intervalMillis) in createFromDeprecatedProvider() 261 public static LocationRequest createFromDeprecatedCriteria(@NonNull Criteria criteria, in createFromDeprecatedCriteria() 274 return new LocationRequest.Builder(intervalMillis) in createFromDeprecatedCriteria() 282 private LocationRequest( in LocationRequest() method in LocationRequest 319 public @NonNull LocationRequest setProvider(@NonNull String provider) { in setProvider() 341 public @NonNull LocationRequest setQuality(int quality) { in setQuality() [all …]
|
D | ILocationManager.aidl | 38 import android.location.LocationRequest; 54 …@nullable ICancellationSignal getCurrentLocation(String provider, in LocationRequest request, in I… in getCurrentLocation() 56 …void registerLocationListener(String provider, in LocationRequest request, in ILocationListener li… in registerLocationListener() 59 …void registerLocationPendingIntent(String provider, in LocationRequest request, in PendingIntent p… in registerLocationPendingIntent()
|
D | LocationRequest.aidl | 19 parcelable LocationRequest;
|
D | LocationManager.java | 23 import static android.location.LocationRequest.createFromDeprecatedCriteria; 24 import static android.location.LocationRequest.createFromDeprecatedProvider; 857 new LocationRequest.Builder(0).build(), in getCurrentLocation() 886 public void getCurrentLocation(@NonNull LocationRequest locationRequest, in getCurrentLocation() 932 @NonNull LocationRequest locationRequest, in getCurrentLocation() 985 new LocationRequest.Builder(0) in requestSingleUpdate() 1024 new LocationRequest.Builder(0) in requestSingleUpdate() 1056 new LocationRequest.Builder(0) in requestSingleUpdate() 1090 new LocationRequest.Builder(0) in requestSingleUpdate() 1356 @Nullable LocationRequest locationRequest, in requestLocationUpdates() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/ |
D | GnssTimeUpdateServiceTest.java | 36 import android.location.LocationRequest; 113 eq(new LocationRequest.Builder(LocationRequest.PASSIVE_INTERVAL) in testLocationListenerOnLocationChanged_validLocationTime_suggestsGnssTime() 143 eq(new LocationRequest.Builder(LocationRequest.PASSIVE_INTERVAL) in testLocationListenerOnLocationChanged_nullLocationTime_doesNotSuggestGnssTime()
|
/frameworks/proto_logging/stats/enums/stats/location/ |
D | location_enums.proto | 57 // 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/location/java/android/location/provider/ |
D | ProviderRequest.java | 19 import static android.location.LocationRequest.QUALITY_BALANCED_POWER_ACCURACY; 20 import static android.location.LocationRequest.QUALITY_HIGH_ACCURACY; 21 import static android.location.LocationRequest.QUALITY_LOW_POWER; 26 import android.location.LocationRequest; 27 import android.location.LocationRequest.Quality;
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | GnssTimeUpdateService.java | 29 import android.location.LocationRequest; 167 new LocationRequest.Builder(LocationRequest.PASSIVE_INTERVAL) in requestGnssTimeUpdates()
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationProvider.java | 22 import static android.location.LocationRequest.QUALITY_LOW_POWER; 36 import android.location.LocationRequest; 270 LocationRequest request = new LocationRequest.Builder(mInterval)
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | LocationProviderManager.java | 59 import android.location.LocationRequest; 302 protected abstract class Registration extends RemoteListenerRegistration<LocationRequest, 310 private LocationRequest mProviderLocationRequest; 315 protected Registration(LocationRequest request, CallerIdentity identity, in Registration() 428 public final LocationRequest getRequest() { in getRequest() 600 LocationRequest newRequest = calculateProviderLocationRequest(); in onProviderLocationRequestChanged() 605 LocationRequest oldRequest = mProviderLocationRequest; in onProviderLocationRequestChanged() 614 private LocationRequest calculateProviderLocationRequest() { in calculateProviderLocationRequest() 615 LocationRequest baseRequest = super.getRequest(); in calculateProviderLocationRequest() 616 LocationRequest.Builder builder = new LocationRequest.Builder(baseRequest); in calculateProviderLocationRequest() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/eventlog/ |
D | LocationEventLog.java | 33 import android.location.LocationRequest; 137 LocationRequest request) { in logProviderClientRegistered() 236 (CallerIdentity) args[1], (LocationRequest) args[2]); in createLogEvent() 328 @Nullable private final LocationRequest mLocationRequest; 331 CallerIdentity identity, @Nullable LocationRequest locationRequest) { in ProviderClientRegisterEvent() 657 if (intervalMs == LocationRequest.PASSIVE_INTERVAL) { in intervalToString()
|
/frameworks/base/services/core/java/com/android/server/location/geofence/ |
D | GeofenceManager.java | 34 import android.location.LocationRequest; 63 LocationRequest> implements 396 protected boolean registerWithService(LocationRequest locationRequest, in registerWithService() 412 protected LocationRequest mergeRegistrations(Collection<GeofenceRegistration> registrations) { in mergeRegistrations() 444 return new LocationRequest.Builder(intervalMs) in mergeRegistrations()
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | LocationUsageLogger.java | 23 import android.location.LocationRequest; 53 LocationRequest locationRequest, boolean hasListener, in logLocationApiUsage()
|
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/ |
D | FusedLocationServiceTest.java | 28 import android.location.LocationRequest; 135 .setQuality(LocationRequest.QUALITY_HIGH_ACCURACY) in testGpsRequest()
|
/frameworks/base/location/lib/api/ |
D | current.txt | 41 method @Deprecated @android.location.LocationRequest.Quality public int getQuality(); 60 …method @android.location.LocationRequest.Quality @RequiresApi(android.os.Build.VERSION_CODES.S) pu…
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationManagerService.java | 28 import static android.location.LocationRequest.LOW_POWER_EXCEPTIONS; 71 import android.location.LocationRequest; 555 new LocationRequest.Builder(intervalMs) in startGnssBatch() 676 public ICancellationSignal getCurrentLocation(String provider, LocationRequest request, in getCurrentLocation() 699 public void registerLocationListener(String provider, LocationRequest request, in registerLocationListener() 725 public void registerLocationPendingIntent(String provider, LocationRequest request, in registerLocationPendingIntent() 762 private LocationRequest validateLocationRequest(String provider, LocationRequest request, in validateLocationRequest() 772 LocationRequest.Builder sanitized = new LocationRequest.Builder(request); in validateLocationRequest()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssLocationProvider.java | 62 import android.location.LocationRequest; 505 new LocationRequest.Builder(LocationRequest.PASSIVE_INTERVAL) in handleInitialize() 561 LocationRequest.Builder locationRequest = new LocationRequest.Builder( in handleRequestLocation() 569 locationRequest.setQuality(LocationRequest.QUALITY_LOW_POWER); in handleRequestLocation() 574 locationRequest.setQuality(LocationRequest.QUALITY_HIGH_ACCURACY); in handleRequestLocation()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | FusedPrintersProvider.java | 30 import android.location.LocationRequest; 256 new LocationRequest.Builder(LOCATION_UPDATE_MS) in onStartLoading() 257 .setQuality(LocationRequest.QUALITY_LOW_POWER) in onStartLoading()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | DeviceIdleController.java | 48 import android.location.LocationRequest; 296 private LocationRequest mLocationRequest; 2382 mLocationRequest = new LocationRequest.Builder(/*intervalMillis=*/ 0) in onBootPhase() 2383 .setQuality(LocationRequest.QUALITY_HIGH_ACCURACY) in onBootPhase()
|
/frameworks/base/core/api/ |
D | system-lint-baseline.txt | 176 …oid.location.LocationManager#requestLocationUpdates(android.location.LocationRequest, java.util.co…
|
D | test-lint-baseline.txt | 484 GetterSetterNames: android.location.LocationRequest#isLocationSettingsIgnored(): 486 GetterSetterNames: android.location.LocationRequest#isLowPowerMode(): 566 …oid.location.LocationManager#requestLocationUpdates(android.location.LocationRequest, android.loca… 1046 MissingNullability: android.location.LocationRequest#writeToParcel(android.os.Parcel, int) paramete… 2824 …oid.location.LocationManager#requestLocationUpdates(android.location.LocationRequest, android.loca… 2826 …oid.location.LocationManager#requestLocationUpdates(android.location.LocationRequest, java.util.co…
|
D | system-current.txt | 4936 …_LOCATION}) public void getCurrentLocation(@NonNull android.location.LocationRequest, @Nullable an… 4949 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull and… 4950 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull jav… 4951 …TION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull and… 4959 public final class LocationRequest implements android.os.Parcelable { 4960 method @Deprecated @NonNull public static android.location.LocationRequest create(); 4961 …method @Deprecated @NonNull public static android.location.LocationRequest createFromDeprecatedCri… 4962 …method @Deprecated @NonNull public static android.location.LocationRequest createFromDeprecatedPro… 4976 method @Deprecated @NonNull public android.location.LocationRequest setExpireAt(long); 4977 method @Deprecated @NonNull public android.location.LocationRequest setExpireIn(long); [all …]
|