Searched refs:getLockPasswordFilename (Results 1 – 3 of 3) sorted by relevance
42 String getLockPasswordFilename(int userId) { in getLockPasswordFilename() method in LockSettingsStorageTestable44 super.getLockPasswordFilename(userId)).getAbsolutePath(); in getLockPasswordFilename()
320 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()
266 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 LockSettingsStorage570 String name = getLockPasswordFilename(userId); in removeUser()