Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTestable.java42 String getLockPasswordFilename(int userId) { in getLockPasswordFilename() method in LockSettingsStorageTestable
44 super.getLockPasswordFilename(userId)).getAbsolutePath(); in getLockPasswordFilename()
DLockSettingsStorageTests.java320 assertEquals("/data/system/gatekeeper.password.key", storage.getLockPasswordFilename(0)); in testFileLocation_Owner()
327 … assertEquals("/data/system/users/1/gatekeeper.password.key", storage.getLockPasswordFilename(1)); in testFileLocation_SecondaryUser()
334 … assertEquals("/data/system/users/2/gatekeeper.password.key", storage.getLockPasswordFilename(2)); in testFileLocation_ProfileToSecondary()
341 … assertEquals("/data/system/users/3/gatekeeper.password.key", storage.getLockPasswordFilename(3)); in testFileLocation_ProfileToOwner()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java266 byte[] stored = readFile(getLockPasswordFilename(userId)); in readPasswordHashIfExists()
341 return hasFile(getLockPasswordFilename(userId)) || in hasPassword()
442 writeFile(getLockPasswordFilename(userId), passwordHash); in writeCredentialHash()
452 String getLockPasswordFilename(int userId) { in getLockPasswordFilename() method in LockSettingsStorage
570 String name = getLockPasswordFilename(userId); in removeUser()