/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | VideoMultimeterTest.java | 178 getRunUtil().sleep(3 * 1000); in doCalibration() 180 getRunUtil().sleep(1 * 1000); in doCalibration() 181 CommandResult cr = getRunUtil().runTimedCmd( in doCalibration() 189 getRunUtil().sleep(1 * 1000); in doCalibration() 190 cr = getRunUtil().runTimedCmd(2 * 1000, mMeterUtilPath, CMD_GET_FRAMERATE_STATE); in doCalibration() 197 cr = getRunUtil().runTimedCmd( in doCalibration() 208 getRunUtil().sleep(DEVICE_SYNC_TIME_MS); in setupTestEnv() 209 CommandResult cr = getRunUtil().runTimedCmd( in setupTestEnv() 214 getRunUtil().sleep(3 * 1000); in setupTestEnv() 218 cr = getRunUtil().runTimedCmd(COMMAND_TIMEOUT_MS, mMeterUtilPath, CMD_START_MEASUREMENT); in setupTestEnv() [all …]
|
/tools/tradefederation/core/test_observatory/com/android/tradefed/observatory/ |
D | TestDiscoveryInvoker.java | 96 IRunUtil getRunUtil() { in getRunUtil() method in TestDiscoveryInvoker 190 getRunUtil() in discoverTestDependencies() 194 getRunUtil().setEnvVariable(OUTPUT_FILE, outputFile.getAbsolutePath()); in discoverTestDependencies() 195 getRunUtil().setEnvVariable(DISCOVERY_TRACE_FILE, traceFile.getAbsolutePath()); in discoverTestDependencies() 196 CommandResult res = getRunUtil().runTimedCmd(DISCOVERY_TIMEOUT_MS, subprocessArgs); in discoverTestDependencies() 316 getRunUtil() in discoverTestMappingDependencies() 321 getRunUtil() in discoverTestMappingDependencies() 327 getRunUtil() in discoverTestMappingDependencies() 336 getRunUtil() in discoverTestMappingDependencies() 345 getRunUtil() in discoverTestMappingDependencies() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FuseUtil.java | 38 IRunUtil getRunUtil() { in getRunUtil() method in FuseUtil 52 getRunUtil().runTimedCmd(FUSE_ZIP_TIMEOUT_MILLIS, "test", "-c", "/dev/fuse"); in canMountZip() 54 getRunUtil().runTimedCmd(FUSE_ZIP_TIMEOUT_MILLIS, "which", "fuse-zip"); in canMountZip() 71 getRunUtil() in mountZip() 92 getRunUtil() in unmountZip()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceSshTunnelMonitor.java | 115 IRunUtil getRunUtil() { in getRunUtil() method in GceSshTunnelMonitor 144 getRunUtil().allowInterrupt(true); in shutdown() 145 getRunUtil().interrupt(this, "shutting down the monitor thread.", null); in shutdown() 185 getRunUtil().sleep(DEFAULT_SHORT_CMD_TIMEOUT); in checkSshKey() 217 getRunUtil() in initGce() 239 getRunUtil() in initGce() 292 getRunUtil().sleep(WAIT_FOR_FIRST_CONNECT); in run() 318 getRunUtil().sleep(WAIT_AFTER_REBOOT); in run() 381 getRunUtil() in createSshTunnel()
|
D | NestedRemoteDevice.java | 85 CommandResult powerwashRes = getRunUtil().runTimedCmd(timeout, powerwashCommand.split(" ")); in resetVirtualDevice() 89 CommandResult printAdbDevices = getRunUtil().runTimedCmd(60000L, "adb", "devices"); in resetVirtualDevice() 94 getRunUtil().sleep(5000); in resetVirtualDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/device/connection/ |
D | AdbSshConnection.java | 206 getRunUtil().sleep(WAIT_FOR_TUNNEL_OFFLINE); in reconnect() 228 getRunUtil().sleep(WAIT_FOR_TUNNEL_OFFLINE); in reconnectForRecovery() 304 mGceAvd, getDevice().getOptions(), getRunUtil()); in tearDownConnection() 309 getLogger(), mGceAvd, getDevice().getOptions(), getRunUtil()); in tearDownConnection() 313 getLogger(), mGceAvd, getDevice().getOptions(), getRunUtil()); in tearDownConnection() 326 getRunUtil(), in tearDownConnection() 459 getRunUtil().sleep(RETRY_INTERVAL_MS); in waitForTunnelOnline() 499 mGceAvd, getDevice().getOptions(), getRunUtil()); in getSshBugreport() 503 mGceAvd, getDevice().getOptions(), getRunUtil()); in getSshBugreport() 571 getRunUtil(), in powerwashGce() [all …]
|
D | AdbTcpConnection.java | 153 getRunUtil().sleep((i + 1) * RETRY_INTERVAL_MS); in adbTcpConnect() 168 getRunUtil().sleep(RETRY_INTERVAL_MS); in waitForAdbConnect() 194 IRunUtil runUtil = getRunUtil(); in adbConnect() 226 getRunUtil() in adbTcpDisconnect()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WaitDeviceRecovery.java | 100 protected IRunUtil getRunUtil() { in getRunUtil() method in WaitDeviceRecovery 129 getRunUtil().sleep(INITIAL_PAUSE_TIME); in recoverDevice() 140 getRunUtil() in recoverDevice() 279 getRunUtil().sleep(INITIAL_PAUSE_TIME); in recoverDeviceBootloader() 304 getRunUtil().sleep(INITIAL_PAUSE_TIME); in recoverDeviceFastbootd() 373 getRunUtil() in handleDeviceFastbootdUnresponsive() 392 getRunUtil() in handleDeviceFastbootdUnresponsive() 419 getRunUtil().runTimedCmd(mFastbootWaitTime, mFastbootPath, "-s", monitor.getSerialNumber(), in handleDeviceBootloaderUnresponsive() 431 CommandResult result = getRunUtil().runTimedCmd(mFastbootWaitTime, mFastbootPath, "-s", in handleDeviceBootloaderUnresponsive()
|
D | BackgroundDeviceAction.java | 91 getRunUtil().sleep(mLogStartDelay); in run() 106 getRunUtil().sleep(ONLINE_POLL_INTERVAL_MS); in run() 146 IRunUtil getRunUtil() { in getRunUtil() method in BackgroundDeviceAction 156 getRunUtil().sleep(ONLINE_POLL_INTERVAL_MS); in blockUntilOnlineNoThrow()
|
D | MicrodroidHelper.java | 39 getRunUtil() in runOnMicrodroid() 60 getRunUtil() in tryRunOnMicrodroid() 76 private IRunUtil getRunUtil() { in getRunUtil() method in MicrodroidHelper
|
D | WifiHelper.java | 117 IRunUtil getRunUtil() { in getRunUtil() method in WifiHelper 279 getRunUtil().sleep(getPollTime()); in waitForWifiState() 374 getRunUtil().sleep(getPollTime()); in waitForIp() 469 getRunUtil().sleep(getPollTime()); in waitForWifiEnabled() 490 getRunUtil().sleep(getPollTime()); in waitForWifiDisabled() 553 getRunUtil().sleep(getPollTime()); in checkConnectivityV2() 671 getRunUtil().sleep(getPollTime()); in getScanResults()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTestTest.java | 116 Mockito.doReturn(mMockRunUtil).when(mSpyTest).getRunUtil(); in setUp() 156 verify(mSpyTest.getRunUtil(), times(2)).runTimedCmd(anyLong(), any()); in testRun_withPythonBinariesOption() 197 verify(mSpyTest.getRunUtil(), times(2)).runTimedCmd(anyLong(), any()); in testRun_withParFileNameOption() 309 verify(mSpyTest.getRunUtil(), times(3)).runTimedCmd(anyLong(), any()); in testRun_shouldActivateVenvAndCleanUp_whenVenvIsSet() 310 verify(mSpyTest.getRunUtil(), times(1)) in testRun_shouldActivateVenvAndCleanUp_whenVenvIsSet() 339 verify(mSpyTest.getRunUtil(), never()) in testRun_shouldNotActivateVenv_whenVenvIsNotSet() 549 InOrder inOrder = inOrder(mSpyTest.getRunUtil()); in testBuildCommandLineArrayWithOutConfigWithWildcardOn() 550 inOrder.verify(mSpyTest.getRunUtil()) in testBuildCommandLineArrayWithOutConfigWithWildcardOn() 552 inOrder.verify(mSpyTest.getRunUtil()) in testBuildCommandLineArrayWithOutConfigWithWildcardOn() 691 verify(mSpyTest.getRunUtil()).runTimedCmd(anyLong(), any(), eq("--"), eq("--list_tests")); in testRun_withoutTests() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTest.java | 267 getRunUtil().setWorkingDir(pyFile.getParentFile()); in runSinglePythonFile() 276 getRunUtil().setEnvVariablePriority(EnvPriority.SET); in runSinglePythonFile() 277 getRunUtil().setEnvVariable("PATH", path); in runSinglePythonFile() 280 getRunUtil().setEnvVariable(LD_LIBRARY_PATH, mLdLibraryPath); in runSinglePythonFile() 283 getRunUtil() in runSinglePythonFile() 289 getRunUtil() in runSinglePythonFile() 307 AdbUtils.updateAdb(testInfo, getRunUtil(), getAdbPath()); in runSinglePythonFile() 329 result = getRunUtil().runTimedCmd(mTestTimeout, commandLine.toArray(new String[0])); in runSinglePythonFile() 333 getRunUtil() in runSinglePythonFile() 416 IRunUtil getRunUtil() { in getRunUtil() method in PythonBinaryHostTest
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSBucketUtil.java | 137 CommandResult res = getRunUtil() in checkGSUtil() 160 IRunUtil run = getRunUtil(); in copy() 231 protected IRunUtil getRunUtil() { in getRunUtil() method in GCSBucketUtil 282 CommandResult res = getRunUtil() in makeBucket() 317 getRunUtil() in ls() 424 getRunUtil() in stat() 460 getRunUtil() in md5Hash() 587 CommandResult res = getRunUtil() in remove() 647 CommandResult res = getRunUtil() in removeBucket()
|
D | BundletoolUtil.java | 103 getRunUtil() in generateDeviceSpecFile() 153 CommandResult res = getRunUtil().runTimedCmd(CMD_TIME_OUT, extractApkCmd); in extractSplitsFromApks() 194 getRunUtil() in installApksOnDevice() 259 protected IRunUtil getRunUtil() { in getRunUtil() method in BundletoolUtil
|
/tools/tradefederation/contrib/src/com/android/wireless/tests/ |
D | RadioHelper.java | 41 IRunUtil getRunUtil() { in getRunUtil() method in RadioHelper 63 getRunUtil().sleep(30 * 1000); in isCdmaDevice() 137 getRunUtil().sleep(30 * 1000); in radioActivation() 154 getRunUtil().sleep(30 * 1000); in waitForDataSetup()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | RunHostScriptTargetPreparer.java | 112 getRunUtil().setWorkingDir(mWorkDir); in setUp() 113 getRunUtil().setEnvVariable("ANDROID_SERIAL", device.getSerialNumber()); in setUp() 130 IRunUtil getRunUtil() { in getRunUtil() method in RunHostScriptTargetPreparer 199 getRunUtil().setEnvVariable("PATH", path); in setPathVariable() 211 getRunUtil().runTimedCmd(mTimeout.toMillis(), scriptFile.getAbsolutePath()); in executeScript()
|
D | RunHostCommandTargetPreparer.java | 170 getRunUtil().setWorkingDir(mWorkDir); in setUp() 178 PythonVirtualenvHelper.activate(getRunUtil(), venvDir); in setUp() 256 getRunUtil() in runCommandList() 304 getRunUtil() in runBgCommandList() 364 IRunUtil getRunUtil() { in getRunUtil() method in RunHostCommandTargetPreparer
|
D | CdmaDeviceFlasher.java | 183 getRunUtil().sleep(5000); in flashSystem() 187 getRunUtil().sleep(5000); in flashSystem() 204 protected IRunUtil getRunUtil() { in getRunUtil() method in CdmaDeviceFlasher
|
D | TemperatureThrottlingWaiter.java | 122 getRunUtil().sleep(intervalMs); in setUp() 125 getRunUtil().sleep(mPostIdleWaitSecs * 1000); in setUp() 179 protected IRunUtil getRunUtil() { in getRunUtil() method in TemperatureThrottlingWaiter
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/ |
D | HostOrchestratorUtilTest.java | 124 IRunUtil getRunUtil() { in testPullCvdHostLogs_Oxygenation_Success() 157 IRunUtil getRunUtil() { in testPullCvdHostLogs_Oxygenation_CurlFailed() 204 IRunUtil getRunUtil() { in testPullCvdHostLogs_Oxygenation_CreateHOFailed() 241 IRunUtil getRunUtil() { in testPullCvdHostLogs_Oxygenation_404() 275 IRunUtil getRunUtil() { in testPowerwashGce() 348 IRunUtil getRunUtil() { in testPowerwashGce_CreateHOFailed() 393 IRunUtil getRunUtil() { in testPowerwashGce_ListCvdFailed() 441 IRunUtil getRunUtil() { in testPowerwashGce_ListCvd404() 489 IRunUtil getRunUtil() { in testPowerwashGce_NoCvdOutput()
|
D | GceManagerTest.java | 90 IRunUtil getRunUtil() { in setUp() 312 IRunUtil getRunUtil() { in testBuildGceCommandWithEmulatorBuild() 367 IRunUtil getRunUtil() { in testBuildGceCommandWithSpecifiedImages() 508 IRunUtil getRunUtil() { in testBuildGceCommandWithExtraFiles() 553 IRunUtil getRunUtil() { in testStartGce_timeout() 643 IRunUtil getRunUtil() { in testStartGce() 701 IRunUtil getRunUtil() { in testStartGce_failed() 743 IRunUtil getRunUtil() { in testStartGce_bootFail() 874 IRunUtil getRunUtil() { in testShutdownGce() 901 IRunUtil getRunUtil() { in testShutdownGce_noWait() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/adb/ |
D | AdbStopServerPreparer.java | 76 getRunUtil().sleep(2000); in setUp() 130 CommandResult restart = getRunUtil().runTimedCmd(CMD_TIMEOUT, "adb", "start-server"); in tearDown() 151 private IRunUtil getRunUtil() { in getRunUtil() method in AdbStopServerPreparer 159 getRunUtil().runTimedCmd(CMD_TIMEOUT, "adb", command); in callAdbServerAndLog()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceFlashPreparer.java | 227 IRunUtil getRunUtil() { in getRunUtil() method in DeviceFlashPreparer 403 getRunUtil().allowInterrupt(false); in setUp() 449 getRunUtil().allowInterrupt(true); in setUp() 457 getRunUtil().allowInterrupt(false); in setUp() 460 getRunUtil().allowInterrupt(true); in setUp() 490 getRunUtil().allowInterrupt(true); in setUp()
|
D | GsiDeviceFlashPreparer.java | 138 getRunUtil().sleep(STATE_STABLIZATION_WAIT_TIME_MLLISECS); in setUp() 175 protected IRunUtil getRunUtil() { in getRunUtil() method in GsiDeviceFlashPreparer 202 getRunUtil().allowInterrupt(false); in flashGsi() 238 getRunUtil().allowInterrupt(true); in flashGsi()
|