Home
last modified time | relevance | path

Searched refs:IRunnableResult (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DIRunUtil.java34 public static interface IRunnableResult { interface
204 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in runTimed()
217 IRunUtil.IRunnableResult runnable); in runTimedRetry()
229 final long maxTime, final IRunUtil.IRunnableResult runnable); in runFixedTimedRetry()
246 final long maxPollInterval, final long maxTime, final IRunUtil.IRunnableResult in runEscalatingTimedRetry()
DRunUtil.java151 IRunUtil.IRunnableResult osRunnable = in runTimedCmd()
163 IRunUtil.IRunnableResult createRunnableResult( in createRunnableResult()
237 IRunUtil.IRunnableResult osRunnable = new RunnableResult(result, input, in runTimedCmdWithInput()
250 IRunUtil.IRunnableResult osRunnable = new RunnableResult(result, null, in runTimedCmdSilently()
318 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in runTimed()
369 IRunUtil.IRunnableResult runnable) { in runTimedRetry()
385 final long maxTime, final IRunUtil.IRunnableResult runnable) { in runFixedTimedRetry()
403 final IRunUtil.IRunnableResult runnable) { in runEscalatingTimedRetry()
527 private final IRunUtil.IRunnableResult mRunnable;
531 RunnableNotifier(IRunUtil.IRunnableResult runnable, boolean logErrors) { in RunnableNotifier()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilTest.java22 import com.android.tradefed.util.IRunUtil.IRunnableResult;
67 IRunnableResult createRunnableResult( in createRunnableResult()
73 IRunnableResult real = in createRunnableResult()
100 IRunUtil.IRunnableResult mockRunnable = EasyMock.createStrictMock( in testRunTimed()
101 IRunUtil.IRunnableResult.class); in testRunTimed()
112 IRunUtil.IRunnableResult mockRunnable = EasyMock.createStrictMock( in testRunTimed_failed()
113 IRunUtil.IRunnableResult.class); in testRunTimed_failed()
124 IRunUtil.IRunnableResult mockRunnable = EasyMock.createStrictMock( in testRunTimed_exception()
125 IRunUtil.IRunnableResult.class); in testRunTimed_exception()
214 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in testRunEscalatingTimedRetry_timeout()
[all …]
DRunUtilFuncTest.java19 import com.android.tradefed.util.IRunUtil.IRunnableResult;
38 private abstract class MyRunnable implements IRunUtil.IRunnableResult {
73 IRunUtil.IRunnableResult mockRunnable = new IRunUtil.IRunnableResult() { in testRunTimedRetry()
/tools/tradefederation/core/src/com/android/tradefed/util/net/
DHttpHelper.java21 import com.android.tradefed.util.IRunUtil.IRunnableResult;
263 public abstract class RequestRunnable implements IRunnableResult {
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DBandwidthMicroBenchMarkTest.java36 import com.android.tradefed.util.IRunUtil.IRunnableResult;
213 private static class QueryRunnable implements IRunnableResult {