/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | LockScreenInspector.java | 53 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()
|
D | ResumeOnRebootHostTest.java | 430 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()
|
D | PackageSetInstallerTest.kt | 236 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/ |
D | RobustnessTests.java | 41 for (int retry = 1; retry <= 10; retry++) { in testLaunchActivityRecursively()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/ |
D | ScreenPinningTestActivity.java | 142 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/ |
D | LauncherAppsSingleUserTest.java | 109 for (int retry = 0; !isCallbackServiceReady() && retry < 10; retry++) { in testLauncherCallbackPackageRemovedMainUser()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13273/ |
D | poc.c | 70 int fd, retry = 1024; in main() local 76 while (retry--) { in main()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | UiDeviceUtils.java | 144 int retry = 1; in retryPressKeyCode() local 150 Log.d(TAG, msg + " retry=" + retry); in retryPressKeyCode() 152 } while (retry++ < 5); in retryPressKeyCode()
|
D | WindowManagerState.java | 310 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/ |
D | RollbackUtils.java | 176 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/ |
D | ImageSurface.java | 89 int retry = 3; in getImage() local 93 while (mQueue.size() == 0 && retry > 0) { in getImage() 95 retry--; in getImage()
|
D | CodecAsyncHandler.java | 154 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/ |
D | TaskDescriptionTest.java | 163 for (int retry = 0; retry < WAIT_RETRIES; retry++) { in waitFor()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecodeAccuracyTest.java | 271 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/ |
D | TestSipDelegateConnection.java | 318 int retry = 0; in callUntilImsServiceIsAvailableNoReturn() local 319 while (retry < 5) { in callUntilImsServiceIsAvailableNoReturn() 331 retry++; in callUntilImsServiceIsAvailableNoReturn()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2471/ |
D | poc.c | 94 struct iw_param retry; /* Retry limits & lifetime */ member
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | AtomicInstallTest.java | 102 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/ |
D | ScanResultTest.java | 272 for (int retry = 0; retry < SCAN_MAX_RETRY_COUNT; retry++) { in scanAndWait()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | RemoteSubmixTest.java | 164 int retry = RETRY_RECORD_READ; in readToBuffer() local 167 assertNotSame(buffer.remaining() + "/" + bufferSize + " remaining", 0, retry--); in readToBuffer()
|
D | AudioPlaybackCaptureTest.java | 198 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/ |
D | EncryptionAppTest.java | 237 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/ |
D | NativeCodecTestBase.cpp | 193 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/ |
D | CodecTranscoderTestBase.java | 216 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/ |
D | IRadioSimImpl.java | 777 int retry = 10; in setFacilityLockForApp() local 781 mRadioSimResponse.setFacilityLockForAppResponse(rsp, retry); in setFacilityLockForApp()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 1143 int retry = 3; in ServerThread() local 1169 if (--retry == 0) { in ServerThread()
|