Home
last modified time | relevance | path

Searched refs:attempts (Results 1 – 19 of 19) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DIRunUtil.java114 int attempts, final String... command); in runTimedCmdRetry() argument
139 int attempts, final String... command); in runTimedCmdSilentlyRetry() argument
216 public boolean runTimedRetry(long opTimeout, long pollInterval, int attempts, in runTimedRetry() argument
DRunUtil.java176 long timeout, long retryInterval, int attempts, String... command) { in runTimedCmdRetry() argument
179 while (counter < attempts) { in runTimedCmdRetry()
261 public CommandResult runTimedCmdSilentlyRetry(long timeout, long retryInterval, int attempts, in runTimedCmdSilentlyRetry() argument
265 while (counter < attempts) { in runTimedCmdSilentlyRetry()
368 public boolean runTimedRetry(long opTimeout, long pollInterval, int attempts, in runTimedRetry() argument
370 for (int i = 0; i < attempts; i++) { in runTimedRetry()
/tools/test/connectivity/acts/tests/google/bt/car_bt/
DBtCarPairingTest.py66 self.car, self.ph, attempts=1, auto_confirm=False):
121 self.car, self.ph, attempts=1, auto_confirm=False):
142 self.car, self.ph, attempts=1, auto_confirm=False):
DBtCarHfpFuzzTest.py40 attempts = 2
42 while attempts > 0 and not connected:
47 attempts -= 1
DBtCarHfpConferenceTest.py49 attempts = 2
51 while attempts > 0 and not connected:
56 attempts -= 1
DBtCarMediaConnectionTest.py49 self.CT, self.TG, attempts=4, auto_confirm=False):
DBtCarMediaPassthroughTest.py82 self.CT, self.TG, attempts=4, auto_confirm=False):
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilFuncTest.java74 int attempts = 0; in testRunTimedRetry()
77 attempts++; in testRunTimedRetry()
78 return attempts == maxAttempts; in testRunTimedRetry()
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dconnection.py156 attempts=2): argument
181 if attempts == 0:
266 if attempts > 1:
269 attempts - 1)
/tools/test/connectivity/acts/tests/google/bt/
DBtFactoryResetTest.py57 if not pair_pri_to_sec(self.pri_dut, self.sec_dut, attempts=1):
DBtMetricsTest.py73 attempts=1,
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstrumentationPreparer.java199 void setAttempts(int attempts) { in setAttempts() argument
200 mAttempts = attempts; in setAttempts()
DFastbootDeviceFlasher.java673 int attempts = 0; in getImageVersion() local
678 while (attempts < MAX_RETRY_ATTEMPTS) { in getImageVersion()
684 attempts++; in getImageVersion()
687 getRunUtil().sleep(RETRY_SLEEP * (attempts - 1) in getImageVersion()
693 "Could not find version for '%s' after %d retry attempts", imageName, attempts), in getImageVersion()
/tools/test/connectivity/acts/tests/google/bt/hid/
DHidDeviceTest.py101 pair_pri_to_sec(self.host_ad, self.device_ad, attempts=3)
207 pair_pri_to_sec(self.host_ad, self.device_ad, attempts=3)
/tools/test/connectivity/acts/tests/google/bt/system_tests/
DBtStressTest.py119 attempts=1,
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_test_utils.py727 def pair_pri_to_sec(pri_ad, sec_ad, attempts=2, auto_confirm=True): argument
743 while curr_attempts < attempts:
760 str(attempts)))
843 def connect_pri_to_sec(pri_ad, sec_ad, profiles_set, attempts=2): argument
860 while curr_attempts < attempts:
862 curr_attempts, attempts))
867 attempts))
DBluetoothCarHfpBaseTest.py86 self.hf, self.ag, attempts=4, auto_confirm=False):
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2787 int attempts = MAX_RETRY_ATTEMPTS + 1; in enableAdbRoot() local
2788 for (int i=1; i <= attempts; i++) { in enableAdbRoot()
2802 getSerialNumber(), i, attempts, output); in enableAdbRoot()
2818 int attempts = MAX_RETRY_ATTEMPTS + 1; in disableAdbRoot() local
2819 for (int i=1; i <= attempts; i++) { in disableAdbRoot()
2833 getSerialNumber(), i, attempts, output); in disableAdbRoot()
/tools/metalava/
DREADME.md135 * Misc documentation handling; for example, it attempts to fix sentences