Home
last modified time | relevance | path

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

123456

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DRunUtilFuncTest.java66 assertEquals(CommandStatus.TIMED_OUT, RunUtil.getDefault().runTimed(SHORT_TIMEOUT_MS, in testRunTimed_timeout()
91 assertTrue(RunUtil.getDefault().runTimedRetry(100, SHORT_TIMEOUT_MS, maxAttempts, in testRunTimedRetry()
108 RunUtil.getDefault().runTimedCmd(LONG_TIMEOUT_MS, "echo", "hello"); in testRunTimedCmd_repeatedOutput()
123 CommandResult result = RunUtil.getDefault().runTimedCmd(0L, "sleep", "35"); in testRunTimedCmd_noTimeout()
150 RunUtil.getDefault() in testRunTimedCmd_largeOutput()
231 RunUtil.getDefault() in testRunTimedCmd_WithInputRedirect()
247 RunUtil.getDefault() in testRunTimedCmd_WithOutputRedirect()
DRunUtilTest.java394 RunUtil.getDefault().setWorkingDir(new File("foo")); in testSetWorkingDir_default()
408 RunUtil.getDefault().setEnvVariable("foo", "bar"); in testSetEnvVariable_default()
422 RunUtil.getDefault().unsetEnvVariable("foo"); in testUnsetEnvVariable_default()
DPerfettoTraceRecorderFuncTest.java70 RunUtil.getDefault().sleep(5000); // collect trace for five seconds in testPerfettoTraceRecorded()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerFuncTest.java156 RunUtil.getDefault().allowInterrupt(true); in setUp()
243 RunUtil.getDefault().allowInterrupt(true); in invoke()
247 RunUtil.getDefault().sleep(mSleepTimMs); in invoke()
257 RunUtil.getDefault().sleep(100); in invoke()
390 RunUtil.getDefault().sleep(500); in testShutdown_interruptible()
431 RunUtil.getDefault().allowInterrupt(true); in testShutdown_notInterruptible()
468 RunUtil.getDefault().sleep(1000); in testShutdown_notInterruptible()
504 RunUtil.getDefault().allowInterrupt(true); in invoke()
507 RunUtil.getDefault().sleep(2000); in invoke()
559 RunUtil.getDefault().allowInterrupt(true); in testShutdown_notInterruptible_timeout()
[all …]
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DAnnotationRetention.kt27 fun getDefault(classItem: ClassItem): AnnotationRetention { in getDefault() method
28 return getDefault(classItem.isKotlin()) in getDefault()
31 fun getDefault(isKotlin: Boolean = false): AnnotationRetention { in getDefault() method
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceFuncTest.java648 RunUtil.getDefault().sleep(15 * 1000); in testRebootIntoRecovery()
660 RunUtil.getDefault().sleep(1000); in waitForSystemServerProcess()
689 RunUtil.getDefault().sleep(1000); in testDeviceSoftRestart()
696 RunUtil.getDefault().sleep(1000); in testDeviceSoftRestart()
704 RunUtil.getDefault().sleep(10000); in testDeviceSoftRestart()
707 RunUtil.getDefault().sleep(1000); in testDeviceSoftRestart()
735 RunUtil.getDefault().sleep(2000); in testClearErrorDialogs_crash()
743 RunUtil.getDefault().sleep(2000); in testClearErrorDialogs_crash()
746 RunUtil.getDefault().sleep(2000); in testClearErrorDialogs_crash()
765 RunUtil.getDefault().sleep(5000); in testDisableKeyguard()
[all …]
DDeviceStateMonitorTest.java250 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForShell_becomeAvailable()
382 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForBoot_becomeComplete()
480 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForPm_becomeResponsive()
693 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForStoreMount_becomeAvailable()
747 RunUtil.getDefault().sleep(WAIT_STATE_CHANGE_MS); in testWaitForStoreMount_outputBecomeValid()
DBackgroundDeviceActionTest.java80 RunUtil.getDefault().sleep(SHORT_WAIT_TIME_MS); in testBackgroundActionComplete()
117 RunUtil.getDefault().sleep(LONG_WAIT_TIME_MS); in testBackgroundAction_shellException()
/tools/tradefederation/core/src/com/android/tradefed/util/
DPerfettoTraceRecorder.java87 RunUtil.getDefault() in startTrace()
128 RunUtil.getDefault() in startTrace()
163 RunUtil.getDefault().sleep(1 * 1000); in startTrace()
190 RunUtil.getDefault() in stopTrace()
DAaptParser.java187 RunUtil.getDefault() in parse()
203 RunUtil.getDefault() in parse()
DDeviceRecoveryModeUtil.java59 RunUtil.getDefault().sleep(bufferMs); in bootOutOfRecovery()
DRequestUtil.java48 runUtil = RunUtil.getDefault(); in requestWithBackoff()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DCpuThrottlingWaiter.java65 RunUtil.getDefault().sleep(mMaxWaitSecs * 1000); in setUp()
99 RunUtil.getDefault().sleep(intervalMs); in setUp()
102 RunUtil.getDefault().sleep(mPostIdleWaitSecs * 1000); in setUp()
DTimeWaster.java61 return RunUtil.getDefault(); in getRunUtil()
/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/contrib/src/com/android/wireless/tests/
DRadioHelper.java42 return RunUtil.getDefault(); in getRunUtil()
71 RunUtil.getDefault().sleep(5 * 1000); in isCdmaDevice()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticMemoryTest.java120 RunUtil.getDefault().sleep(5000); in run()
122 RunUtil.getDefault().sleep(5000); in run()
133 RunUtil.getDefault().sleep(mPostAppLaunchDelay); in run()
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()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/token/
DCecControllerTokenProvider.java93 Process cecClient = RunUtil.getDefault().runCmdInBackground(listPortsCommand); in getValidCecClientPorts()
183 mCecClient = RunUtil.getDefault().runCmdInBackground(launchCommand); in isCecAdapterConnected()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DRunCommandTargetPreparerTest.java242 RunUtil.getDefault().sleep(LONG_WAIT_TIME_MS); in testBgCmd()
296 RunUtil.getDefault().sleep(LONG_WAIT_TIME_MS); in testBgCmd_withTestUserToken_propertyNotSet()
350 RunUtil.getDefault().sleep(LONG_WAIT_TIME_MS); in testBgCmd_withTestUserToken()
/tools/tradefederation/core/javatests/com/android/tradefed/presubmit/
DDeviceStateTransitionFuncTests.java50 RunUtil.getDefault().sleep(30000); in testFastbootTransition()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFuseUtil.java39 return RunUtil.getDefault(); in getRunUtil()
/tools/tradefederation/core/javatests/com/android/tradefed/build/
DFileDownloadCacheFuncTest.java147 RunUtil.getDefault().sleep(10); in testFetchRemoteFile_multiConcurrent()
177 RunUtil.getDefault().sleep(10); in testFetchRemoteFile_multiConcurrent()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedDeviceStateMonitor.java70 RunUtil.getDefault().sleep(200L); in nestedWaitForDeviceOnline()

123456