/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | SdkBuildInfoTest.java | 20 import com.android.tradefed.util.IRunUtil; 33 private IRunUtil mMockRunUtil; 38 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 44 IRunUtil getRunUtil() { in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | IRunUtil.java | 29 public interface IRunUtil { 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()
|
D | RunUtil.java | 43 public class RunUtil implements IRunUtil { 52 private static IRunUtil sDefaultInstance = null; 81 public static IRunUtil getDefault() { in getDefault() 151 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() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | PythonUnitTestRunnerTest.java | 28 import com.android.tradefed.util.IRunUtil; 164 private IRunUtil getMockRunUtil(UnitTestResult testResult) { in getMockRunUtil() 166 IRunUtil mockRunUtil = EasyMock.createMock(IRunUtil.class); in getMockRunUtil() 209 IRunUtil mockRunUtil = getMockRunUtil(UnitTestResult.PASS); in testRunPass() 219 IRunUtil mockRunUtil = getMockRunUtil(UnitTestResult.FAIL); in testRunFail() 229 IRunUtil mockRunUtil = getMockRunUtil(UnitTestResult.EXECUTION_FAIL); in testRunExecutionFail() 243 IRunUtil mockRunUtil = getMockRunUtil(UnitTestResult.TIMEOUT); in testRunTimeout()
|
D | DeviceBatteryLevelCheckerTest.java | 23 import com.android.tradefed.util.IRunUtil; 47 IRunUtil getRunUtil() { in setUp() 48 return EasyMock.createNiceMock(IRunUtil.class); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilTest.java | 21 import com.android.tradefed.util.IRunUtil.EnvPriority; 22 import com.android.tradefed.util.IRunUtil.IRunnableResult; 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() 225 IRunUtil.IRunnableResult mockRunnable = EasyMock.createStrictMock( in testRunEscalatingTimedRetry_timeout() [all …]
|
D | RunUtilFuncTest.java | 19 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/testtype/ |
D | PythonUnitTestRunner.java | 29 import com.android.tradefed.util.IRunUtil; 70 private IRunUtil mRunUtil; 76 protected IRunUtil getRunUtil() { in getRunUtil() 89 IRunUtil runUtil = getRunUtil(); in run() 115 IRunUtil runUtil = RunUtil.getDefault(); in getPythonBinary() 189 void doRunTest(ITestInvocationListener listener, IRunUtil runUtil, String pyModule) { in doRunTest()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | SandboxConfigUtil.java | 25 import com.android.tradefed.util.IRunUtil; 26 import com.android.tradefed.util.IRunUtil.EnvPriority; 55 String classpath, IRunUtil runUtil, String[] args, DumpCmd dump, File globalConfig) in dumpConfigForVersion() 107 File rootDir, IRunUtil runUtil, String[] args, DumpCmd dump, File globalConfig) in dumpConfigForVersion()
|
D | ISandbox.java | 24 import com.android.tradefed.util.IRunUtil; 93 String[] args, IKeyStoreClient keyStoreClient, IRunUtil runUtil, File globalConfig); in createThinLauncherConfig()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | ReconnectingRecoveryTest.java | 19 import com.android.tradefed.util.IRunUtil; 33 private IRunUtil mMockRunUtil; 39 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 42 protected IRunUtil getRunUtil() { in setUp()
|
D | AndroidDebugBridgeWrapperTest.java | 22 import com.android.tradefed.util.IRunUtil; 35 private IRunUtil mMockRunUtil; 39 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 43 IRunUtil getRunUtil() { in setUp()
|
D | ManagedTestDeviceFactoryTest.java | 20 import com.android.tradefed.util.IRunUtil; 36 IRunUtil mMockRunUtil; 44 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 138 protected IRunUtil getRunUtil() { in testCheckFramework_emptyReturns()
|
D | RemoteAndroidDeviceTest.java | 21 import com.android.tradefed.util.IRunUtil; 35 private IRunUtil mMockRunUtil; 49 protected IRunUtil getRunUtil() { in getRunUtil() 65 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | FastbootHelper.java | 22 import com.android.tradefed.util.IRunUtil; 37 private IRunUtil mRunUtil; 45 public FastbootHelper(final IRunUtil runUtil, final String fastbootPath) { in FastbootHelper()
|
D | ReconnectingRecovery.java | 20 import com.android.tradefed.util.IRunUtil; 96 IRunUtil getRunUtil() { in getRunUtil()
|
D | IDeviceManager.java | 21 import com.android.tradefed.util.IRunUtil; 102 void launchEmulator(ITestDevice device, long bootTimeout, IRunUtil runUtil, in launchEmulator()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | RunHostCommandTargetPreparerTest.java | 23 import com.android.tradefed.util.IRunUtil; 48 private IRunUtil mRunUtil; 53 mRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 58 protected IRunUtil getRunUtil() { in setUp()
|
D | PythonVirtualenvPreparerTest.java | 31 import com.android.tradefed.util.IRunUtil; 39 private IRunUtil mMockRunUtil; 44 mMockRunUtil = createNiceMock(IRunUtil.class); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/ |
D | SandboxConfigUtilTest.java | 28 import com.android.tradefed.util.IRunUtil; 43 private IRunUtil mMockRunUtil; 48 mMockRunUtil = Mockito.mock(IRunUtil.class); in setUp()
|
D | TradefedSandboxTest.java | 35 import com.android.tradefed.util.IRunUtil; 36 import com.android.tradefed.util.IRunUtil.EnvPriority; 58 private IRunUtil mMockRunUtil; 62 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 66 IRunUtil createRunUtil() { in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | TimeWaster.java | 24 import com.android.tradefed.util.IRunUtil; 61 IRunUtil getRunUtil() { in getRunUtil()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | SandboxConfigurationFactoryTest.java | 31 import com.android.tradefed.util.IRunUtil; 32 import com.android.tradefed.util.IRunUtil.EnvPriority; 53 private IRunUtil mMockRunUtil; 60 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTestTest.java | 29 import com.android.tradefed.util.IRunUtil; 43 private IRunUtil mMockRunUtil; 50 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp() 57 IRunUtil getRunUtil() { in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/ |
D | AbstractHostMonitor.java | 21 import com.android.tradefed.util.IRunUtil; 105 IRunUtil getRunUtil() { in getRunUtil()
|