/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | RunUtilFuncTest.java | 66 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()
|
D | RunUtilTest.java | 394 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()
|
D | PerfettoTraceRecorderFuncTest.java | 70 RunUtil.getDefault().sleep(5000); // collect trace for five seconds in testPerfettoTraceRecorded()
|
/tools/tradefederation/core/javatests/com/android/tradefed/command/ |
D | CommandSchedulerFuncTest.java | 156 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/ |
D | AnnotationRetention.kt | 27 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/ |
D | TestDeviceFuncTest.java | 648 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 …]
|
D | DeviceStateMonitorTest.java | 250 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()
|
D | BackgroundDeviceActionTest.java | 80 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/ |
D | PerfettoTraceRecorder.java | 87 RunUtil.getDefault() in startTrace() 128 RunUtil.getDefault() in startTrace() 163 RunUtil.getDefault().sleep(1 * 1000); in startTrace() 190 RunUtil.getDefault() in stopTrace()
|
D | AaptParser.java | 187 RunUtil.getDefault() in parse() 203 RunUtil.getDefault() in parse()
|
D | DeviceRecoveryModeUtil.java | 59 RunUtil.getDefault().sleep(bufferMs); in bootOutOfRecovery()
|
D | RequestUtil.java | 48 runUtil = RunUtil.getDefault(); in requestWithBackoff()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | CpuThrottlingWaiter.java | 65 RunUtil.getDefault().sleep(mMaxWaitSecs * 1000); in setUp() 99 RunUtil.getDefault().sleep(intervalMs); in setUp() 102 RunUtil.getDefault().sleep(mPostIdleWaitSecs * 1000); in setUp()
|
D | TimeWaster.java | 61 return RunUtil.getDefault(); in getRunUtil()
|
/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/contrib/src/com/android/wireless/tests/ |
D | RadioHelper.java | 42 return RunUtil.getDefault(); in getRunUtil() 71 RunUtil.getDefault().sleep(5 * 1000); in isCdmaDevice()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | HermeticMemoryTest.java | 120 RunUtil.getDefault().sleep(5000); in run() 122 RunUtil.getDefault().sleep(5000); in run() 133 RunUtil.getDefault().sleep(mPostAppLaunchDelay); in run()
|
D | AppIncrementalInstallTest.java | 102 RunUtil.getDefault().sleep(mTestStartDelay); in run() 125 RunUtil.getDefault().sleep(mTestDelayBetweenInstalls); in run()
|
D | AppInstallTest.java | 130 RunUtil.getDefault().sleep(mTestStartDelay); in run() 153 RunUtil.getDefault().sleep(mTestDelayBetweenInstalls); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/token/ |
D | CecControllerTokenProvider.java | 93 Process cecClient = RunUtil.getDefault().runCmdInBackground(listPortsCommand); in getValidCecClientPorts() 183 mCecClient = RunUtil.getDefault().runCmdInBackground(launchCommand); in isCecAdapterConnected()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | RunCommandTargetPreparerTest.java | 242 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/ |
D | DeviceStateTransitionFuncTests.java | 50 RunUtil.getDefault().sleep(30000); in testFastbootTransition()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FuseUtil.java | 39 return RunUtil.getDefault(); in getRunUtil()
|
/tools/tradefederation/core/javatests/com/android/tradefed/build/ |
D | FileDownloadCacheFuncTest.java | 147 RunUtil.getDefault().sleep(10); in testFetchRemoteFile_multiConcurrent() 177 RunUtil.getDefault().sleep(10); in testFetchRemoteFile_multiConcurrent()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | NestedDeviceStateMonitor.java | 70 RunUtil.getDefault().sleep(200L); in nestedWaitForDeviceOnline()
|