Searched refs:locationRequest (Results 1 – 8 of 8) sorted by relevance
53 LocationRequest locationRequest, boolean hasListener, in logLocationApiUsage() argument60 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()
951 public Builder(@NonNull LocationRequest locationRequest) { in Builder() argument952 mIntervalMillis = locationRequest.mIntervalMillis; in Builder()953 mQuality = locationRequest.mQuality; in Builder()954 mDurationMillis = locationRequest.mDurationMillis; in Builder()955 mMaxUpdates = locationRequest.mMaxUpdates; in Builder()956 mMinUpdateIntervalMillis = locationRequest.mMinUpdateIntervalMillis; in Builder()957 mMinUpdateDistanceMeters = locationRequest.mMinUpdateDistanceMeters; in Builder()958 mMaxUpdateDelayMillis = locationRequest.mMaxUpdateDelayMillis; in Builder()959 mHiddenFromAppOps = locationRequest.mHideFromAppOps; in Builder()960 mAdasGnssBypass = locationRequest.mAdasGnssBypass; in Builder()[all …]
976 public void getCurrentLocation(@NonNull LocationRequest locationRequest, in getCurrentLocation() argument979 Preconditions.checkArgument(locationRequest.getProvider() != null); in getCurrentLocation()980 getCurrentLocation(locationRequest.getProvider(), locationRequest, cancellationSignal, in getCurrentLocation() local1022 @NonNull LocationRequest locationRequest, in getCurrentLocation() argument1026 Preconditions.checkArgument(locationRequest != null, "invalid null location request"); in getCurrentLocation()1038 locationRequest, transport, mContext.getPackageName(), in getCurrentLocation()1446 @Nullable LocationRequest locationRequest, in requestLocationUpdates()1450 requestLocationUpdates(locationRequest, new HandlerExecutor(handler), listener); in requestLocationUpdates()1476 @Nullable LocationRequest locationRequest, in requestLocationUpdates()1479 if (locationRequest == null) { in requestLocationUpdates()[all …]
702 LocationRequest.Builder locationRequest = new LocationRequest.Builder( in handleRequestLocation() local710 locationRequest.setQuality(LocationRequest.QUALITY_LOW_POWER); in handleRequestLocation()715 locationRequest.setQuality(LocationRequest.QUALITY_HIGH_ACCURACY); in handleRequestLocation()724 locationRequest.setLocationSettingsIgnored(true); in handleRequestLocation()729 locationRequest.setDurationMillis(durationMillis); in handleRequestLocation()737 locationManager.requestLocationUpdates(provider, locationRequest.build(), in handleRequestLocation()
449 protected boolean registerWithService(LocationRequest locationRequest, in registerWithService() argument451 getLocationManager().requestLocationUpdates(FUSED_PROVIDER, locationRequest, in registerWithService()
359 CallerIdentity identity, @Nullable LocationRequest locationRequest) { in ProviderClientRegisterEvent() argument363 mLocationRequest = locationRequest; in ProviderClientRegisterEvent()
2448 LocationRequest locationRequest = registration.getRequest();2451 if (last == null && !locationRequest.isLocationSettingsIgnored()) {2459 locationRequest.getIntervalMillis());2469 locationRequest.getIntervalMillis() - last.getElapsedRealtimeAgeMillis());
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...