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.java465 String passwordHistory = getString(PASSWORD_HISTORY_KEY, userId); in checkPasswordHistory() local
466 if (passwordHistory == null) { in checkPasswordHistory()
477 if (passwordHistory.length() > neededPasswordHistoryLength) { in checkPasswordHistory()
478 passwordHistory = passwordHistory.substring(0, neededPasswordHistoryLength); in checkPasswordHistory()
480 return passwordHistory.contains(passwordHashString); in checkPasswordHistory()
894 String passwordHistory = getString(PASSWORD_HISTORY_KEY, userHandle); in saveLockPassword() local
895 if (passwordHistory == null) { in saveLockPassword()
896 passwordHistory = ""; in saveLockPassword()
900 passwordHistory = ""; in saveLockPassword()
903 passwordHistory = new String(hash, StandardCharsets.UTF_8) + "," + passwordHistory; in saveLockPassword()
[all …]