Searched refs:locationRequest (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | LocationUsageLogger.java | 53 LocationRequest locationRequest, boolean hasListener, in logLocationApiUsage() argument 60 boolean isLocationRequestNull = locationRequest == null; in logLocationApiUsage() 70 : locationRequest.getQuality(), in logLocationApiUsage() 73 : bucketizeInterval(locationRequest.getIntervalMillis()), in logLocationApiUsage() 77 locationRequest.getMinUpdateDistanceMeters()), in logLocationApiUsage() 78 isLocationRequestNull ? 0 : locationRequest.getMaxUpdates(), in logLocationApiUsage() 82 : bucketizeExpireIn(locationRequest.getDurationMillis()), in logLocationApiUsage()
|
/frameworks/base/location/java/android/location/ |
D | LocationRequest.java | 954 public Builder(@NonNull LocationRequest locationRequest) { in Builder() argument 955 mIntervalMillis = locationRequest.mInterval; in Builder() 956 mQuality = locationRequest.mQuality; in Builder() 957 mDurationMillis = locationRequest.mDurationMillis; in Builder() 958 mMaxUpdates = locationRequest.mMaxUpdates; in Builder() 959 mMinUpdateIntervalMillis = locationRequest.mMinUpdateIntervalMillis; in Builder() 960 mMinUpdateDistanceMeters = locationRequest.mMinUpdateDistanceMeters; in Builder() 961 mMaxUpdateDelayMillis = locationRequest.mMaxUpdateDelayMillis; in Builder() 962 mHiddenFromAppOps = locationRequest.mHideFromAppOps; in Builder() 963 mAdasGnssBypass = locationRequest.mAdasGnssBypass; in Builder() [all …]
|
D | LocationManager.java | 886 public void getCurrentLocation(@NonNull LocationRequest locationRequest, in getCurrentLocation() argument 889 Preconditions.checkArgument(locationRequest.getProvider() != null); in getCurrentLocation() 890 getCurrentLocation(locationRequest.getProvider(), locationRequest, cancellationSignal, in getCurrentLocation() local 932 @NonNull LocationRequest locationRequest, in getCurrentLocation() argument 936 Preconditions.checkArgument(locationRequest != null, "invalid null location request"); in getCurrentLocation() 948 locationRequest, transport, mContext.getPackageName(), in getCurrentLocation() 1356 @Nullable LocationRequest locationRequest, in requestLocationUpdates() 1360 requestLocationUpdates(locationRequest, new HandlerExecutor(handler), listener); in requestLocationUpdates() 1386 @Nullable LocationRequest locationRequest, in requestLocationUpdates() 1389 if (locationRequest == null) { in requestLocationUpdates() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssLocationProvider.java | 561 LocationRequest.Builder locationRequest = new LocationRequest.Builder( in handleRequestLocation() local 569 locationRequest.setQuality(LocationRequest.QUALITY_LOW_POWER); in handleRequestLocation() 574 locationRequest.setQuality(LocationRequest.QUALITY_HIGH_ACCURACY); in handleRequestLocation() 583 locationRequest.setLocationSettingsIgnored(true); in handleRequestLocation() 588 locationRequest.setDurationMillis(durationMillis); in handleRequestLocation() 596 locationManager.requestLocationUpdates(provider, locationRequest.build(), in handleRequestLocation()
|
/frameworks/base/services/core/java/com/android/server/location/geofence/ |
D | GeofenceManager.java | 396 protected boolean registerWithService(LocationRequest locationRequest, in registerWithService() argument 398 getLocationManager().requestLocationUpdates(FUSED_PROVIDER, locationRequest, in registerWithService()
|
/frameworks/base/services/core/java/com/android/server/location/eventlog/ |
D | LocationEventLog.java | 331 CallerIdentity identity, @Nullable LocationRequest locationRequest) { in ProviderClientRegisterEvent() argument 335 mLocationRequest = locationRequest; in ProviderClientRegisterEvent()
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | LocationProviderManager.java | 2194 LocationRequest locationRequest = registration.getRequest(); 2197 if (last == null && !locationRequest.isLocationSettingsIgnored()) { 2205 locationRequest.getIntervalMillis()); 2215 locationRequest.getIntervalMillis() - last.getElapsedRealtimeAgeMillis());
|