Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java181 long timeout, long retryInterval, int attempts, String... command) { in runTimedCmdRetry() argument
184 while (counter < attempts) { in runTimedCmdRetry()
296 public CommandResult runTimedCmdSilentlyRetry(long timeout, long retryInterval, int attempts, in runTimedCmdSilentlyRetry() argument
300 while (counter < attempts) { in runTimedCmdSilentlyRetry()
425 public boolean runTimedRetry(long opTimeout, long pollInterval, int attempts, in runTimedRetry() argument
427 for (int i = 0; i < attempts; i++) { in runTimedRetry()
DIRunUtil.java134 int attempts, final String... command); in runTimedCmdRetry() argument
159 int attempts, final String... command); in runTimedCmdSilentlyRetry() argument
274 public boolean runTimedRetry(long opTimeout, long pollInterval, int attempts, in runTimedRetry() argument
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_test_utils.py248 def connect_pri_to_sec(pri_ad, sec_ad, profiles_set, attempts=2): argument
265 while curr_attempts < attempts:
267 curr_attempts, attempts))
272 attempts))
1225 def pair_pri_to_sec(pri_ad, sec_ad, attempts=2, auto_confirm=True): argument
1241 while curr_attempts < attempts:
1260 str(attempts)))
DBluetoothCarHfpBaseTest.py86 self.hf, self.ag, attempts=4, auto_confirm=False):
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasher.java709 int attempts = 0; in getImageVersion() local
714 while (attempts < MAX_RETRY_ATTEMPTS) { in getImageVersion()
720 attempts++; in getImageVersion()
724 getRunUtil().sleep(RETRY_SLEEP * (attempts - 1) in getImageVersion()
730 "Could not find version for '%s' after %d retry attempts", imageName, attempts), in getImageVersion()
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dconnection.py159 attempts=2): argument
184 if attempts == 0:
274 if attempts > 1:
277 attempts - 1)
/tools/test/connectivity/acts_tests/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.java75 int attempts = 0; in testRunTimedRetry()
78 attempts++; in testRunTimedRetry()
79 return attempts == maxAttempts; in testRunTimedRetry()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java3279 int attempts = MAX_RETRY_ATTEMPTS + 1; in enableAdbRoot() local
3280 for (int i=1; i <= attempts; i++) { in enableAdbRoot()
3294 getSerialNumber(), i, attempts, output); in enableAdbRoot()
3310 int attempts = MAX_RETRY_ATTEMPTS + 1; in disableAdbRoot() local
3311 for (int i=1; i <= attempts; i++) { in disableAdbRoot()
3325 getSerialNumber(), i, attempts, output); in disableAdbRoot()
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/
Dgnss_test_utils.py548 attempts = 3
549 for i in range(1, attempts + 1):
574 if i == attempts:
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DInstrumentationPreparer.java200 void setAttempts(int attempts) { in setAttempts() argument
201 mAttempts = attempts; in setAttempts()
/tools/test/connectivity/acts_tests/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/tests/google/usb/
DUsbTetheringFunctionsTest.py89 def enable_usb_tethering(self, attempts=3): argument
105 for i in range(attempts):
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSBucketUtil.java663 public void setAttempts(int attempts) { in setAttempts() argument
664 mAttempts = attempts; in setAttempts()
/tools/asuite/atest/unittest_data/
Dtest_record.proto.testonly24 …ath=/tmp/atest_result/20200616_105829_apjgcqmm/log --no-enable-granular-attempts --no-use-delimite…
63 …ath=/tmp/atest_result/20200616_105829_apjgcqmm/log --no-enable-granular-attempts --no-use-delimite…
74 …ath=/tmp/atest_result/20200616_105829_apjgcqmm/log --no-enable-granular-attempts --no-use-delimite…
/tools/test/connectivity/acts/framework/acts/
Dbase_test.py592 def get_func_with_retry(self, func, attempts=2): argument
609 for i in range(attempts):
/tools/test/connectivity/acts_tests/tests/google/bt/
DBtFactoryResetTest.py57 if not pair_pri_to_sec(self.pri_dut, self.sec_dut, attempts=1):
DBtMetricsTest.py73 attempts=1,
/tools/test/connectivity/acts_tests/tests/google/bt/system_tests/
DBtStressTest.py119 attempts=1,
/tools/repohooks/tools/
Dspelling.txt158 attemps||attempts
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py8136 attempts = 3
8137 for i in range(1, attempts + 1):
8154 if i == attempts:

12