Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/
DGnssConfiguration.java352 int emergencyExtensionSeconds = getIntConfig(CONFIG_ES_EXTENSION_SEC, 0); in getRangeCheckedConfigEsExtensionSec() local
353 if (emergencyExtensionSeconds > MAX_EMERGENCY_MODE_EXTENSION_SECONDS) { in getRangeCheckedConfigEsExtensionSec()
354 Log.w(TAG, CONFIG_ES_EXTENSION_SEC + ": " + emergencyExtensionSeconds in getRangeCheckedConfigEsExtensionSec()
356 emergencyExtensionSeconds = MAX_EMERGENCY_MODE_EXTENSION_SECONDS; in getRangeCheckedConfigEsExtensionSec()
357 } else if (emergencyExtensionSeconds < 0) { in getRangeCheckedConfigEsExtensionSec()
358 Log.w(TAG, CONFIG_ES_EXTENSION_SEC + ": " + emergencyExtensionSeconds in getRangeCheckedConfigEsExtensionSec()
360 emergencyExtensionSeconds = 0; in getRangeCheckedConfigEsExtensionSec()
362 return emergencyExtensionSeconds; in getRangeCheckedConfigEsExtensionSec()
415 private static native boolean native_set_es_extension_sec(int emergencyExtensionSeconds); in native_set_es_extension_sec() argument
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java256 public void setEmergencyExtensionSeconds(int emergencyExtensionSeconds) { in setEmergencyExtensionSeconds() argument
257 mEmergencyExtensionMillis = TimeUnit.SECONDS.toMillis(emergencyExtensionSeconds); in setEmergencyExtensionSeconds()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp2931 JNIEnv*, jobject, jint emergencyExtensionSeconds) { in android_location_GnssConfiguration_set_es_extension_sec() argument
2943 auto result = gnssConfigurationIface_V2_0->setEsExtensionSec(emergencyExtensionSeconds); in android_location_GnssConfiguration_set_es_extension_sec()