Home
last modified time | relevance | path

Searched refs:retries (Results 1 – 18 of 18) 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/tests/framework/base/windowmanager/src/android/server/wm/window/
DSnapshotTaskTests.java96 int retries = 0; in testSetDisablePreviewScreenshots() local
98 while (retries < 5) { in testSetDisablePreviewScreenshots()
111 retries++; in testSetDisablePreviewScreenshots()
119 retries = 0; in testSetDisablePreviewScreenshots()
122 while (retries < 3) { in testSetDisablePreviewScreenshots()
131 retries++; in testSetDisablePreviewScreenshots()
/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/hostsidetests/theme/
Dgenerate_images.py232 retries = 0
235 retries += 1
243 print("Try number %d" % retries)
/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/tests/security/native/verified_boot/
DVerifiedBootTest.cpp103 int retries = 40; in waitForProperty() local
105 while (android::base::EqualsIgnoreCase(property, "unset") && retries--) { in waitForProperty()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecTestActivity.java80 final int retries = 3; in waitTillSurfaceIsCreated() local
83 while ((SystemClock.elapsedRealtime() - start) < (retries * mWaitTimeMs) in waitTillSurfaceIsCreated()
/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/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java208 int retries = 30; in waitUntilUserUnlocked() local
209 while (retries >= 0 && !isUserUnlocked) { in waitUntilUserUnlocked()
210 retries--; in waitUntilUserUnlocked()
DUserRestrictionsParentTest.java183 int retries = 10; in checkCanOpenCamera() local
185 while (successToOpen != canOpen && retries > 0) { in checkCanOpenCamera()
186 retries--; in checkCanOpenCamera()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DCodecDynamicTestActivity.java113 final int retries = 3; in waitTillSurfaceIsCreated() local
116 while ((SystemClock.elapsedRealtime() - start) < (retries * mWaitTimeMs) in waitTillSurfaceIsCreated()
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DFillEventHistoryCommonTestCase.java483 int retries = 0; in testEventsFromPreviousSessionIsDiscarded() local
486 .that(retries < 10) in testEventsFromPreviousSessionIsDiscarded()
492 retries += 1; in testEventsFromPreviousSessionIsDiscarded()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicy.kt453 var retries = 5 in <lambda>() variable
464 if (e.adbOutput().contains("DUMP TIMEOUT") && retries-- > 0) { in <lambda>()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaPlayerDrmTestBase.java1043 public long downloadFileWithRetries(Uri uri, Uri file, long timeout, int retries) in downloadFileWithRetries() argument
1046 for (int i = 0; i < retries; i++) { in downloadFileWithRetries()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java2020 int retries = 5; in testGetServiceState() local
2021 for (int i = 0; i < retries; i++) { in testGetServiceState()
2027 if (i == retries - 1) { in testGetServiceState()
2033 for (int i = 0; i < retries; i++) { in testGetServiceState()
2041 if (i == retries - 1) { in testGetServiceState()
2047 for (int i = 0; i < retries; i++) { in testGetServiceState()
2055 if (i == retries - 1) { in testGetServiceState()
2061 for (int i = 0; i < retries; i++) { in testGetServiceState()
2069 if (i == retries - 1) { in testGetServiceState()
4186 int retries = 3; in verifySetAndGetAllowedNetworkTypesForReason() local
[all …]
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java413 int retries = 15; in switchUser() local
417 while (getDevice().getCurrentUser() != userId && (--retries) >= 0) { in switchUser()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java388 final int retries = 7; // 7 * 3s + leeway ~= 30secs of test timeout in testInstallWithMissingBlocks() local
393 for (int i = 0; i < retries; ++i) { in testInstallWithMissingBlocks()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlViewHostTests.java389 int retries = 0; in waitForTouchableRegionChanged() local
390 while (retries < 50) { in waitForTouchableRegionChanged()