Searched refs:emergencyExtensionSeconds (Results 1 – 3 of 3) sorted by relevance
352 int emergencyExtensionSeconds = getIntConfig(CONFIG_ES_EXTENSION_SEC, 0); in getRangeCheckedConfigEsExtensionSec() local353 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
256 public void setEmergencyExtensionSeconds(int emergencyExtensionSeconds) { in setEmergencyExtensionSeconds() argument257 mEmergencyExtensionMillis = TimeUnit.SECONDS.toMillis(emergencyExtensionSeconds); in setEmergencyExtensionSeconds()
2931 JNIEnv*, jobject, jint emergencyExtensionSeconds) { in android_location_GnssConfiguration_set_es_extension_sec() argument2943 auto result = gnssConfigurationIface_V2_0->setEsExtensionSec(emergencyExtensionSeconds); in android_location_GnssConfiguration_set_es_extension_sec()