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/gnss/
DGnssConfiguration.java356 int emergencyExtensionSeconds = getIntConfig(CONFIG_ES_EXTENSION_SEC, 0); in getRangeCheckedConfigEsExtensionSec() local
357 if (emergencyExtensionSeconds > MAX_EMERGENCY_MODE_EXTENSION_SECONDS) { in getRangeCheckedConfigEsExtensionSec()
358 Log.w(TAG, CONFIG_ES_EXTENSION_SEC + ": " + emergencyExtensionSeconds in getRangeCheckedConfigEsExtensionSec()
360 emergencyExtensionSeconds = MAX_EMERGENCY_MODE_EXTENSION_SECONDS; in getRangeCheckedConfigEsExtensionSec()
361 } else if (emergencyExtensionSeconds < 0) { in getRangeCheckedConfigEsExtensionSec()
362 Log.w(TAG, CONFIG_ES_EXTENSION_SEC + ": " + emergencyExtensionSeconds in getRangeCheckedConfigEsExtensionSec()
364 emergencyExtensionSeconds = 0; in getRangeCheckedConfigEsExtensionSec()
366 return emergencyExtensionSeconds; in getRangeCheckedConfigEsExtensionSec()
419 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.java264 public void setEmergencyExtensionSeconds(int emergencyExtensionSeconds) { in setEmergencyExtensionSeconds() argument
265 mEmergencyExtensionMillis = TimeUnit.SECONDS.toMillis(emergencyExtensionSeconds); in setEmergencyExtensionSeconds()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp3506 JNIEnv*, jobject, jint emergencyExtensionSeconds) { in android_location_GnssConfiguration_set_es_extension_sec() argument
3518 auto result = gnssConfigurationIface_V2_0->setEsExtensionSec(emergencyExtensionSeconds); in android_location_GnssConfiguration_set_es_extension_sec()