/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/helpers/ |
D | QuickSettingsHelper.java | 68 for (int attempt = 0; attempt < MAX_RETRY; attempt++) { in openQuickSettings() 72 Log.e(TAG, "Opening quick settings failed with attempt: " + attempt); in openQuickSettings()
|
D | MediaControlsHelper.java | 87 for (int attempt = 0; attempt < MAX_RETRY; attempt++) { in openQuickSettings() 91 Log.e(TAG, "Opening quick settings failed with attempt: " + attempt); in openQuickSettings()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AdoptableHostTest.java | 78 int attempt = 0; in setUp() local 81 while (!hasVirtualDisk && attempt++ < 50) { in setUp() 100 int attempt = 0; in tearDown() local 103 while (hasVirtualDisk && attempt++ < 20) { in tearDown() 113 attempt = 0; in tearDown() 116 while (!volumeStateRecovered && attempt++ < 20) { in tearDown() 143 int attempt = 0; in waitForVolumeReady() local 146 while (!noCheckingEjecting && attempt++ < 60) { in waitForVolumeReady() 424 int attempt = 0; in getAdoptionDisk() local 426 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getAdoptionDisk() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | Timeout.java | 168 int attempt = 0; in run() local 176 attempt++; in run() 179 Log.v(TAG, description + " failed at attempt #" + attempt + "; sleeping for " in run() 187 Log.w(TAG, description + " failed after " + attempt + " attempts and " + totalSlept + "ms: " in run()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | StubMotionInterceptingAccessibilityService.java | 93 for (int attempt = 0; attempt < maxAttempts; attempt++) { in setAndAwaitMotionEventSources()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | PhotoPickerSettingsTest.java | 199 for (int attempt = 0; attempt <= maxRetries; attempt++) { in launchSettingsActivityWithRetry() 200 if (attempt > 0) { in launchSettingsActivityWithRetry() 203 long backoffTimeInMillis = backoffSeedInMillis * (2 ^ (attempt - 1)); in launchSettingsActivityWithRetry()
|
/cts/tests/mediaprovider/preconditions/src/android/provider/cts/preconditions/ |
D | ExternalStoragePreparer.java | 55 int attempt = 0; in getVirtualDisk() local 57 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getVirtualDisk()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/permissionstate/ |
D | DangerousPermissionStateTests.java | 127 for (int attempt = 0; attempt < 10; attempt++) { in testDangerousPermissionStateSampled()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/ |
D | README | 3 the build_libs.sh script. Don't attempt to modify manually. To rebuild
|
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | InputMethodServiceLifecycleTest.java | 468 for (int attempt = 1; true; attempt++) { in runWithRetries() 473 if (attempt < maxTries) { in runWithRetries() 474 LogUtil.CLog.i("Attempt " + attempt + " failed; retrying", e); in runWithRetries()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | RuntimeMessageCollectionTest.kt | 61 for (attempt in 0..48) { in collectAsyncStackTrace() method
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | RoutingTest.java | 486 int attempt = 0; in assertHasNonNullRoutedDevice() local 489 totalWait += timeouts[attempt]; in assertHasNonNullRoutedDevice() 490 try { Thread.sleep(timeouts[attempt++]); } catch (InterruptedException ex) {} in assertHasNonNullRoutedDevice() 492 if (routedDevice == null && (attempt > 2 || totalWait >= 1000)) { in assertHasNonNullRoutedDevice() 495 } while (routedDevice == null && attempt < timeouts.length); in assertHasNonNullRoutedDevice()
|
D | AudioPlaybackCaptureTest.java | 511 for (int attempt = 0; attempt < kDataAcquisitionAttempts; attempt++) { in testPlaybackCaptureDoS()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | CreateAndManageUserTest.java | 249 int attempt = 0; in newUserDisclaimer() local 252 attempt++; in newUserDisclaimer() 258 Log.d(TAG, "Got exception (" + e.getMessage() + ") on attempt #" + attempt in newUserDisclaimer() 263 } while (currentUserId != myUserId && attempt < maxAttempts); in newUserDisclaimer()
|
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTestUtils.java | 221 int attempt = 0; in executeShellCommand() local 222 while (attempt++ < 5) { in executeShellCommand()
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 121 in the versions previously distributed, no attempt has been made to 273 attempt has been made to provide a Pascal version with several
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 254 int attempt = 0; in executeShellCommand() local 255 while (attempt++ < 5) { in executeShellCommand()
|