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()
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()
348 final int maxAttempts = mLockPatternUtils.getMaximumFailedPasswordsForWipe( in updateErrorMessage() local350 if (maxAttempts <= 0 || numAttempts <= 0) { in updateErrorMessage()359 maxAttempts); in updateErrorMessage()364 final int remainingAttempts = maxAttempts - numAttempts; in updateErrorMessage()
321 PublicKey thmPublicKey, long counterId, int maxAttempts, byte[] vaultHandle) { in packVaultParams() argument331 .putInt(maxAttempts) in packVaultParams()
456 int maxAttempts = 10; in packVaultParams_encodesMaxAttemptsAsThirdParam() local461 maxAttempts, in packVaultParams_encodesMaxAttemptsAsThirdParam()467 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()