/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | RetryRule.java | 43 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/ |
D | BaseDeviceAdminTest.java | 115 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/ |
D | RetryRule.java | 40 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/ |
D | CameraPolicyTest.java | 94 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/ |
D | ProcStatsProtoTest.java | 57 int retries = 3; in testDump() local 61 } while (!checkLogcatForText(TEST_APP_TAG, TEST_APP_LOG, WAIT_MS) && retries-- > 0); in testDump()
|
D | NotificationIncidentTest.java | 69 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/ |
D | ConnectionStatus.java | 91 int retries = 0; in pingTest() local 92 while (retries++ <= PING_RETRIES) { in pingTest()
|
D | MediaCodecPlayerTestBase.java | 138 int retries = 0; in playbackPreCheck() local 140 if (retries++ >= CONNECTION_RETRIES) { in playbackPreCheck()
|
D | NativeMediaDrmClearkeyTest.java | 231 int retries = 0; in testClearKeyPlayback() local 233 if (retries++ >= CONNECTION_RETRIES) { in testClearKeyPlayback()
|
D | MediaPlayerDrmTestBase.java | 1030 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/ |
D | NumberBlockingTest.java | 263 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/ |
D | SetTimeTest.java | 109 int retries = 0; in testSetTimeZoneWithValue() local 111 if (retries++ > 5) { in testSetTimeZoneWithValue()
|
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/ |
D | DeviceOwnerPasswordTest.java | 381 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/ |
D | BaseDevicePolicyTest.java | 306 int retries = 10; in switchUser() local 308 while (getDevice().getCurrentUser() != userId && (--retries) >= 0) { in switchUser()
|