Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java301 CredentialHash passwordHash = readPasswordHashIfExists(userId); in readCredentialHash() local
303 if (passwordHash != null && patternHash != null) { in readCredentialHash()
304 if (passwordHash.version == CredentialHash.VERSION_GATEKEEPER) { in readCredentialHash()
305 return passwordHash; in readCredentialHash()
309 } else if (passwordHash != null) { in readCredentialHash()
310 return passwordHash; in readCredentialHash()
435 byte[] passwordHash = null; in writeCredentialHash()
438 passwordHash = hash.hash; in writeCredentialHash()
442 writeFile(getLockPasswordFilename(userId), passwordHash); in writeCredentialHash() local
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DBackupPasswordManagerTest.java204 File passwordHash = new File(mStateFolder, PASSWORD_HASH_FILE_NAME); in writeHashAndSaltToFile() local
205 fos = new FileOutputStream(passwordHash); in writeHashAndSaltToFile()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java548 String passwordHash = passwordToHistoryHash(passwordToCheck, hashFactor, userId); in checkPasswordHistory() local
552 if (history[i].equals(legacyHash) || history[i].equals(passwordHash)) { in checkPasswordHistory()