Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java489 String passwordHistory = getString(PASSWORD_HISTORY_KEY, userId); in checkPasswordHistory() local
490 if (passwordHistory == null) { in checkPasswordHistory()
501 if (passwordHistory.length() > neededPasswordHistoryLength) { in checkPasswordHistory()
502 passwordHistory = passwordHistory.substring(0, neededPasswordHistoryLength); in checkPasswordHistory()
504 return passwordHistory.contains(passwordHashString); in checkPasswordHistory()
809 String passwordHistory = getString(PASSWORD_HISTORY_KEY, userHandle); in updatePasswordHistory() local
810 if (passwordHistory == null) { in updatePasswordHistory()
811 passwordHistory = ""; in updatePasswordHistory()
815 passwordHistory = ""; in updatePasswordHistory()
818 passwordHistory = new String(hash, StandardCharsets.UTF_8) + "," + passwordHistory; in updatePasswordHistory()
[all …]