/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
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()
|
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()
|
D | RunUtilTest.java | 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()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerFuncTest.java | 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() 523 RunUtil.getDefault().allowInterrupt(true); in testShutdown_notInterruptible_timeout() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | CpuThrottlingWaiter.java | 66 RunUtil.getDefault().sleep(mMaxWaitSecs * 1000); in setUp() 100 RunUtil.getDefault().sleep(intervalMs); in setUp() 103 RunUtil.getDefault().sleep(mPostIdleWaitSecs * 1000); in setUp()
|
D | TemperatureThrottlingWaiter.java | 94 RunUtil.getDefault().sleep(intervalMs); in setUp() 97 RunUtil.getDefault().sleep(mPostIdleWaitSecs * 1000); in setUp()
|
D | ConnectionChecker.java | 45 RunUtil.getDefault().sleep(mInterval * 1000); in setUp()
|
D | TimeWaster.java | 62 return RunUtil.getDefault(); in getRunUtil()
|
D | WaitForDeviceDatetimePreparer.java | 155 return RunUtil.getDefault(); in getRunUtil()
|
/tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/ |
D | RadioHelper.java | 46 return RunUtil.getDefault(); in getRunUtil() 78 RunUtil.getDefault().sleep(5 * 1000); in isCdmaDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/guice/ |
D | InvocationScopeModule.java | 31 this(InvocationScope.getDefault()); in InvocationScopeModule()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | ScheduledDeviceMetricCollectorTest.java | 85 RunUtil.getDefault().sleep(500); in testSetupAndPeriodicRunSingleDevice() 114 RunUtil.getDefault().sleep(500); in testSetupAndPeriodicRunMultipleDevices()
|
D | ScheduleMultipleDeviceMetricCollectorTest.java | 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/prod-tests/src/com/android/framework/tests/ |
D | DataIdleTestHelper.java | 53 RunUtil.getDefault().sleep(PING_WAITING_TIME); in pingTest()
|
D | PreloadedClassesTest.java | 183 CommandResult result = RunUtil.getDefault().runTimedCmd(SCAN_TIMEOUT_MS, fullCmd); in scanAndExportClasses() 217 CommandResult result = RunUtil.getDefault().runTimedCmd(COMPUTE_TIMEOUT_MS, fullCmd); in writePreloadedClasses()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AdbScreenrecordTest.java | 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/src/com/android/tradefed/util/ |
D | DeviceRecoveryModeUtil.java | 59 RunUtil.getDefault().sleep(bufferMs); in bootOutOfRecovery()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | ReconnectingRecovery.java | 97 return RunUtil.getDefault(); in getRunUtil()
|
D | DeviceDiagTest.java | 46 RunUtil.getDefault().sleep(1*1000); in testAllDevicesAvailable()
|
D | BackgroundDeviceAction.java | 138 return RunUtil.getDefault(); in getRunUtil()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceStateMonitorTest.java | 74 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForDeviceOnline() 136 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForDeviceOffline() 214 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForShell_becomeAvailable() 295 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForBoot_becomeComplete() 388 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForPm_becomeResponsive() 583 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForStoreMount_becomeAvailable() 634 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForStoreMount_outputBecomeValid()
|
D | BackgroundDeviceActionTest.java | 77 RunUtil.getDefault().sleep(SHORT_WAIT_TIME_MS); in testBackgroundActionComplete() 108 RunUtil.getDefault().sleep(LONG_WAIT_TIME_MS); in testBackgroundAction_shellException()
|
D | TestDeviceFuncTest.java | 603 RunUtil.getDefault().sleep(15 * 1000); in testRebootIntoRecovery() 627 RunUtil.getDefault().sleep(2000); in testClearErrorDialogs_crash() 635 RunUtil.getDefault().sleep(2000); in testClearErrorDialogs_crash() 638 RunUtil.getDefault().sleep(2000); in testClearErrorDialogs_crash() 656 RunUtil.getDefault().sleep(3000); in testDisableKeyguard() 716 RunUtil.getDefault().sleep(500); in testGetLogcat_size()
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
D | HermeticMemoryTest.java | 108 RunUtil.getDefault().sleep(5000); in run() 110 RunUtil.getDefault().sleep(5000); in run() 115 RunUtil.getDefault().sleep(mPostAppLaunchDelay); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/ |
D | AbstractHostMonitor.java | 106 return RunUtil.getDefault(); in getRunUtil()
|