/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilFuncTest.java | 62 assertEquals(CommandStatus.TIMED_OUT, RunUtil.getDefault().runTimed(SHORT_TIMEOUT_MS, in testRunTimed_timeout() 86 assertTrue(RunUtil.getDefault().runTimedRetry(100, SHORT_TIMEOUT_MS, maxAttempts, in testRunTimedRetry() 102 RunUtil.getDefault().runTimedCmd(LONG_TIMEOUT_MS, "echo", "hello"); in testRunTimedCmd_repeatedOutput() 116 CommandResult result = RunUtil.getDefault().runTimedCmd(0l, "sleep", "35"); in testRunTimedCmd_noTimeout() 141 RunUtil.getDefault() in testRunTimedCmd_largeOutput() 160 RunUtil runUtil = new RunUtil(); in testUnsetEnvVariable() 187 RunUtil runUtil = new RunUtil(); in testRunTimedCmd_timeout() 206 t.getName().contains(RunUtil.RUNNABLE_NOTIFIER_NAME)); in testRunTimedCmd_timeout() 209 t.getName().contains(RunUtil.INHERITIO_PREFIX)); in testRunTimedCmd_timeout()
|
D | RunUtilTest.java | 23 import com.android.tradefed.util.RunUtil.RunnableResult; 40 private RunUtil mRunUtil; 54 mRunUtil = new RunUtil(); in setUp() 59 class SpyRunUtil extends RunUtil { 137 RunUtil spyUtil = new SpyRunUtil(true); in testRunTimedCmd_failed() 161 RunUtil.getDefault().setWorkingDir(new File("foo")); in testSetWorkingDir_default() 174 RunUtil.getDefault().setEnvVariable("foo", "bar"); in testSetEnvVariable_default() 187 RunUtil.getDefault().unsetEnvVariable("foo"); in testUnsetEnvVariable_default() 202 RunUtil runUtil = new RunUtil() { in testRunEscalatingTimedRetry_timeout() 305 RunUtil spyUtil = new SpyRunUtil(false); in testRuntimedCmd_withFileOutputStream() [all …]
|
D | GCSFileDownloaderFuncTest.java | 53 RunUtil.getDefault() in setUpBeforeClass() 62 RunUtil.getDefault() in setUpBeforeClass() 80 RunUtil.getDefault() in tearDownAfterClass() 87 cr = RunUtil.getDefault().runTimedCmd(TIMEOUT, GSUTIL, "rb", "-f", sBucketUrl); in tearDownAfterClass()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | CpuThrottlingWaiter.java | 24 import com.android.tradefed.util.RunUtil; 66 RunUtil.getDefault().sleep(mMaxWaitSecs * 1000); in setUp() 100 RunUtil.getDefault().sleep(intervalMs); in setUp() 103 RunUtil.getDefault().sleep(mPostIdleWaitSecs * 1000); in setUp()
|
D | ConnectionChecker.java | 23 import com.android.tradefed.util.RunUtil; 45 RunUtil.getDefault().sleep(mInterval * 1000); in setUp()
|
D | TemperatureThrottlingWaiter.java | 24 import com.android.tradefed.util.RunUtil; 94 RunUtil.getDefault().sleep(intervalMs); in setUp() 97 RunUtil.getDefault().sleep(mPostIdleWaitSecs * 1000); in setUp()
|
D | TimeWaster.java | 25 import com.android.tradefed.util.RunUtil; 62 return RunUtil.getDefault(); in getRunUtil()
|
D | WaitForDeviceDatetimePreparer.java | 25 import com.android.tradefed.util.RunUtil; 155 return RunUtil.getDefault(); in getRunUtil()
|
D | PreloadedClassesPreparer.java | 27 import com.android.tradefed.util.RunUtil; 114 return RunUtil.getDefault(); in getRunUtil()
|
D | DeviceCleaner.java | 27 import com.android.tradefed.util.RunUtil; 142 RunUtil.getDefault().sleep(SCREEN_OFF_RETRY_DELAY_MS * retries); in turnScreenOff()
|
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
D | DataIdleTestHelper.java | 22 import com.android.tradefed.util.RunUtil; 53 RunUtil.getDefault().sleep(PING_WAITING_TIME); in pingTest()
|
/tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/ |
D | RadioHelper.java | 22 import com.android.tradefed.util.RunUtil; 46 return RunUtil.getDefault(); in getRunUtil() 78 RunUtil.getDefault().sleep(5 * 1000); in isCdmaDevice()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerFuncTest.java | 42 import com.android.tradefed.util.RunUtil; 134 RunUtil.getDefault().allowInterrupt(true); in setUp() 219 RunUtil.getDefault().allowInterrupt(true); in invoke() 223 RunUtil.getDefault().sleep(200); in invoke() 233 RunUtil.getDefault().sleep(100); in invoke() 367 RunUtil.getDefault().sleep(500); in testShutdown_interruptible() 408 RunUtil.getDefault().allowInterrupt(true); in testShutdown_notInterruptible() 443 RunUtil.getDefault().sleep(1000); in testShutdown_notInterruptible() 479 RunUtil.getDefault().allowInterrupt(true); in invoke() 482 RunUtil.getDefault().sleep(2000); in invoke() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | ReconnectingRecovery.java | 21 import com.android.tradefed.util.RunUtil; 97 return RunUtil.getDefault(); in getRunUtil()
|
D | DeviceDiagTest.java | 21 import com.android.tradefed.util.RunUtil; 46 RunUtil.getDefault().sleep(1*1000); in testAllDevicesAvailable()
|
D | BackgroundDeviceAction.java | 26 import com.android.tradefed.util.RunUtil; 138 return RunUtil.getDefault(); in getRunUtil()
|
D | AndroidDebugBridgeWrapper.java | 27 import com.android.tradefed.util.RunUtil; 145 return RunUtil.getDefault(); in getRunUtil()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | ScheduledDeviceMetricCollectorTest.java | 28 import com.android.tradefed.util.RunUtil; 85 RunUtil.getDefault().sleep(500); in testSetupAndPeriodicRunSingleDevice() 114 RunUtil.getDefault().sleep(500); in testSetupAndPeriodicRunMultipleDevices()
|
D | ScheduleMultipleDeviceMetricCollectorTest.java | 29 import com.android.tradefed.util.RunUtil; 164 RunUtil.getDefault().sleep(500); in testMultipleMetricCollector_success() 189 RunUtil.getDefault().sleep(500); in testMultipleMetricCollector_noFailureEvenIfNoCollectorRequested() 233 RunUtil.getDefault().sleep(500); in testMultipleMetricCollector_collectorNotFound()
|
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/ |
D | AbstractHostMonitor.java | 22 import com.android.tradefed.util.RunUtil; 106 return RunUtil.getDefault(); in getRunUtil()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | CodeCoverageTest.java | 31 import com.android.tradefed.util.RunUtil; 89 RunUtil.getDefault().sleep(2000); in run()
|
D | PythonUnitTestRunner.java | 30 import com.android.tradefed.util.RunUtil; 78 mRunUtil = new RunUtil(); in getRunUtil() 115 IRunUtil runUtil = RunUtil.getDefault(); in getPythonBinary()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | BackgroundDeviceActionTest.java | 20 import com.android.tradefed.util.RunUtil; 77 RunUtil.getDefault().sleep(SHORT_WAIT_TIME_MS); in testBackgroundActionComplete() 108 RunUtil.getDefault().sleep(LONG_WAIT_TIME_MS); in testBackgroundAction_shellException()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AdbScreenrecordTest.java | 31 import com.android.tradefed.util.RunUtil; 264 RunUtil.getDefault() in extractDurationAndBitrateFromVideoFileUsingAvprobe() 376 RunUtil.getDefault().runTimedCmd(CMD_TIMEOUT_MS, swName, "-version"); in verifyRequiredSoftwareIsInstalled() 385 String hostname = RunUtil.getDefault().runTimedCmd(CMD_TIMEOUT_MS, "hostname").getStdout(); in verifyRequiredSoftwareIsInstalled() 427 RunUtil.getDefault().sleep(POLLING_INTERVAL_MS); in waitForFile()
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
D | HermeticMemoryTest.java | 29 import com.android.tradefed.util.RunUtil; 108 RunUtil.getDefault().sleep(5000); in run() 110 RunUtil.getDefault().sleep(5000); in run() 115 RunUtil.getDefault().sleep(mPostAppLaunchDelay); in run()
|