Searched refs:SHORT_TIMEOUT_MS (Results 1 – 3 of 3) sorted by relevance
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | RunUtilFuncTest.java | 40 private static final long SHORT_TIMEOUT_MS = 500L; field in RunUtilFuncTest 59 Thread.sleep(SHORT_TIMEOUT_MS * 5); in testRunTimed_timeout() 66 assertEquals(CommandStatus.TIMED_OUT, RunUtil.getDefault().runTimed(SHORT_TIMEOUT_MS, in testRunTimed_timeout() 91 assertTrue(RunUtil.getDefault().runTimedRetry(100, SHORT_TIMEOUT_MS, maxAttempts, in testRunTimedRetry() 95 final long expectedPollTime = SHORT_TIMEOUT_MS * (maxAttempts-1); in testRunTimedRetry() 173 runUtil.runTimedCmdRetry(SHORT_TIMEOUT_MS, SHORT_TIMEOUT_MS, 3, "printenv", "bar"); in testUnsetEnvVariable() 185 result = runUtil.runTimedCmd(SHORT_TIMEOUT_MS, "printenv", "bar"); in testUnsetEnvVariable() 232 .runTimedCmdWithInputRedirect(SHORT_TIMEOUT_MS, inputRedirect, "cat"); in testRunTimedCmd_WithInputRedirect() 249 SHORT_TIMEOUT_MS, in testRunTimedCmd_WithOutputRedirect()
|
D | RunUtilTest.java | 69 private static final long SHORT_TIMEOUT_MS = 200L; field in RunUtilTest 78 mRunUtil.setPollingInterval(SHORT_TIMEOUT_MS); in setUp() 167 CommandStatus.SUCCESS, mRunUtil.runTimed(SHORT_TIMEOUT_MS, mockRunnable, true)); in testRunTimed() 177 assertEquals(CommandStatus.FAILED, mRunUtil.runTimed(SHORT_TIMEOUT_MS, mockRunnable, true)); in testRunTimed_failed() 345 SHORT_TIMEOUT_MS, SHORT_TIMEOUT_MS * 2, command); in testRunTimed_output_monitor_timeout()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/sl4a/ |
D | Sl4aEventDispatcherTest.java | 39 private static final long SHORT_TIMEOUT_MS = 100; field in Sl4aEventDispatcherTest 101 mEventDispatcher.popEvent("BluetoothStateChangedOff", SHORT_TIMEOUT_MS); in testPopEvent_notExisting() 197 testPredicate, SHORT_TIMEOUT_MS); in testWaitForEvent_notMatching()
|