Searched refs:MAX_RETRY_ATTEMPTS (Results 1 – 4 of 4) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 142 protected static final int MAX_RETRY_ATTEMPTS = 2; field in NativeDevice 811 return internalGetProductType(MAX_RETRY_ATTEMPTS); in getProductType() 979 performDeviceAction(String.format("shell %s", command), action, MAX_RETRY_ATTEMPTS); in executeShellCommand() 1080 MAX_RETRY_ATTEMPTS); in executeShellV2Command() 1093 MAX_RETRY_ATTEMPTS); in executeShellV2Command() 1102 cmd, null, null, maxTimeoutForCommand, timeUnit, MAX_RETRY_ATTEMPTS); in executeShellV2Command() 1530 MAX_RETRY_ATTEMPTS); in pullFileInternal() 1640 MAX_RETRY_ATTEMPTS); in pushFileInternal() 1785 for (int i=0; i < MAX_RETRY_ATTEMPTS; i++) { in getDfOutput() 1793 getSerialNumber(), MAX_RETRY_ATTEMPTS), getSerialNumber()); in getDfOutput() [all …]
|
D | TestDevice.java | 282 MAX_RETRY_ATTEMPTS); in internalInstallPackage() 583 MAX_RETRY_ATTEMPTS); in installPackage() 658 MAX_RETRY_ATTEMPTS); in uninstallPackage() 712 MAX_RETRY_ATTEMPTS); in internalInstallPackages() 878 MAX_RETRY_ATTEMPTS); in internalInstallRemotePackages() 931 if (performDeviceAction("screenshot", action, MAX_RETRY_ATTEMPTS)) { in getScreenshot() 1456 performDeviceAction("dumpsys package p", action, MAX_RETRY_ATTEMPTS); in getUninstallablePackageNames() 1474 performDeviceAction("dumpsys package", action, MAX_RETRY_ATTEMPTS); in getAppPackageInfo() 1482 performDeviceAction("dumpsys package", action, MAX_RETRY_ATTEMPTS); in getAppPackageInfos()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | FastbootDeviceFlasher.java | 71 private static final int MAX_RETRY_ATTEMPTS = 3; field in FastbootDeviceFlasher 963 while (attempts < MAX_RETRY_ATTEMPTS) { in getImageVersion()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | TestDeviceTest.java | 1014 assertRecoverySuccess(TestDevice.MAX_RETRY_ATTEMPTS + 1); in testExecuteShellCommand_recoveryAttempts() 1017 verify(mMockIDevice, times(TestDevice.MAX_RETRY_ATTEMPTS + 1)) in testExecuteShellCommand_recoveryAttempts()
|