Home
last modified time | relevance | path

Searched refs:runTimed (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java156 CommandStatus status = runTimed(timeout, osRunnable, true); in runTimedCmd()
256 CommandStatus status = runTimed(timeout, osRunnable, true); in runTimedCmdWithInput()
274 CommandStatus status = runTimed(timeout, osRunnable, true); in runTimedCmdWithInputRedirect()
286 CommandStatus status = runTimed(timeout, osRunnable, false); in runTimedCmdSilently()
367 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in runTimed() method in RunUtil
428 if (runTimed(opTimeout, runnable, true) == CommandStatus.SUCCESS) { in runTimedRetry()
445 if (runTimed(opTimeout, runnable, true) == CommandStatus.SUCCESS) { in runFixedTimedRetry()
465 if (runTimed(opTimeout, runnable, true) == CommandStatus.SUCCESS) { in runEscalatingTimedRetry()
DIRunUtil.java262 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in runTimed() method
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilTest.java120 mRunUtil.runTimed(SHORT_TIMEOUT_MS, mockRunnable, true)); in testRunTimed()
133 mRunUtil.runTimed(SHORT_TIMEOUT_MS, mockRunnable, true)); in testRunTimed_failed()
149 mRunUtil.runTimed(VERY_LONG_TIMEOUT_MS, mockRunnable, true)); in testRunTimed_exception()
163 runUtil.runTimed(VERY_SHORT_TIMEOUT_MS, runnable, true); in testRunTimed_interrupted()
256 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in testRunEscalatingTimedRetry_timeout()
DRunUtilFuncTest.java63 assertEquals(CommandStatus.TIMED_OUT, RunUtil.getDefault().runTimed(SHORT_TIMEOUT_MS, in testRunTimed_timeout()