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.java197 final int lockoutMode = handleFailedAttempt(); in onAuthenticated() local
198 if (lockoutMode != LOCKOUT_NONE && shouldFrameworkHandleLockout()) { in onAuthenticated()
200 + lockoutMode + ")"); in onAuthenticated() local
202 final int errorCode = lockoutMode == LOCKOUT_TIMED in onAuthenticated()
219 result = lockoutMode != LOCKOUT_NONE; // in a lockout mode in onAuthenticated()
DBiometricServiceBase.java265 final int lockoutMode = getLockoutMode(); in handleFailedAttempt() local
266 if (lockoutMode == AuthenticationClient.LOCKOUT_PERMANENT) { in handleFailedAttempt()
268 } else if (lockoutMode == AuthenticationClient.LOCKOUT_TIMED) { in handleFailedAttempt()
273 if (lockoutMode != AuthenticationClient.LOCKOUT_NONE) { in handleFailedAttempt()
274 return lockoutMode; in handleFailedAttempt()
939 int lockoutMode = getLockoutMode(); in startAuthentication() local
940 if (lockoutMode != AuthenticationClient.LOCKOUT_NONE) { in startAuthentication()
941 Slog.v(getTag(), "In lockout mode(" + lockoutMode + ") ; disallowing authentication"); in startAuthentication() local
942 int errorCode = lockoutMode == AuthenticationClient.LOCKOUT_TIMED ? in startAuthentication()