Searched refs:maxAttempts (Results 1 – 8 of 8) sorted by relevance
98 public RequestThrottle(@NonNull Handler handler, int maxAttempts, int firstDelay, in RequestThrottle() argument102 mMaxAttempts = maxAttempts; in RequestThrottle()
121 val maxAttempts = lockPatternUtils.getMaximumFailedPasswordsForWipe(effectiveUserId) in isStealthModeActive() constant122 if (maxAttempts <= 0 || numAttempts <= 0) { in isStealthModeActive()126 val remainingAttempts = (maxAttempts - numAttempts).coerceAtLeast(0) in isStealthModeActive()132 maxAttempts in isStealthModeActive()
186 public @NonNull Builder setMaxAttempts(int maxAttempts) { in setMaxAttempts() argument187 mInstance.mMaxAttempts = maxAttempts; in setMaxAttempts()
62 maxAttempts: Int = 10, in retryUntilNonNull()68 while (attempt++ < maxAttempts) { in retryUntilNonNull()
323 PublicKey thmPublicKey, long counterId, int maxAttempts, byte[] vaultHandle) { in packVaultParams() argument333 .putInt(maxAttempts) in packVaultParams()
448 int maxAttempts = 10; in packVaultParams_encodesMaxAttemptsAsThirdParam() local453 maxAttempts, in packVaultParams_encodesMaxAttemptsAsThirdParam()459 assertEquals(maxAttempts, byteBuffer.getInt()); in packVaultParams_encodesMaxAttemptsAsThirdParam()
909 int maxAttempts = SAFE_SCREENSHOT_DELAY; in waitForScreenshotButtonEnabled() local920 } while (i <= maxAttempts); in waitForScreenshotButtonEnabled()921 fail("screenshot.enable didn't change to " + expectedEnabled + " in " + maxAttempts + "s"); in waitForScreenshotButtonEnabled()
797 int maxAttempts = 100; in startIorapd() local810 } while (attempt < maxAttempts); in startIorapd()812 if (attempt == maxAttempts) { in startIorapd()