Home
last modified time | relevance | path

Searched refs:maxAttempts (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/utils/
DRequestThrottle.java98 public RequestThrottle(@NonNull Handler handler, int maxAttempts, int firstDelay, in RequestThrottle() argument
102 mMaxAttempts = maxAttempts; in RequestThrottle()
/frameworks/base/core/java/android/security/keystore/recovery/
DKeyChainSnapshot.java186 public @NonNull Builder setMaxAttempts(int maxAttempts) { in setMaxAttempts() argument
187 mInstance.mMaxAttempts = maxAttempts; in setMaxAttempts()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DHostUtils.kt62 maxAttempts: Int = 10, in retryUntilNonNull()
68 while (attempt++ < maxAttempts) { in retryUntilNonNull()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthCredentialView.java348 final int maxAttempts = mLockPatternUtils.getMaximumFailedPasswordsForWipe( in updateErrorMessage() local
350 if (maxAttempts <= 0 || numAttempts <= 0) { in updateErrorMessage()
359 maxAttempts); in updateErrorMessage()
364 final int remainingAttempts = maxAttempts - numAttempts; in updateErrorMessage()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtils.java321 PublicKey thmPublicKey, long counterId, int maxAttempts, byte[] vaultHandle) { in packVaultParams() argument
331 .putInt(maxAttempts) in packVaultParams()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtilsTest.java456 int maxAttempts = 10; in packVaultParams_encodesMaxAttemptsAsThirdParam() local
461 maxAttempts, in packVaultParams_encodesMaxAttemptsAsThirdParam()
467 assertEquals(maxAttempts, byteBuffer.getInt()); in packVaultParams_encodesMaxAttemptsAsThirdParam()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java909 int maxAttempts = SAFE_SCREENSHOT_DELAY; in waitForScreenshotButtonEnabled() local
920 } while (i <= maxAttempts); in waitForScreenshotButtonEnabled()
921 fail("screenshot.enable didn't change to " + expectedEnabled + " in " + maxAttempts + "s"); in waitForScreenshotButtonEnabled()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java797 int maxAttempts = 100; in startIorapd() local
810 } while (attempt < maxAttempts); in startIorapd()
812 if (attempt == maxAttempts) { in startIorapd()