Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DRetryRule.java43 public RetryRule(int retries) { in RetryRule() argument
44 this(retries, null); in RetryRule()
56 public RetryRule(int retries, @Nullable Runnable cleaner) { in RetryRule() argument
57 if (retries < 0) { in RetryRule()
60 mMaxAttempts = retries + 1; in RetryRule()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java115 int retries = 30; in waitUntilUserUnlocked() local
116 while (retries >= 0 && !isUserUnlocked) { in waitUntilUserUnlocked()
117 retries--; in waitUntilUserUnlocked()
129 int retries = 100; in assertPasswordSufficiency() local
131 while (retries >= 0 in assertPasswordSufficiency()
133 retries--; in assertPasswordSufficiency()
/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/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.java69 int retries = 3; in testNotificationRecords() local
72 } while (!checkLogcatForText(TEST_APP_TAG, TEST_APP_LOG, WAIT_MS) && retries-- > 0); in testNotificationRecords()
/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.java263 int retries = 0; in waitForTestAppInstallation() local
265 && retries < 10) { in waitForTestAppInstallation()
267 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()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java306 int retries = 10; in switchUser() local
308 while (getDevice().getCurrentUser() != userId && (--retries) >= 0) { in switchUser()