Home
last modified time | relevance | path

Searched refs:retries (Results 1 – 13 of 13) sorted by relevance

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DRetryRule.java40 public RetryRule(int retries) { in RetryRule() argument
41 if (retries < 0) { in RetryRule()
44 mMaxAttempts = retries + 1; in RetryRule()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DRetryRule.java40 public RetryRule(int retries) { in RetryRule() argument
41 if (retries < 0) { in RetryRule()
44 mMaxAttempts = retries + 1; in RetryRule()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCameraPolicyTest.java94 int retries = 10; in checkCanOpenCamera() local
96 while (successToOpen != canOpen && retries > 0) { in checkCanOpenCamera()
97 retries--; in checkCanOpenCamera()
/cts/hostsidetests/incident/src/com/android/server/cts/
DProcStatsProtoTest.java57 int retries = 3; in testDump() local
61 } while (!checkLogcatForText(TEST_APP_TAG, TEST_APP_LOG, WAIT_MS) && retries-- > 0); in testDump()
DNotificationIncidentTest.java64 int retries = 3; in testNotificationRecords() local
67 } while (!checkLogcatForText(TEST_APP_TAG, TEST_APP_LOG, WAIT_MS) && retries-- > 0); in testNotificationRecords()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java114 int retries = 15; in assertPasswordSufficiency() local
116 while (retries >= 0 in assertPasswordSufficiency()
118 retries--; in assertPasswordSufficiency()
/cts/tests/tests/media/src/android/media/cts/
DConnectionStatus.java91 int retries = 0; in pingTest() local
92 while (retries++ <= PING_RETRIES) { in pingTest()
DMediaCodecPlayerTestBase.java138 int retries = 0; in playbackPreCheck() local
140 if (retries++ >= CONNECTION_RETRIES) { in playbackPreCheck()
DNativeMediaDrmClearkeyTest.java231 int retries = 0; in testClearKeyPlayback() local
233 if (retries++ >= CONNECTION_RETRIES) { in testClearKeyPlayback()
DMediaPlayerDrmTestBase.java1030 public long downloadFileWithRetries(Uri uri, Uri file, long timeout, int retries) in downloadFileWithRetries() argument
1033 for (int i = 0; i < retries; i++) { in downloadFileWithRetries()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java261 int retries = 0; in waitForTestAppInstallation() local
263 && retries < 10) { in waitForTestAppInstallation()
265 retries++; in waitForTestAppInstallation()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSetTimeTest.java109 int retries = 0; in testSetTimeZoneWithValue() local
111 if (retries++ > 5) { in testSetTimeZoneWithValue()
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DDeviceOwnerPasswordTest.java381 int retries = 15; in assertPasswordSufficiency() local
383 while (retries >= 0 && dpm.isActivePasswordSufficient() != expectPasswordSufficient) { in assertPasswordSufficiency()
384 retries--; in assertPasswordSufficiency()