Searched refs:WAIT_TIMEOUT (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | UiTestHelper.kt | 52 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/ |
D | payload.rs | 25 const WAIT_TIMEOUT: Duration = Duration::from_secs(10); constant 30 let file = wait_for_file(PAYLOAD_METADATA_PATH, WAIT_TIMEOUT)?; in load_metadata()
|
D | main.rs | 68 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/ |
D | StorageUsageProgressBarPreferenceControllerTest.java | 48 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/ |
D | UiTestUtils.kt | 42 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/ |
D | NetworkStatsServiceTest.java | 245 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/ |
D | adb.cpp | 1007 if (wait_result == WAIT_TIMEOUT) { in launch_server() 1014 if (WaitForSingleObject(process_handle.get(), 0) == WAIT_TIMEOUT) { in launch_server()
|