Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/pm/
DUserManagerService.java145 int failedAttempts; field in UserManagerService.RestrictionsPinState
652 if (pinState.failedAttempts != 0) { in writeUserLocked()
654 Integer.toString(pinState.failedAttempts)); in writeUserLocked()
747 int failedAttempts = 0; in readUserLocked() local
783 failedAttempts = readIntAttribute(parser, ATTR_FAILED_ATTEMPTS, 0); in readUserLocked()
832 pinState.failedAttempts = failedAttempts; in readUserLocked()
1144 pinState.failedAttempts = 0; in setRestrictionsChallenge()
1173 pinState.failedAttempts = 0; in checkRestrictionsChallenge()
1177 pinState.failedAttempts++; in checkRestrictionsChallenge()
1187 int backoffIndex = Math.min(pinState.failedAttempts / BACKOFF_INC_INTERVAL, in getRemainingTimeForPinAttempt()
[all …]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardHostView.java676 final int failedAttempts = monitor.getFailedUnlockAttempts() + 1; // +1 for this time in reportFailedUnlockAttempt() local
678 if (DEBUG) Log.d(TAG, "reportFailedPatternAttempt: #" + failedAttempts); in reportFailedUnlockAttempt()
690 (failedAttemptsBeforeWipe - failedAttempts) in reportFailedUnlockAttempt()
700 showAlmostAtWipeDialog(failedAttempts, remainingBeforeWipe); in reportFailedUnlockAttempt()
704 showWipeDialog(failedAttempts); in reportFailedUnlockAttempt()
708 (failedAttempts % LockPatternUtils.FAILED_ATTEMPTS_BEFORE_TIMEOUT) == 0; in reportFailedUnlockAttempt()
710 if (failedAttempts == failedAttemptWarning) { in reportFailedUnlockAttempt()
713 } else if (failedAttempts >= LockPatternUtils.FAILED_ATTEMPTS_BEFORE_RESET) { in reportFailedUnlockAttempt()