Searched refs:SHORT_TIMEOUT_MS (Results 1 – 3 of 3) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilFuncTest.java | 35 private static final long SHORT_TIMEOUT_MS = 500l; field in RunUtilFuncTest 55 Thread.sleep(SHORT_TIMEOUT_MS * 5); in testRunTimed_timeout() 62 assertEquals(CommandStatus.TIMED_OUT, RunUtil.getDefault().runTimed(SHORT_TIMEOUT_MS, in testRunTimed_timeout() 86 assertTrue(RunUtil.getDefault().runTimedRetry(100, SHORT_TIMEOUT_MS, maxAttempts, in testRunTimedRetry() 90 final long expectedPollTime = SHORT_TIMEOUT_MS * (maxAttempts-1); in testRunTimedRetry() 165 runUtil.runTimedCmdRetry(SHORT_TIMEOUT_MS, SHORT_TIMEOUT_MS, 3, "printenv", "bar"); in testUnsetEnvVariable() 177 result = runUtil.runTimedCmd(SHORT_TIMEOUT_MS, "printenv", "bar"); in testUnsetEnvVariable()
|
D | RunUtilTest.java | 45 private static final long SHORT_TIMEOUT_MS = 200L; field in RunUtilTest 105 mRunUtil.runTimed(SHORT_TIMEOUT_MS, mockRunnable, true)); in testRunTimed() 117 mRunUtil.runTimed(SHORT_TIMEOUT_MS, mockRunnable, true)); in testRunTimed_failed() 130 mRunUtil.runTimed(SHORT_TIMEOUT_MS, mockRunnable, true)); in testRunTimed_exception() 363 spyUtil.runTimedCmd(SHORT_TIMEOUT_MS, stdoutStream, stderrStream, command); in testRuntimedCmd_notWritable()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/sl4a/ |
D | Sl4aEventDispatcherTest.java | 38 private static final long SHORT_TIMEOUT_MS = 100; field in Sl4aEventDispatcherTest 100 mEventDispatcher.popEvent("BluetoothStateChangedOff", SHORT_TIMEOUT_MS); in testPopEvent_notExisting() 196 testPredicate, SHORT_TIMEOUT_MS); in testWaitForEvent_notMatching()
|