Home
last modified time | relevance | path

Searched refs:intervalMs (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/jni/gnss/
DGnssMeasurement.cpp83 if (options.intervalMs > 1000) { in setCallback()
109 if (options.intervalMs > 1000) { in setCallback()
131 if (options.intervalMs > 1000) { in setCallback()
153 if (options.intervalMs > 1000) { in setCallback()
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java763 private static String intervalToString(long intervalMs) { in intervalToString() argument
764 if (intervalMs == LocationRequest.PASSIVE_INTERVAL) { in intervalToString()
767 return MILLISECONDS.toSeconds(intervalMs) + "s"; in intervalToString()
837 private static String intervalToString(long intervalMs) { in intervalToString() argument
838 if (intervalMs == GnssMeasurementRequest.PASSIVE_INTERVAL) { in intervalToString()
841 return MILLISECONDS.toSeconds(intervalMs) + "s"; in intervalToString()
/frameworks/base/services/core/java/com/android/server/location/geofence/
DGeofenceManager.java487 long intervalMs; in mergeRegistrations() local
489 intervalMs = (long) Math.min(MAX_LOCATION_INTERVAL_MS, in mergeRegistrations()
494 intervalMs = mSettingsHelper.getBackgroundThrottleProximityAlertIntervalMs(); in mergeRegistrations()
497 return new LocationRequest.Builder(intervalMs) in mergeRegistrations()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java2373 long intervalMs = ProviderRequest.INTERVAL_DISABLED;
2389 intervalMs = min(request.getIntervalMillis(), intervalMs);
2397 if (intervalMs == ProviderRequest.INTERVAL_DISABLED) {
2401 if (maxUpdateDelayMs / 2 < intervalMs) {
2412 thresholdIntervalMs = Math.multiplyExact(Math.addExact(intervalMs, 1000) / 2, 3);
2427 .setIntervalMillis(intervalMs)
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp668 jint intervalMs) { in android_location_gnss_hal_GnssNative_start_measurement_collection() argument
676 options.intervalMs = intervalMs; in android_location_gnss_hal_GnssNative_start_measurement_collection()
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java635 long intervalMs = NANOSECONDS.toMillis(periodNanos); in startGnssBatch() local
642 new LocationRequest.Builder(intervalMs) in startGnssBatch()
644 intervalMs * mGnssManagerService.getGnssBatchSize()) in startGnssBatch()