/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | RetryRule.java | 44 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/ |
D | SnapshotTaskTests.java | 96 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/ |
D | CodecTestActivity.java | 72 final int retries = 3; in waitTillSurfaceIsCreated() local 75 while ((SystemClock.elapsedRealtime() - start) < (retries * mWaitTimeMs) && in waitTillSurfaceIsCreated()
|
/cts/hostsidetests/theme/ |
D | generate_images.py | 232 retries = 0 235 retries += 1 243 print("Try number %d" % retries)
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | TestActivity.java | 74 final int retries = 3; in waitTillSurfaceIsCreated() local 77 while ((SystemClock.elapsedRealtime() - start) < (retries * mWaitTimeMs) && in waitTillSurfaceIsCreated()
|
/cts/tests/tests/security/native/verified_boot/ |
D | VerifiedBootTest.cpp | 103 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/ |
D | CodecTestActivity.java | 80 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/ |
D | NumberBlockingTest.java | 261 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/ |
D | BaseDeviceAdminTest.java | 208 int retries = 30; in waitUntilUserUnlocked() local 209 while (retries >= 0 && !isUserUnlocked) { in waitUntilUserUnlocked() 210 retries--; in waitUntilUserUnlocked()
|
D | UserRestrictionsParentTest.java | 183 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/ |
D | CodecDynamicTestActivity.java | 113 final int retries = 3; in waitTillSurfaceIsCreated() local 116 while ((SystemClock.elapsedRealtime() - start) < (retries * mWaitTimeMs) in waitTillSurfaceIsCreated()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | FillEventHistoryCommonTestCase.java | 483 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/ |
D | DevicePolicy.kt | 453 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/ |
D | MediaPlayerDrmTestBase.java | 1043 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/ |
D | TelephonyManagerTest.java | 2020 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/ |
D | BaseDevicePolicyTest.java | 413 int retries = 15; in switchUser() local 417 while (getDevice().getCurrentUser() != userId && (--retries) >= 0) { in switchUser()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandIncrementalTest.java | 388 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/ |
D | SurfaceControlViewHostTests.java | 389 int retries = 0; in waitForTouchableRegionChanged() local 390 while (retries < 50) { in waitForTouchableRegionChanged()
|