Home
last modified time | relevance | path

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

1234

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilFuncTest.java63 assertEquals(CommandStatus.TIMED_OUT, RunUtil.getDefault().runTimed(SHORT_TIMEOUT_MS, in testRunTimed_timeout()
87 assertTrue(RunUtil.getDefault().runTimedRetry(100, SHORT_TIMEOUT_MS, maxAttempts, in testRunTimedRetry()
103 RunUtil.getDefault().runTimedCmd(LONG_TIMEOUT_MS, "echo", "hello"); in testRunTimedCmd_repeatedOutput()
117 CommandResult result = RunUtil.getDefault().runTimedCmd(0l, "sleep", "35"); in testRunTimedCmd_noTimeout()
142 RunUtil.getDefault() in testRunTimedCmd_largeOutput()
222 RunUtil.getDefault() in testRunTimedCmd_WithInputRedirect()
239 RunUtil.getDefault() in testRunTimedCmd_WithOutputRedirect()
/tools/tradefederation/contrib/src/com/android/build/tests/
DKernelImageCheck.java132 CommandResult result = RunUtil.getDefault().runTimedCmd(CMD_TIMEOUT, cmd); in test_stable_abi()
140 result = RunUtil.getDefault().runTimedCmd(CMD_TIMEOUT, cmd); in test_stable_abi()
157 RunUtil.getDefault().runTimedCmd(CMD_TIMEOUT, chmod); in test_stable_abi()
175 result = RunUtil.getDefault().runTimedCmd(CMD_TIMEOUT, abidwCmd.toArray(new String[0])); in test_stable_abi()
192 result = RunUtil.getDefault().runTimedCmd(CMD_TIMEOUT, cmd); in test_stable_abi()
196 result = RunUtil.getDefault().runTimedCmd(CMD_TIMEOUT, cmd); in test_stable_abi()
211 result = RunUtil.getDefault().runTimedCmd(CMD_TIMEOUT, abidiffCmd.toArray(new String[0])); in test_stable_abi()
/tools/tradefederation/contrib/src/com/android/wireless/tests/
DRadioHelper.java42 return RunUtil.getDefault(); in getRunUtil()
71 RunUtil.getDefault().sleep(5 * 1000); in isCdmaDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java610 RunUtil.getDefault().sleep(15 * 1000); in testRebootIntoRecovery()
622 RunUtil.getDefault().sleep(1000); in waitForSystemServerProcess()
646 RunUtil.getDefault().sleep(1000); in testDeviceSoftRestart()
658 RunUtil.getDefault().sleep(10000); in testDeviceSoftRestart()
661 RunUtil.getDefault().sleep(1000); in testDeviceSoftRestart()
688 RunUtil.getDefault().sleep(2000); in testClearErrorDialogs_crash()
696 RunUtil.getDefault().sleep(2000); in testClearErrorDialogs_crash()
699 RunUtil.getDefault().sleep(2000); in testClearErrorDialogs_crash()
717 RunUtil.getDefault().sleep(3000); in testDisableKeyguard()
777 RunUtil.getDefault().sleep(500); in testGetLogcat_size()
DBackgroundDeviceActionTest.java77 RunUtil.getDefault().sleep(SHORT_WAIT_TIME_MS); in testBackgroundActionComplete()
108 RunUtil.getDefault().sleep(LONG_WAIT_TIME_MS); in testBackgroundAction_shellException()
DDeviceStateMonitorTest.java75 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForDeviceOnline()
137 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForDeviceOffline()
215 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForShell_becomeAvailable()
296 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForBoot_becomeComplete()
389 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForPm_becomeResponsive()
605 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForStoreMount_becomeAvailable()
656 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForStoreMount_outputBecomeValid()
/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/test_framework/com/android/tradefed/targetprep/
DTemperatureThrottlingWaiter.java95 RunUtil.getDefault().sleep(intervalMs); in setUp()
98 RunUtil.getDefault().sleep(mPostIdleWaitSecs * 1000); in setUp()
DTimeWaster.java61 return RunUtil.getDefault(); in getRunUtil()
DWaitForDeviceDatetimePreparer.java156 return RunUtil.getDefault(); in getRunUtil()
/tools/tradefederation/core/src/com/android/tradefed/guice/
DInvocationScopeModule.java32 this(InvocationScope.getDefault()); in InvocationScopeModule()
/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/
DAaptParser.java134 RunUtil.getDefault() in parse()
156 RunUtil.getDefault() in parse()
DDeviceRecoveryModeUtil.java59 RunUtil.getDefault().sleep(bufferMs); in bootOutOfRecovery()
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DDeviceStateTransitionFuncTests.java53 RunUtil.getDefault().sleep(30000); in testFastbootTransition()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceDiagTest.java46 RunUtil.getDefault().sleep(1*1000); in testAllDevicesAvailable()
DBackgroundDeviceAction.java142 return RunUtil.getDefault(); in getRunUtil()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppIncrementalInstallTest.java102 RunUtil.getDefault().sleep(mTestStartDelay); in run()
125 RunUtil.getDefault().sleep(mTestDelayBetweenInstalls); in run()
DAppInstallTest.java130 RunUtil.getDefault().sleep(mTestStartDelay); in run()
153 RunUtil.getDefault().sleep(mTestDelayBetweenInstalls); in run()
DHermeticMemoryTest.java120 RunUtil.getDefault().sleep(5000); in run()
122 RunUtil.getDefault().sleep(5000); in run()
133 RunUtil.getDefault().sleep(mPostAppLaunchDelay); in run()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedDeviceStateMonitor.java70 RunUtil.getDefault().sleep(200L); in nestedWaitForDeviceOnline()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DUsbResetTest.java79 return RunUtil.getDefault(); in getRunUtil()
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/hostmetric/
DAbstractHostMonitor.java106 return RunUtil.getDefault(); in getRunUtil()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceCleaner.java142 RunUtil.getDefault().sleep(SCREEN_OFF_RETRY_DELAY_MS * retries); in turnScreenOff()

1234