Home
last modified time | relevance | path

Searched refs:locationRequest (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DLocationUsageLogger.java182 String packageName, LocationRequest locationRequest, in logLocationApiUsage() argument
190 boolean isLocationRequestNull = locationRequest == null; in logLocationApiUsage()
196 + (isLocationRequestNull ? "" : locationRequest.toString()) in logLocationApiUsage()
208 : providerNameToStatsdEnum(locationRequest.getProvider()), in logLocationApiUsage()
211 : locationRequest.getQuality(), in logLocationApiUsage()
214 : bucketizeIntervalToStatsdEnum(locationRequest.getInterval()), in logLocationApiUsage()
218 locationRequest.getSmallestDisplacement()), in logLocationApiUsage()
219 isLocationRequestNull ? 0 : locationRequest.getNumUpdates(), in logLocationApiUsage()
223 : getBucketizedExpireIn(locationRequest.getExpireAt()), in logLocationApiUsage()
DLocationManagerService.java2176 LocationRequest locationRequest = record.mRealRequest; in applyRequirementsLocked() local
2177 long interval = locationRequest.getInterval(); in applyRequirementsLocked()
2186 if (interval != locationRequest.getInterval()) { in applyRequirementsLocked()
2187 locationRequest = new LocationRequest(locationRequest); in applyRequirementsLocked()
2188 locationRequest.setInterval(interval); in applyRequirementsLocked()
2192 record.mRequest = locationRequest; in applyRequirementsLocked()
2193 providerRequest.locationRequests.add(locationRequest); in applyRequirementsLocked()
2194 if (!locationRequest.isLowPowerMode()) { in applyRequirementsLocked()
2213 LocationRequest locationRequest = record.mRequest; in applyRequirementsLocked() local
2217 if (!providerRequest.locationRequests.contains(locationRequest)) { in applyRequirementsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java759 LocationRequest locationRequest = new LocationRequest() in handleRequestLocation() local
767 locationRequest.setQuality(LocationRequest.POWER_LOW); in handleRequestLocation()
772 locationRequest.setQuality(LocationRequest.ACCURACY_FINE); in handleRequestLocation()
775 locationRequest.setProvider(provider); in handleRequestLocation()
783 locationRequest.setLocationSettingsIgnored(true); in handleRequestLocation()
794 locationManager.requestLocationUpdates(locationRequest, in handleRequestLocation()