Home
last modified time | relevance | path

Searched refs:getDefault (Results 1 – 25 of 93) sorted by relevance

1234

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java53 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()
DRunUtilFuncTest.java62 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()
DRunUtilTest.java161 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/
DCommandSchedulerFuncTest.java134 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/
DCpuThrottlingWaiter.java66 RunUtil.getDefault().sleep(mMaxWaitSecs * 1000); in setUp()
100 RunUtil.getDefault().sleep(intervalMs); in setUp()
103 RunUtil.getDefault().sleep(mPostIdleWaitSecs * 1000); in setUp()
DTemperatureThrottlingWaiter.java94 RunUtil.getDefault().sleep(intervalMs); in setUp()
97 RunUtil.getDefault().sleep(mPostIdleWaitSecs * 1000); in setUp()
DConnectionChecker.java45 RunUtil.getDefault().sleep(mInterval * 1000); in setUp()
DTimeWaster.java62 return RunUtil.getDefault(); in getRunUtil()
DWaitForDeviceDatetimePreparer.java155 return RunUtil.getDefault(); in getRunUtil()
/tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/
DRadioHelper.java46 return RunUtil.getDefault(); in getRunUtil()
78 RunUtil.getDefault().sleep(5 * 1000); in isCdmaDevice()
/tools/tradefederation/core/src/com/android/tradefed/guice/
DInvocationScopeModule.java31 this(InvocationScope.getDefault()); in InvocationScopeModule()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DScheduledDeviceMetricCollectorTest.java85 RunUtil.getDefault().sleep(500); in testSetupAndPeriodicRunSingleDevice()
114 RunUtil.getDefault().sleep(500); in testSetupAndPeriodicRunMultipleDevices()
DScheduleMultipleDeviceMetricCollectorTest.java164 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/
DDataIdleTestHelper.java53 RunUtil.getDefault().sleep(PING_WAITING_TIME); in pingTest()
DPreloadedClassesTest.java183 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/
DAdbScreenrecordTest.java264 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/
DDeviceRecoveryModeUtil.java59 RunUtil.getDefault().sleep(bufferMs); in bootOutOfRecovery()
/tools/tradefederation/core/src/com/android/tradefed/device/
DReconnectingRecovery.java97 return RunUtil.getDefault(); in getRunUtil()
DDeviceDiagTest.java46 RunUtil.getDefault().sleep(1*1000); in testAllDevicesAvailable()
DBackgroundDeviceAction.java138 return RunUtil.getDefault(); in getRunUtil()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceStateMonitorTest.java74 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()
DBackgroundDeviceActionTest.java77 RunUtil.getDefault().sleep(SHORT_WAIT_TIME_MS); in testBackgroundActionComplete()
108 RunUtil.getDefault().sleep(LONG_WAIT_TIME_MS); in testBackgroundAction_shellException()
DTestDeviceFuncTest.java603 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/
DHermeticMemoryTest.java108 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/
DAbstractHostMonitor.java106 return RunUtil.getDefault(); in getRunUtil()

1234