Home
last modified time | relevance | path

Searched refs:WAIT_TIMEOUT (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DUiTestHelper.kt52 private val WAIT_TIMEOUT = Duration.ofSeconds(20) constant
59 val whenToTimeout = currentElapsedRealtime() + WAIT_TIMEOUT
60 var remaining = WAIT_TIMEOUT
72 TimeoutException("Timed out waiting for $selector to be displayed after $WAIT_TIMEOUT")
93 val gone = getUiDevice().wait(Until.gone(selector), WAIT_TIMEOUT.toMillis()) in waitNotDisplayed()
99 "Timed out waiting for $selector not to be displayed after $WAIT_TIMEOUT" in waitNotDisplayed()
/packages/modules/Virtualization/microdroid_manager/src/
Dpayload.rs25 const WAIT_TIMEOUT: Duration = Duration::from_secs(10); constant
30 let file = wait_for_file(PAYLOAD_METADATA_PATH, WAIT_TIMEOUT)?; in load_metadata()
Dmain.rs68 const WAIT_TIMEOUT: Duration = Duration::from_secs(10); constant
611 let file = ioutil::wait_for_file(path, WAIT_TIMEOUT) in load_config()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageUsageProgressBarPreferenceControllerTest.java48 private static final long WAIT_TIMEOUT = 10_000L; field in StorageUsageProgressBarPreferenceControllerTest
88 mController.waitUpdateState(WAIT_TIMEOUT); in setSelectedStorageEntry_primaryStorage_getPrimaryStorageBytes()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DUiTestUtils.kt42 private val WAIT_TIMEOUT = Duration.ofSeconds(5) constant
68 waitTimeout: Duration = WAIT_TIMEOUT, in waitDisplayed()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java245 private static final long WAIT_TIMEOUT = 2 * 1000; // 2 secs field in NetworkStatsServiceTest
1249 HandlerUtils.waitForIdle(mHandlerThread, WAIT_TIMEOUT); in setMobileRatTypeAndWaitForIdle()
1740 HandlerUtils.waitForIdle(mHandlerThread, WAIT_TIMEOUT); in testRegisterUsageCallback()
1951 HandlerUtils.waitForIdle(mHandlerThread, WAIT_TIMEOUT); in testStatsProviderSetAlert()
2016 HandlerUtils.waitForIdle(mHandlerThread, WAIT_TIMEOUT); in testDynamicWatchForNetworkRatTypeChanges()
2039 HandlerUtils.waitForIdle(mHandlerThread, WAIT_TIMEOUT); in testDynamicWatchForNetworkRatTypeChanges()
2828 HandlerUtils.waitForIdle(mHandlerThread, WAIT_TIMEOUT); in waitForIdle()
/packages/modules/adb/
Dadb.cpp1007 if (wait_result == WAIT_TIMEOUT) { in launch_server()
1014 if (WaitForSingleObject(process_handle.get(), 0) == WAIT_TIMEOUT) { in launch_server()