Home
last modified time | relevance | path

Searched refs:IRunUtil (Results 1 – 25 of 120) sorted by relevance

12345

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DLocalAndroidVirtualDeviceTest.java29 import com.android.tradefed.util.IRunUtil;
66 IRunUtil currentRunUtil;
90 IRunUtil createRunUtil() { in createRunUtil()
92 IRunUtil returnValue = currentRunUtil; in createRunUtil()
219 private IRunUtil mockAcloudCreate( in mockAcloudCreate()
225 IRunUtil runUtil = EasyMock.createMock(IRunUtil.class); in mockAcloudCreate()
270 private IRunUtil mockAcloudDelete(CommandStatus status) { in mockAcloudDelete()
271 IRunUtil runUtil = EasyMock.createMock(IRunUtil.class); in mockAcloudDelete()
332 IRunUtil acloudCreateRunUtil = in testPreinvocationSetupSuccess()
340 IRunUtil acloudDeleteRunUtil = mockAcloudDelete(CommandStatus.SUCCESS); in testPreinvocationSetupSuccess()
[all …]
DAndroidDebugBridgeWrapperTest.java22 import com.android.tradefed.util.IRunUtil;
35 private IRunUtil mMockRunUtil;
39 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp()
43 IRunUtil getRunUtil() { in setUp()
DRemoteAndroidDeviceTest.java27 import com.android.tradefed.util.IRunUtil;
42 private IRunUtil mMockRunUtil;
56 protected IRunUtil getRunUtil() { in getRunUtil()
73 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDeviceTest.java47 import com.android.tradefed.util.IRunUtil;
74 private IRunUtil mMockRunUtil;
92 protected IRunUtil getRunUtil() { in getRunUtil()
132 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp()
161 protected IRunUtil getRunUtil() { in testExceptionFromParser()
353 protected IRunUtil getRunUtil() { in testLaunchGce_bootFail()
399 protected IRunUtil getRunUtil() { in testLaunchGce_nullPort()
483 IRunUtil mockRunUtil = Mockito.mock(IRunUtil.class); in testDeviceNotStoreShutdownState()
516 protected IRunUtil getRunUtil() { in testDeviceNotStoreShutdownState()
586 IRunUtil mockRunUtil = Mockito.mock(IRunUtil.class); in testDevice_skipTearDown()
[all …]
DGceManagerTest.java36 import com.android.tradefed.util.IRunUtil;
65 private IRunUtil mMockRunUtil;
70 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp()
83 IRunUtil getRunUtil() { in setUp()
253 IRunUtil getRunUtil() { in testBuildGceCommandWithEmulatorBuild()
335 IRunUtil getRunUtil() { in testStartGce_timeout()
422 IRunUtil getRunUtil() { in testStartGce()
479 IRunUtil getRunUtil() { in testStartGce_failed()
521 IRunUtil getRunUtil() { in testStartGce_bootFail()
576 IRunUtil getRunUtil() { in testShutdownGce()
[all …]
DNestedRemoteDeviceTest.java31 import com.android.tradefed.util.IRunUtil;
48 private IRunUtil mMockRunUtil;
56 mMockRunUtil = Mockito.mock(IRunUtil.class); in setUp()
64 protected IRunUtil getRunUtil() { in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilTest.java29 import com.android.tradefed.util.IRunUtil.EnvPriority;
30 import com.android.tradefed.util.IRunUtil.IRunnableResult;
113 IRunUtil.IRunnableResult mockRunnable = EasyMock.createStrictMock( in testRunTimed()
114 IRunUtil.IRunnableResult.class); in testRunTimed()
126 IRunUtil.IRunnableResult mockRunnable = EasyMock.createStrictMock( in testRunTimed_failed()
127 IRunUtil.IRunnableResult.class); in testRunTimed_failed()
139 IRunUtil.IRunnableResult mockRunnable = EasyMock.createStrictMock( in testRunTimed_exception()
140 IRunUtil.IRunnableResult.class); in testRunTimed_exception()
256 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in testRunEscalatingTimedRetry_timeout()
267 IRunUtil.IRunnableResult mockRunnable = EasyMock.createStrictMock( in testRunEscalatingTimedRetry_timeout()
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java48 public class RunUtil implements IRunUtil {
57 private static IRunUtil sDefaultInstance = null;
86 public static IRunUtil getDefault() { in getDefault()
367 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in runTimed()
426 IRunUtil.IRunnableResult runnable) { in runTimedRetry()
442 final long maxTime, final IRunUtil.IRunnableResult runnable) { in runFixedTimedRetry()
460 final IRunUtil.IRunnableResult runnable) { in runEscalatingTimedRetry()
548 private final IRunUtil.IRunnableResult mRunnable;
552 RunnableNotifier(IRunUtil.IRunnableResult runnable, boolean logErrors) { in RunnableNotifier()
601 class RunnableResult implements IRunUtil.IRunnableResult {
DIRunUtil.java30 public interface IRunUtil { interface
262 public CommandStatus runTimed(long timeout, IRunUtil.IRunnableResult runnable, in runTimed()
275 IRunUtil.IRunnableResult runnable); in runTimedRetry()
287 final long maxTime, final IRunUtil.IRunnableResult runnable); in runFixedTimedRetry()
304 final long maxPollInterval, final long maxTime, final IRunUtil.IRunnableResult in runEscalatingTimedRetry()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DPythonUnitTestRunnerTest.java28 import com.android.tradefed.util.IRunUtil;
164 private IRunUtil getMockRunUtil(UnitTestResult testResult) { in getMockRunUtil()
166 IRunUtil mockRunUtil = EasyMock.createMock(IRunUtil.class); in getMockRunUtil()
205 IRunUtil mockRunUtil = getMockRunUtil(UnitTestResult.PASS); in testRunPass()
215 IRunUtil mockRunUtil = getMockRunUtil(UnitTestResult.FAIL); in testRunFail()
225 IRunUtil mockRunUtil = getMockRunUtil(UnitTestResult.EXECUTION_FAIL); in testRunExecutionFail()
239 IRunUtil mockRunUtil = getMockRunUtil(UnitTestResult.TIMEOUT); in testRunTimeout()
DNoisyDryRunTestTest.java36 import com.android.tradefed.util.IRunUtil;
37 import com.android.tradefed.util.IRunUtil.EnvPriority;
60 private IRunUtil mMockRunUtil;
77 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp()
304 IRunUtil createRunUtil() { in testLoading_sandboxed()
359 IRunUtil createRunUtil() { in testLoading_sandboxed_failed()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceManager.java36 import com.android.tradefed.util.IRunUtil;
392 TestDeviceOptions options, IRunUtil runUtil, String instanceName) { in AcloudShutdown()
457 GceAvdInfo gceAvd, TestDeviceOptions options, IRunUtil runUtil) throws IOException { in getBugreportzWithSsh()
486 GceAvdInfo gceAvd, TestDeviceOptions options, IRunUtil runUtil) throws IOException { in getNestedDeviceSshBugreportz()
533 IRunUtil runUtil, in logNestedRemoteFile()
556 IRunUtil runUtil, in logNestedRemoteFile()
600 IRunUtil runUtil, in remoteSshCommandExecution()
607 GceAvdInfo gceAvd, TestDeviceOptions options, IRunUtil runUtil, String... command) { in remoteSshCommandExec()
632 GceAvdInfo infos, File avdConfigFile, File jsonKeyFile, IRunUtil runUtil) { in getInstanceSerialLog()
686 IRunUtil getRunUtil() { in getRunUtil()
DRemoteFileUtil.java24 import com.android.tradefed.util.IRunUtil;
48 IRunUtil runUtil, in fetchRemoteFile()
83 IRunUtil runUtil, in fetchRemoteFile()
113 IRunUtil runUtil, in fetchRemoteDir()
142 IRunUtil runUtil, in fetchRemoteDir()
184 IRunUtil runUtil, in pushFileToRemote()
203 IRunUtil runUtil, in internalScpExec()
DCommonLogRemoteFileUtil.java27 import com.android.tradefed.util.IRunUtil;
114 IRunUtil runUtil) { in fetchCommonFiles()
156 IRunUtil runUtil) { in fetchTombstones()
218 IRunUtil runUtil, in LogRemoteFile()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java57 import com.android.tradefed.util.IRunUtil;
150 IRunUtil runUtil = new RunUtil(); in runTests()
310 IRunUtil runUtil, in runRemote()
412 IRunUtil runUtil, in isStillRunning()
531 private void resetAdb(GceAvdInfo info, TestDeviceOptions options, IRunUtil runUtil) { in resetAdb()
550 GceAvdInfo info, TestDeviceOptions options, IRunUtil runUtil, ITestLogger logger) { in collectAdbLogs()
669 IRunUtil runUtil, in fetchAndProcessResults()
710 IRunUtil runUtil) { in fetchRemoteAndLogFile()
DDelegatedInvocationExecution.java37 import com.android.tradefed.util.IRunUtil;
38 import com.android.tradefed.util.IRunUtil.EnvPriority;
131 IRunUtil runUtil = createRunUtil(receiver.getSocketServerPort()); in runTests()
180 private IRunUtil createRunUtil(int port) throws IOException { in createRunUtil()
181 IRunUtil runUtil = new RunUtil(); in createRunUtil()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DPythonUnitTestRunner.java30 import com.android.tradefed.util.IRunUtil;
74 private IRunUtil mRunUtil;
80 protected IRunUtil getRunUtil() { in getRunUtil()
93 IRunUtil runUtil = getRunUtil(); in run()
119 IRunUtil runUtil = RunUtil.getDefault(); in getPythonBinary()
193 void doRunTest(ITestInvocationListener listener, IRunUtil runUtil, String pyModule) { in doRunTest()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparer.java35 import com.android.tradefed.util.IRunUtil;
62 private IRunUtil mRunUtil;
102 IRunUtil restartAdb = createRunUtil(); in setUp()
140 IRunUtil createRunUtil() { in createRunUtil()
149 private IRunUtil getRunUtil() { in getRunUtil()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DTradefedSandboxTest.java38 import com.android.tradefed.util.IRunUtil;
39 import com.android.tradefed.util.IRunUtil.EnvPriority;
61 private IRunUtil mMockRunUtil;
65 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp()
69 IRunUtil createRunUtil() { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandLauncher.java39 import com.android.tradefed.util.IRunUtil;
113 private IRunUtil mRunUtil;
141 final IRunUtil runUtil = getRunUtil(); in run()
217 final IRunUtil runUtil, final File stdoutFile, final File stderrFile) { in runSetupScripts()
352 IRunUtil getRunUtil() { in getRunUtil()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DSubprocessTfLauncher.java39 import com.android.tradefed.util.IRunUtil;
40 import com.android.tradefed.util.IRunUtil.EnvPriority;
171 protected IRunUtil mRunUtil = new RunUtil();
207 protected void setRunUtil(IRunUtil runUtil) { in setRunUtil()
212 protected IRunUtil getRunUtil() { in getRunUtil()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DTestOutputUploaderTest.java22 import com.android.tradefed.util.IRunUtil;
39 private IRunUtil mMockRunUtil;
45 mMockRunUtil = Mockito.mock(IRunUtil.class); in setUp()
49 IRunUtil getRunUtil() { in setUp()
DClusterDeviceMonitorTest.java22 import com.android.tradefed.util.IRunUtil;
46 private IRunUtil mRunUtil = null;
56 mRunUtil = EasyMock.createMock(IRunUtil.class); in setUp()
62 public IRunUtil getRunUtil() { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigUtil.java26 import com.android.tradefed.util.IRunUtil;
27 import com.android.tradefed.util.IRunUtil.EnvPriority;
57 String classpath, IRunUtil runUtil, String[] args, DumpCmd dump, File globalConfig) in dumpConfigForVersion()
121 File rootDir, IRunUtil runUtil, String[] args, DumpCmd dump, File globalConfig) in dumpConfigForVersion()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/sl4a/
DSl4aClientTest.java23 import com.android.tradefed.util.IRunUtil;
43 private IRunUtil mMockRunUtil;
48 mMockRunUtil = EasyMock.createMock(IRunUtil.class); in setUp()
52 protected IRunUtil getRunUtil() { in setUp()

12345