Home
last modified time | relevance | path

Searched refs:attempt (Results 1 – 17 of 17) sorted by relevance

/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/helpers/
DQuickSettingsHelper.java68 for (int attempt = 0; attempt < MAX_RETRY; attempt++) { in openQuickSettings()
72 Log.e(TAG, "Opening quick settings failed with attempt: " + attempt); in openQuickSettings()
DMediaControlsHelper.java87 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/
DAdoptableHostTest.java78 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/
DTimeout.java168 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/
DStubMotionInterceptingAccessibilityService.java93 for (int attempt = 0; attempt < maxAttempts; attempt++) { in setAndAwaitMotionEventSources()
/cts/tests/PhotoPicker/src/android/photopicker/cts/
DPhotoPickerSettingsTest.java199 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/
DExternalStoragePreparer.java55 int attempt = 0; in getVirtualDisk() local
57 while ((disks == null || disks.isEmpty()) && attempt++ < 15) { in getVirtualDisk()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/permissionstate/
DDangerousPermissionStateTests.java127 for (int attempt = 0; attempt < 10; attempt++) { in testDangerousPermissionStateSampled()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DREADME3 the build_libs.sh script. Don't attempt to modify manually. To rebuild
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DInputMethodServiceLifecycleTest.java468 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/
DRuntimeMessageCollectionTest.kt61 for (attempt in 0..48) { in collectAsyncStackTrace() method
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DRoutingTest.java486 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()
DAudioPlaybackCaptureTest.java511 for (int attempt = 0; attempt < kDataAcquisitionAttempts; attempt++) { in testPlaybackCaptureDoS()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java249 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/
DTranscodeTestUtils.java221 int attempt = 0; in executeShellCommand() local
222 while (attempt++ < 5) { in executeShellCommand()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale121 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/
DTestUtils.java254 int attempt = 0; in executeShellCommand() local
255 while (attempt++ < 5) { in executeShellCommand()