Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DRetryRule.java44 public RetryRule(int retries) { in RetryRule() argument
45 this(retries, null); in RetryRule()
57 public RetryRule(int retries, @Nullable Runnable cleaner) { in RetryRule() argument
58 if (retries < 0) { in RetryRule()
61 mMaxAttempts = retries + 1; in RetryRule()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCameraPolicyTest.java96 int retries = 10; in checkCanOpenCamera() local
98 while (successToOpen != canOpen && retries > 0) { in checkCanOpenCamera()
99 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()
/cts/tests/video/src/android/video/cts/
DCodecTestActivity.java72 final int retries = 3; in waitTillSurfaceIsCreated() local
75 while ((SystemClock.elapsedRealtime() - start) < (retries * mWaitTimeMs) && in waitTillSurfaceIsCreated()
/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.java1039 public long downloadFileWithRetries(Uri uri, Uri file, long timeout, int retries) in downloadFileWithRetries() argument
1042 for (int i = 0; i < retries; i++) { in downloadFileWithRetries()
/cts/tests/mediapc/src/android/mediapc/cts/
DTestActivity.java74 final int retries = 3; in waitTillSurfaceIsCreated() local
77 while ((SystemClock.elapsedRealtime() - start) < (retries * mWaitTimeMs) && in waitTillSurfaceIsCreated()
/cts/tests/media/src/android/mediav2/cts/
DCodecTestActivity.java80 final int retries = 3; in waitTillSurfaceIsCreated() local
83 while ((SystemClock.elapsedRealtime() - start) < (retries * mWaitTimeMs) && in waitTillSurfaceIsCreated()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java197 int retries = 30; in waitUntilUserUnlocked() local
198 while (retries >= 0 && !isUserUnlocked) { in waitUntilUserUnlocked()
199 retries--; in waitUntilUserUnlocked()
DUserRestrictionsParentTest.java183 int retries = 10; in checkCanOpenCamera() local
185 while (successToOpen != canOpen && retries > 0) { in checkCanOpenCamera()
186 retries--; in checkCanOpenCamera()
/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicy.java335 int retries = 5; in fillCache() local
347 if (e.adbOutput().contains("DUMP TIMEOUT") && retries-- > 0) { in fillCache()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java327 final int retries = 7; // 7 * 3s + leeway ~= 30secs of test timeout in testInstallWithMissingBlocks() local
332 for (int i = 0; i < retries; ++i) { in testInstallWithMissingBlocks()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java417 int retries = 10; in switchUser() local
419 while (getDevice().getCurrentUser() != userId && (--retries) >= 0) { in switchUser()