Searched refs:runTimed (Results 1 – 4 of 4) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | RunUtil.java | 153 CommandStatus status = runTimed(timeout, osRunnable, true); in runTimedCmd() 239 CommandStatus status = runTimed(timeout, osRunnable, true); in runTimedCmdWithInput() 252 CommandStatus status = runTimed(timeout, osRunnable, false); in runTimedCmdSilently() 318 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in runTimed() method in RunUtil 371 if (runTimed(opTimeout, runnable, true) == CommandStatus.SUCCESS) { in runTimedRetry() 388 if (runTimed(opTimeout, runnable, true) == CommandStatus.SUCCESS) { in runFixedTimedRetry() 408 if (runTimed(opTimeout, runnable, true) == CommandStatus.SUCCESS) { in runEscalatingTimedRetry()
|
D | IRunUtil.java | 204 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in runTimed() method
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilTest.java | 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() 214 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in testRunEscalatingTimedRetry_timeout()
|
D | RunUtilFuncTest.java | 62 assertEquals(CommandStatus.TIMED_OUT, RunUtil.getDefault().runTimed(SHORT_TIMEOUT_MS, in testRunTimed_timeout()
|