Searched refs:retries (Results 1 – 13 of 13) sorted by relevance
40 public RetryRule(int retries) { in RetryRule() argument41 if (retries < 0) { in RetryRule()44 mMaxAttempts = retries + 1; in RetryRule()
94 int retries = 10; in checkCanOpenCamera() local96 while (successToOpen != canOpen && retries > 0) { in checkCanOpenCamera()97 retries--; in checkCanOpenCamera()
57 int retries = 3; in testDump() local61 } while (!checkLogcatForText(TEST_APP_TAG, TEST_APP_LOG, WAIT_MS) && retries-- > 0); in testDump()
64 int retries = 3; in testNotificationRecords() local67 } while (!checkLogcatForText(TEST_APP_TAG, TEST_APP_LOG, WAIT_MS) && retries-- > 0); in testNotificationRecords()
114 int retries = 15; in assertPasswordSufficiency() local116 while (retries >= 0 in assertPasswordSufficiency()118 retries--; in assertPasswordSufficiency()
91 int retries = 0; in pingTest() local92 while (retries++ <= PING_RETRIES) { in pingTest()
138 int retries = 0; in playbackPreCheck() local140 if (retries++ >= CONNECTION_RETRIES) { in playbackPreCheck()
231 int retries = 0; in testClearKeyPlayback() local233 if (retries++ >= CONNECTION_RETRIES) { in testClearKeyPlayback()
1030 public long downloadFileWithRetries(Uri uri, Uri file, long timeout, int retries) in downloadFileWithRetries() argument1033 for (int i = 0; i < retries; i++) { in downloadFileWithRetries()
261 int retries = 0; in waitForTestAppInstallation() local263 && retries < 10) { in waitForTestAppInstallation()265 retries++; in waitForTestAppInstallation()
109 int retries = 0; in testSetTimeZoneWithValue() local111 if (retries++ > 5) { in testSetTimeZoneWithValue()
381 int retries = 15; in assertPasswordSufficiency() local383 while (retries >= 0 && dpm.isActivePasswordSufficient() != expectPasswordSufficient) { in assertPasswordSufficiency()384 retries--; in assertPasswordSufficiency()