/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/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CameraPolicyTest.java | 96 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/ |
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()
|
/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/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 | 1039 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/ |
D | TestActivity.java | 74 final int retries = 3; in waitTillSurfaceIsCreated() local 77 while ((SystemClock.elapsedRealtime() - start) < (retries * mWaitTimeMs) && in waitTillSurfaceIsCreated()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecTestActivity.java | 80 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/ |
D | BaseDeviceAdminTest.java | 197 int retries = 30; in waitUntilUserUnlocked() local 198 while (retries >= 0 && !isUserUnlocked) { in waitUntilUserUnlocked() 199 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/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/ |
D | DevicePolicy.java | 335 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/ |
D | PackageManagerShellCommandIncrementalTest.java | 327 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/ |
D | BaseDevicePolicyTest.java | 417 int retries = 10; in switchUser() local 419 while (getDevice().getCurrentUser() != userId && (--retries) >= 0) { in switchUser()
|