Searched refs:locationRequest (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationUsageLogger.java | 53 String packageName, LocationRequest locationRequest, in logLocationApiUsage() argument 61 boolean isLocationRequestNull = locationRequest == null; in logLocationApiUsage() 68 : bucketizeProvider(locationRequest.getProvider()), in logLocationApiUsage() 71 : locationRequest.getQuality(), in logLocationApiUsage() 74 : bucketizeInterval(locationRequest.getInterval()), in logLocationApiUsage() 78 locationRequest.getSmallestDisplacement()), in logLocationApiUsage() 79 isLocationRequestNull ? 0 : locationRequest.getNumUpdates(), in logLocationApiUsage() 83 : bucketizeExpireIn(locationRequest.getExpireIn()), in logLocationApiUsage()
|
D | LocationManagerService.java | 1572 LocationRequest locationRequest = record.mRealRequest; in applyRequirementsLocked() local 1573 long interval = locationRequest.getInterval(); in applyRequirementsLocked() 1582 if (interval != locationRequest.getInterval()) { in applyRequirementsLocked() 1583 locationRequest = new LocationRequest(locationRequest); in applyRequirementsLocked() 1584 locationRequest.setInterval(interval); in applyRequirementsLocked() 1588 record.mRequest = locationRequest; in applyRequirementsLocked() 1589 requests.add(locationRequest); in applyRequirementsLocked() 1590 if (!locationRequest.isLowPowerMode()) { in applyRequirementsLocked() 1611 LocationRequest locationRequest = record.mRequest; in applyRequirementsLocked() local 1615 if (!providerRequest.getLocationRequests().contains(locationRequest)) { in applyRequirementsLocked() [all …]
|
/frameworks/base/location/java/android/location/ |
D | LocationManager.java | 713 public void getCurrentLocation(@NonNull LocationRequest locationRequest, in getCurrentLocation() argument 716 LocationRequest currentLocationRequest = new LocationRequest(locationRequest) in getCurrentLocation() 1136 @Nullable LocationRequest locationRequest, in requestLocationUpdates() 1140 requestLocationUpdates(locationRequest, new HandlerExecutor(handler), listener); in requestLocationUpdates() 1164 @Nullable LocationRequest locationRequest, in requestLocationUpdates() 1179 mService.requestLocationUpdates(locationRequest, transport, null, in requestLocationUpdates() 1215 @Nullable LocationRequest locationRequest, in requestLocationUpdates() 1217 Preconditions.checkArgument(locationRequest != null, "invalid null location request"); in requestLocationUpdates() 1225 mService.requestLocationUpdates(locationRequest, null, pendingIntent, in requestLocationUpdates()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssLocationProvider.java | 793 LocationRequest locationRequest = new LocationRequest() in handleRequestLocation() local 801 locationRequest.setQuality(LocationRequest.POWER_LOW); in handleRequestLocation() 806 locationRequest.setQuality(LocationRequest.ACCURACY_FINE); in handleRequestLocation() 809 locationRequest.setProvider(provider); in handleRequestLocation() 817 locationRequest.setLocationSettingsIgnored(true); in handleRequestLocation() 828 locationManager.requestLocationUpdates(locationRequest, in handleRequestLocation()
|