Home
last modified time | relevance | path

Searched refs:lockoutMode (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthenticationClient.java202 final int lockoutMode = handleFailedAttempt(); in onAuthenticated() local
203 if (lockoutMode != LOCKOUT_NONE && shouldFrameworkHandleLockout()) { in onAuthenticated()
205 + lockoutMode + ")"); in onAuthenticated() local
207 final int errorCode = lockoutMode == LOCKOUT_TIMED in onAuthenticated()
223 result = lockoutMode != LOCKOUT_NONE; // in a lockout mode in onAuthenticated()
DBiometricServiceBase.java286 final int lockoutMode = getLockoutMode(); in handleFailedAttempt() local
287 if (lockoutMode == AuthenticationClient.LOCKOUT_PERMANENT) { in handleFailedAttempt()
289 } else if (lockoutMode == AuthenticationClient.LOCKOUT_TIMED) { in handleFailedAttempt()
294 if (lockoutMode != AuthenticationClient.LOCKOUT_NONE) { in handleFailedAttempt()
295 return lockoutMode; in handleFailedAttempt()
966 int lockoutMode = getLockoutMode(); in startAuthentication() local
967 if (lockoutMode != AuthenticationClient.LOCKOUT_NONE) { in startAuthentication()
968 Slog.v(getTag(), "In lockout mode(" + lockoutMode + ") ; disallowing authentication"); in startAuthentication() local
969 int errorCode = lockoutMode == AuthenticationClient.LOCKOUT_TIMED ? in startAuthentication()