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/
DLockSettingsStorageTestable.java39 String getLockPasswordFilename(int userId) { in getLockPasswordFilename() method in LockSettingsStorageTestable
41 super.getLockPasswordFilename(userId)).getAbsolutePath(); in getLockPasswordFilename()
DLockSettingsStorageTests.java311 assertEquals("/data/system/gatekeeper.password.key", storage.getLockPasswordFilename(0)); in testFileLocation_Owner()
318 … assertEquals("/data/system/users/1/gatekeeper.password.key", storage.getLockPasswordFilename(1)); in testFileLocation_SecondaryUser()
325 … assertEquals("/data/system/users/2/gatekeeper.password.key", storage.getLockPasswordFilename(2)); in testFileLocation_ProfileToSecondary()
332 … assertEquals("/data/system/users/3/gatekeeper.password.key", storage.getLockPasswordFilename(3)); in testFileLocation_ProfileToOwner()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java211 byte[] stored = readFile(getLockPasswordFilename(userId)); in readPasswordHashIfExists()
286 return hasFile(getLockPasswordFilename(userId)) || in hasPassword()
387 writeFile(getLockPasswordFilename(userId), passwordHash); in writeCredentialHash()
397 String getLockPasswordFilename(int userId) { in getLockPasswordFilename() method in LockSettingsStorage
479 String name = getLockPasswordFilename(userId); in removeUser()