Home
last modified time | relevance | path

Searched refs:retry (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java146 for (int retry = 1; retry <= 5; retry++) { in waitForValidState()
155 logAlways("***Waiting for valid stacks and activities states... retry=" + retry); in waitForValidState()
169 for (int retry = 1; retry <= 5; retry++) { in waitForAllExitingWindows()
175 logAlways("***Waiting for all exiting windows have been removed... retry=" + retry); in waitForAllExitingWindows()
184 for (int retry = 1; retry <= 5; retry++) { in waitForAllStoppedActivities()
189 logAlways("***Waiting for all started activities have been removed... retry=" + retry); in waitForAllStoppedActivities()
204 for (int retry = 1; retry <= 5; retry++) { in waitForDebuggerWindowVisible()
209 logAlways("***Waiting for debugger window... retry=" + retry); in waitForDebuggerWindowVisible()
220 for (int retry = 1; retry <= 5; retry++) { in waitForValidProduct()
227 logAlways("***Waiting for valid " + productName + "... retry=" + retry); in waitForValidProduct()
[all …]
DUiDeviceUtils.java119 int retry = 1; in retryPressKeyCode() local
125 Log.d(TAG, msg + " retry=" + retry); in retryPressKeyCode()
127 } while (retry++ < 5); in retryPressKeyCode()
DActivityManagerTestBase.java1127 for (int retry = 1; isDisplayOn(DEFAULT_DISPLAY) && retry <= 5; retry++) {
1128 logAlways("***Waiting for display to turn off... retry=" + retry);
1269 for (int retry = 1; retry <= 5; retry++) {
1275 logAlways("waitForRotationNotified retry=" + retry);
1461 for (int retry = 1; retry <= RETRY_LIMIT; retry++) {
1661 for (int retry = 1; retry <= 5; retry++) {
1666 logAlways("***Waiting for sizes to be reported... retry=" + retry);
1699 for (int retry = 1; retry <= 5; retry++) {
1704 logAlways("***Waiting for cutout state to be reported... retry=" + retry);
1713 int retry = 1;
[all …]
DActivityManagerState.java90 boolean retry = false; in computeState()
98 if (retry) { in computeState()
119 retry = mStacks.isEmpty() || mTopFocusedStackId == -1 in computeState()
122 } while (retry && retriesLeft-- > 0); in computeState()
DWindowManagerState.java133 boolean retry = false; in computeState()
140 if (retry) { in computeState()
154 retry = mWindowStates.isEmpty() || mFocusedApp == null; in computeState()
155 } while (retry && retriesLeft-- > 0); in computeState()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DKeyguardTestBase.java54 for (int retry = 1; retry <= 5; retry++) { in assertDismissCallback()
59 logAlways("Waiting for " + entry + "... retry=" + retry); in assertDismissCallback()
DRobustnessTests.java42 for (int retry = 1; retry <= 10; retry++) { in testLaunchActivityRecursively()
DVirtualDisplayHelper.java157 for (int retry = 1; retry <= 10; retry++) { in waitForDisplayCondition()
161 logAlways(message + "... retry=" + retry); in waitForDisplayCondition()
DMultiDisplaySecurityTests.java408 for (int retry = 1; retry <= 5; retry++) { in assertActivityStartCheckResult()
417 + " ... retry=" + retry); in assertActivityStartCheckResult()
697 for (int retry = 1; retry <= 5; retry++) { in assertSecurityExceptionFromActivityLauncher()
702 logAlways("***Waiting for SecurityException from " + component + " ... retry=" + retry); in assertSecurityExceptionFromActivityLauncher()
DMultiDisplayTestBase.java249 for (int retry = 1; retry <= 5; retry++) { in waitForDisplayGone()
254 logAlways("Waiting for hosted displays destruction... retry=" + retry); in waitForDisplayGone()
DMultiDisplayPolicyTests.java285 int retry = 0; in testExternalDisplayActivityTurnPrimaryOff() local
293 logAlways("***testExternalDisplayActivityTurnPrimaryOff... retry=" + retry); in testExternalDisplayActivityTurnPrimaryOff()
295 } while (retry++ < 5); in testExternalDisplayActivityTurnPrimaryOff()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/
DScreenPinningTestActivity.java201 for (int retry = MAX_TASK_MODE_CHECK_COUNT; retry > 0; retry--) {
206 Log.d(TAG, "Check unpin ... " + retry);
210 } else if (retry == 1) {
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java114 for (int retry = 1; retry <= 5; retry++) { in waitForValidState()
123 logAlways("***Waiting for valid stacks and activities states... retry=" + retry); in waitForValidState()
171 for (int retry = 1; retry <= 5; retry++) { in waitFor()
175 logAlways(message + " retry=" + retry); in waitFor()
DUiDeviceUtils.java112 int retry = 1; in retryPressKeyCode() local
118 Log.d(TAG, msg + " retry=" + retry); in retryPressKeyCode()
120 } while (retry++ < 5); in retryPressKeyCode()
DActivityManagerTestBase.java371 for (int retry = 1; isDisplayOn() != displayOn && retry <= 5; retry++) { in waitForDisplayStateWithRetry()
372 logAlways("***Waiting for display state... retry " + retry); in waitForDisplayStateWithRetry()
DActivityManagerState.java77 boolean retry = false; in computeState()
85 if (retry) { in computeState()
106 retry = mStacks.isEmpty() || mFocusedStackId == -1 || (mResumedActivityRecord == null in computeState()
108 } while (retry && retriesLeft-- > 0); in computeState()
DWindowManagerState.java87 boolean retry = false; in computeState()
94 if (retry) { in computeState()
108 retry = mWindowStates.isEmpty() || mFocusedApp == null; in computeState()
109 } while (retry && retriesLeft-- > 0); in computeState()
/cts/hostsidetests/devicepolicy/app/PasswordComplexity/src/com.android.cts.passwordcomplexity/
DGetPasswordComplexityTest.java171 int retry = 0; in assertPasswordComplexity() local
172 while (retry < maxRetries && mDpm.getPasswordComplexity() != expectedComplexity) { in assertPasswordComplexity()
173 retry++; in assertPasswordComplexity()
/cts/tests/app/src/android/app/cts/
DTaskDescriptionTest.java128 for (int retry = 0; retry < WAIT_RETRIES; retry++) { in waitFor()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTest.java218 for (int retry = 1; retry <= maxRetries; retry++) { in runTest()
228 if (retry == maxRetries) { in runTest()
/cts/tests/tests/net/src/android/net/cts/
DDnsResolverTest.java425 boolean retry = false; in testRawQueryCancel()
441 retry = callback.needRetry(); in testRawQueryCancel()
444 } while (retry); in testRawQueryCancel()
454 boolean retry = false; in testRawQueryBlobCancel()
469 retry = callback.needRetry(); in testRawQueryBlobCancel()
472 } while (retry); in testRawQueryBlobCancel()
612 boolean retry = false; in testQueryCancelForInetAddress()
628 retry = callback.needRetry(); in testQueryCancelForInetAddress()
631 } while (retry); in testQueryCancelForInetAddress()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13273/
Dpoc.c70 int fd, retry = 1024; in main() local
76 while (retry--) { in main()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackUtils.java174 return retry(() -> getAvailableRollback(packageName), in waitForAvailableRollback()
185 retry(() -> getAvailableRollback(packageName), Objects::isNull, in waitForUnavailableRollback()
189 private static <T> T retry(Supplier<T> supplier, Predicate<T> predicate, String message) in retry() method in RollbackUtils
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DScanResultTest.java164 for (int retry = 0; retry < SCAN_MAX_RETRY_COUNT; retry++) { in scanAndWait()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2471/
Dpoc.c94 struct iw_param retry; /* Retry limits & lifetime */ member

12