Home
last modified time | relevance | path

Searched refs:getRunUtil (Results 1 – 25 of 88) sorted by relevance

1234

/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoMultimeterTest.java178 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/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDevice.java195 mTestLogger, mGceAvd, getOptions(), getRunUtil()); in postInvocationTearDown()
199 mTestLogger, mGceAvd, getOptions(), getRunUtil()); in postInvocationTearDown()
231 GceManager.getBugreportzWithSsh(mGceAvd, getOptions(), getRunUtil()); in getSshBugreport()
235 mGceAvd, getOptions(), getRunUtil()); in getSshBugreport()
299 getRunUtil().sleep(WAIT_FOR_TUNNEL_OFFLINE); in postBootSetup()
302 getRunUtil().sleep(WAIT_FOR_TUNNEL_OFFLINE); in postBootSetup()
323 getRunUtil().sleep(RETRY_INTERVAL_MS); in waitForTunnelOnline()
336 getRunUtil().sleep(WAIT_FOR_TUNNEL_OFFLINE); in recoverDevice()
350 getRunUtil().sleep(WAIT_AFTER_REBOOT); in doAdbReboot()
352 getRunUtil().sleep(WAIT_FOR_TUNNEL_OFFLINE); in doAdbReboot()
[all …]
DGceSshTunnelMonitor.java115 IRunUtil getRunUtil() { in getRunUtil() method in GceSshTunnelMonitor
141 getRunUtil().allowInterrupt(true); in shutdown()
142 getRunUtil().interrupt(this, "shutting down the monitor thread."); in shutdown()
184 getRunUtil().sleep(DEFAULT_SHORT_CMD_TIMEOUT); in checkSshKey()
216 getRunUtil() in initGce()
238 getRunUtil() in initGce()
291 getRunUtil().sleep(WAIT_FOR_FIRST_CONNECT); in run()
314 getRunUtil().sleep(WAIT_AFTER_REBOOT); in run()
377 getRunUtil() in createSshTunnel()
DNestedRemoteDevice.java96 CommandResult stopCvdRes = getRunUtil().runTimedCmd(60000L, stopCvdCommand.split(" ")); in resetVirtualDevice()
100 CommandResult printAdbDevices = getRunUtil().runTimedCmd(60000L, "adb", "devices"); in resetVirtualDevice()
114 getRunUtil() in resetVirtualDevice()
126 getRunUtil().sleep(5000); in resetVirtualDevice()
185 getRunUtil() in captureLauncherLog()
/tools/tradefederation/core/src/com/android/tradefed/device/
DWaitDeviceRecovery.java97 protected IRunUtil getRunUtil() { in getRunUtil() method in WaitDeviceRecovery
127 getRunUtil().sleep(INITIAL_PAUSE_TIME); in recoverDevice()
140 getRunUtil().runTimedCmd(mFastbootWaitTime, mFastbootPath, "-s", in recoverDevice()
271 getRunUtil().sleep(INITIAL_PAUSE_TIME); in recoverDeviceBootloader()
300 getRunUtil().sleep(INITIAL_PAUSE_TIME); in recoverDeviceFastbootd()
374 getRunUtil() in handleDeviceFastbootdUnresponsive()
392 getRunUtil() in handleDeviceFastbootdUnresponsive()
418 getRunUtil().runTimedCmd(mFastbootWaitTime, mFastbootPath, "-s", monitor.getSerialNumber(), in handleDeviceBootloaderUnresponsive()
428 CommandResult result = getRunUtil().runTimedCmd(mFastbootWaitTime, mFastbootPath, "-s", in handleDeviceBootloaderUnresponsive()
DDeviceManager.java267 final FastbootHelper fastboot = new FastbootHelper(getRunUtil(), getFastbootPath()); in init()
416 IRunUtil getRunUtil() { in getRunUtil() method in DeviceManager
561 final FastbootHelper fastboot = new FastbootHelper(getRunUtil(), getFastbootPath()); in addFastbootDevices()
765 getRunUtil().sleep(500); in launchEmulator()
929 getRunUtil().sleep(5 * 1000); in doAdbConnect()
942 CommandResult result = getRunUtil().runTimedCmd(FASTBOOT_CMD_TIMEOUT, fullCmd); in executeGlobalAdbCommand()
1352 final FastbootHelper fastboot = new FastbootHelper(getRunUtil(), getFastbootPath()); in run()
1390 getRunUtil().sleep(FASTBOOT_POLL_WAIT_TIME); in run()
1413 getRunUtil().sleep(mDeviceRecoveryInterval); in run()
DWifiHelper.java95 IRunUtil getRunUtil() { in getRunUtil() method in WifiHelper
219 getRunUtil().sleep(getPollTime()); in waitForWifiState()
314 getRunUtil().sleep(getPollTime()); in waitForIp()
390 getRunUtil().sleep(getPollTime()); in waitForWifiEnabled()
411 getRunUtil().sleep(getPollTime()); in waitForWifiDisabled()
DBackgroundDeviceAction.java88 getRunUtil().sleep(mLogStartDelay); in run()
102 getRunUtil().sleep(ONLINE_POLL_INTERVAL_MS); in run()
141 IRunUtil getRunUtil() { in getRunUtil() method in BackgroundDeviceAction
151 getRunUtil().sleep(ONLINE_POLL_INTERVAL_MS); in blockUntilOnlineNoThrow()
DRemoteAndroidDevice.java207 getRunUtil().sleep((i + 1) * RETRY_INTERVAL_MS); in adbTcpConnect()
235 CommandResult result = getRunUtil().runTimedCmd(DEFAULT_SHORT_CMD_TIMEOUT, "adb", in adbTcpDisconnect()
252 getRunUtil().sleep(RETRY_INTERVAL_MS); in waitForAdbConnect()
287 IRunUtil runUtil = getRunUtil(); in adbConnect()
DNativeDeviceStateMonitor.java78 IRunUtil getRunUtil() { in getRunUtil() method in NativeDeviceStateMonitor
198 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForDeviceShell()
267 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForBootComplete()
344 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForStoreMount()
DNativeDevice.java270 CommandResult result = getRunUtil().runTimedCmd(mTimeout, mCmd); in run()
313 mResult = getRunUtil().runTimedCmdWithInputRedirect(mTimeout, mPipeAsInput, mCmd); in run()
316 getRunUtil().runTimedCmd(mTimeout, mPipeToOutput, /* stderr= */ null, mCmd); in run()
366 protected IRunUtil getRunUtil() { in getRunUtil() method in NativeDevice
1926 runUtil = getRunUtil(); in doFastbootCommand()
2157 getRunUtil().sleep(NONE_RECOVERY_MODE_DELAY); in recoverDevice()
2693 getRunUtil().sleep(waitTime); in connectToWifiNetwork()
2922 getRunUtil().sleep(WIFI_RECONNECT_CHECK_INTERVAL); in reconnectToWifiNetwork()
3535 getRunUtil().sleep(500); in unlockDevice()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSBucketUtil.java137 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()
DBundletoolUtil.java99 getRunUtil() in generateDeviceSpecFile()
148 CommandResult res = getRunUtil().runTimedCmd(CMD_TIME_OUT, extractApkCmd); in extractSplitsFromApks()
185 getRunUtil() in installApks()
201 protected IRunUtil getRunUtil() { in getRunUtil() method in BundletoolUtil
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceManagerTest.java83 IRunUtil getRunUtil() { in setUp()
253 IRunUtil getRunUtil() { in testBuildGceCommandWithEmulatorBuild()
335 IRunUtil getRunUtil() { in testStartGce_timeout()
422 IRunUtil getRunUtil() { in testStartGce()
479 IRunUtil getRunUtil() { in testStartGce_failed()
521 IRunUtil getRunUtil() { in testStartGce_bootFail()
576 IRunUtil getRunUtil() { in testShutdownGce()
614 IRunUtil getRunUtil() { in testShutdownGce_noWait()
647 IRunUtil getRunUtil() { in testShutdownGce_withJsonKeyFile()
855 IRunUtil getRunUtil() { in testStartGce_timeoutAndClean()
DRemoteAndroidVirtualDeviceTest.java92 protected IRunUtil getRunUtil() { in getRunUtil() method in RemoteAndroidVirtualDeviceTest.TestableRemoteAndroidVirtualDevice
161 protected IRunUtil getRunUtil() { in testExceptionFromParser()
353 protected IRunUtil getRunUtil() { in testLaunchGce_bootFail()
399 protected IRunUtil getRunUtil() { in testLaunchGce_nullPort()
516 protected IRunUtil getRunUtil() { in testDeviceNotStoreShutdownState()
619 protected IRunUtil getRunUtil() { in testDevice_skipTearDown()
706 protected IRunUtil getRunUtil() { in testDeviceBoot_offline()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java252 getRunUtil().setEnvVariable(LD_LIBRARY_PATH, mLdLibraryPath); in runSinglePythonFile()
255 getRunUtil() in runSinglePythonFile()
286 getRunUtil() in runSinglePythonFile()
303 getRunUtil().setEnvVariable(PATH_VAR, path); in runSinglePythonFile()
305 CommandResult versionRes = getRunUtil().runTimedCmd(PATH_TIMEOUT_MS, "adb", "version"); in runSinglePythonFile()
313 getRunUtil().runTimedCmd(mTestTimeout, commandLine.toArray(new String[0])); in runSinglePythonFile()
402 IRunUtil getRunUtil() { in getRunUtil() method in PythonBinaryHostTest
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparer.java73 getRunUtil().runTimedCmd(CMD_TIMEOUT, "adb", "kill-server"); in setUp()
75 getRunUtil().sleep(2000); in setUp()
114 getRunUtil().runTimedCmd(CMD_TIMEOUT, "adb", "start-server"); in setUp()
126 getRunUtil().runTimedCmd(CMD_TIMEOUT, "adb", "kill-server"); in tearDown()
128 CommandResult restart = getRunUtil().runTimedCmd(CMD_TIMEOUT, "adb", "start-server"); in tearDown()
149 private IRunUtil getRunUtil() { in getRunUtil() method in AdbStopServerPreparer
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceFlashPreparer.java147 IRunUtil getRunUtil() { in getRunUtil() method in DeviceFlashPreparer
200 getRunUtil().allowInterrupt(false); in setUp()
249 getRunUtil().allowInterrupt(true); in setUp()
257 getRunUtil().allowInterrupt(false); in setUp()
261 getRunUtil().allowInterrupt(true); in setUp()
277 getRunUtil().allowInterrupt(true); in setUp()
DGkiDeviceFlashPreparer.java96 getRunUtil().sleep(STATE_STABLIZATION_WAIT_TIME); in setUp()
133 protected IRunUtil getRunUtil() { in getRunUtil() method in GkiDeviceFlashPreparer
155 getRunUtil().allowInterrupt(false); in flashGki()
172 getRunUtil().allowInterrupt(true); in flashGki()
259 final CommandResult result = getRunUtil().runTimedCmd(300000L, command.split("\\s+")); in executeHostCommand()
DGsiDeviceFlashPreparer.java115 getRunUtil().sleep(STATE_STABLIZATION_WAIT_TIME_MLLISECS); in setUp()
152 protected IRunUtil getRunUtil() { in getRunUtil() method in GsiDeviceFlashPreparer
180 getRunUtil().allowInterrupt(false); in flashGsi()
216 getRunUtil().allowInterrupt(true); in flashGsi()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTest.java183 getRunUtil().setEnvVariable(ANDROID_SERIAL_VAR, getDevice().getSerialNumber()); in runSingleParFile()
190 getRunUtil().runTimedCmd(getTestTimeout(), buildCommandLineArray(parFilePath)); in runSingleParFile()
215 getRunUtil() in updateAdb()
232 getRunUtil().setEnvVariable(PATH_VAR, path); in updateAdb()
234 CommandResult versionRes = getRunUtil().runTimedCmd(PATH_TIMEOUT_MS, "adb", "version"); in updateAdb()
397 IRunUtil getRunUtil() { in getRunUtil() method in MoblyBinaryHostTest
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRunHostScriptTargetPreparer.java81 getRunUtil().setWorkingDir(mWorkDir); in setUp()
82 getRunUtil().setEnvVariable("ANDROID_SERIAL", device.getSerialNumber()); in setUp()
87 getRunUtil().runTimedCmd(mTimeout.toMillis(), scriptFile.getAbsolutePath()); in setUp()
112 IRunUtil getRunUtil() { in getRunUtil() method in RunHostScriptTargetPreparer
175 getRunUtil().setEnvVariable("PATH", path); in setPathVariable()
DRunHostCommandTargetPreparer.java146 getRunUtil().setWorkingDir(mWorkDir); in setUp()
199 getRunUtil().runTimedCmd(mTimeout.toMillis(), command.split("\\s+")); in runCommandList()
236 getRunUtil() in runBgCommandList()
269 IRunUtil getRunUtil() { in getRunUtil() method in RunHostCommandTargetPreparer
/tools/tradefederation/contrib/src/com/android/wireless/tests/
DRadioHelper.java41 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/common_util/com/android/tradefed/util/net/
DHttpHelper.java197 if (getRunUtil().runEscalatingTimedRetry(getOpTimeout(), getInitialPollInterval(), in doGetWithRetry()
217 if (getRunUtil().runEscalatingTimedRetry(getOpTimeout(), getInitialPollInterval(), in doGetIgnoreWithRetry()
236 if (getRunUtil().runEscalatingTimedRetry(getOpTimeout(), getInitialPollInterval(), in doPostWithRetry()
522 public IRunUtil getRunUtil() { in getRunUtil() method in HttpHelper

1234