Home
last modified time | relevance | path

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

12

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DLockScreenInspector.java53 boolean retry = false; in checkCurrentState()
56 if (retry) { in checkCurrentState()
67 retry = false; in checkCurrentState()
70 retry = true; in checkCurrentState()
72 } while (retry && retriesLeft-- > 0); in checkCurrentState()
74 if (retry) { in checkCurrentState()
DResumeOnRebootHostTest.java430 boolean retry = false; in deviceLock()
432 if (retry) { in deviceLock()
437 retry = !LockScreenInspector.newInstance(getDevice()).isDisplayedAndNotOccluded(); in deviceLock()
438 } while (retriesLeft-- > 0 && retry); in deviceLock()
440 if (retry) { in deviceLock()
DPackageSetInstallerTest.kt236 private fun getPermissionString(permission: String) = retry { in <lambda>()
249 private fun <T> retry(block: () -> T?): T { in retry() method in android.appsecurity.cts.PackageSetInstallerTest
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DRobustnessTests.java41 for (int retry = 1; retry <= 10; retry++) { in testLaunchActivityRecursively()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/
DScreenPinningTestActivity.java142 for (int retry = MAX_TASK_MODE_CHECK_COUNT; retry > 0; retry--) {
147 Log.d(TAG, "Check unpin ... " + retry);
151 } else if (retry == 1) {
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLauncherAppsSingleUserTest.java109 for (int retry = 0; !isCallbackServiceReady() && retry < 10; retry++) { in testLauncherCallbackPackageRemovedMainUser()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13273/
Dpoc.c70 int fd, retry = 1024; in main() local
76 while (retry--) { in main()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DUiDeviceUtils.java144 int retry = 1; in retryPressKeyCode() local
150 Log.d(TAG, msg + " retry=" + retry); in retryPressKeyCode()
152 } while (retry++ < 5); in retryPressKeyCode()
DWindowManagerState.java310 boolean retry = false; in computeState()
318 if (retry) { in computeState()
338 retry = mRootTasks.isEmpty() || mTopFocusedTaskId == -1 || mWindowStates.isEmpty() in computeState()
344 } while (retry && retriesLeft-- > 0); in computeState()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackUtils.java176 return retry(() -> getAvailableRollback(packageName), in waitForAvailableRollback()
187 retry(() -> getAvailableRollback(packageName), Objects::isNull, in waitForUnavailableRollback()
203 retry(supplier, rollbacks -> !hasRollbackInclude(rollbacks, packageName), in waitForRollbackGone()
207 private static <T> T retry(Supplier<T> supplier, Predicate<T> predicate, String message) in retry() method in RollbackUtils
/cts/tests/media/common/src/android/mediav2/common/cts/
DImageSurface.java89 int retry = 3; in getImage() local
93 while (mQueue.size() == 0 && retry > 0) { in getImage()
95 retry--; in getImage()
DCodecAsyncHandler.java154 int retry = CodecTestBase.RETRY_LIMIT; in waitOnFormatChange() local
158 if (mSignalledOutFormatChanged || retry == 0) break; in waitOnFormatChange()
160 retry--; in waitOnFormatChange()
/cts/tests/app/src/android/app/cts/
DTaskDescriptionTest.java163 for (int retry = 0; retry < WAIT_RETRIES; retry++) { in waitFor()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTest.java271 for (int retry = 1; retry <= maxRetries; retry++) { in runTest()
281 if (retry == maxRetries) { in runTest()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestSipDelegateConnection.java318 int retry = 0; in callUntilImsServiceIsAvailableNoReturn() local
319 while (retry < 5) { in callUntilImsServiceIsAvailableNoReturn()
331 retry++; in callUntilImsServiceIsAvailableNoReturn()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2471/
Dpoc.c94 struct iw_param retry; /* Retry limits & lifetime */ member
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java102 private static <T> T retry(Supplier<T> supplier, Predicate<T> predicate, String message) in retry() method in AtomicInstallTest
123 retry(() -> InstallUtils.getPackageInstaller().getSessionInfo(sessionId), in testSessionCleanUp_Single()
138 retry(() -> InstallUtils.getPackageInstaller().getSessionInfo(sessionId), in testSessionCleanUp_Multi()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DScanResultTest.java272 for (int retry = 0; retry < SCAN_MAX_RETRY_COUNT; retry++) { in scanAndWait()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DRemoteSubmixTest.java164 int retry = RETRY_RECORD_READ; in readToBuffer() local
167 assertNotSame(buffer.remaining() + "/" + bufferSize + " remaining", 0, retry--); in readToBuffer()
DAudioPlaybackCaptureTest.java198 int retry = 100; in readToBuffer() local
201 assertNotSame(buffer.remaining() + "/" + bufferSize + "remaining", 0, retry--); in readToBuffer()
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java237 int retry = 1; in waitFor() local
242 Log.d(TAG, msg + " retry=" + retry); in waitFor()
244 } while (retry++ < 5); in waitFor()
/cts/tests/media/jni/
DNativeCodecTestBase.cpp193 int retry = kRetryLimit; in waitOnFormatChange() local
196 if (mSignalledOutFormatChanged || retry == 0) break; in waitOnFormatChange()
199 retry--; in waitOnFormatChange()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTranscoderTestBase.java216 int retry = 0; in tryEncoderOutput() local
227 if (retry > CodecTestBase.RETRY_LIMIT) throw new InterruptedException( in tryEncoderOutput()
232 retry ++; in tryEncoderOutput()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DIRadioSimImpl.java777 int retry = 10; in setFacilityLockForApp() local
781 mRadioSimResponse.setFacilityLockForAppResponse(rsp, retry); in setFacilityLockForApp()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java1143 int retry = 3; in ServerThread() local
1169 if (--retry == 0) { in ServerThread()

12