Searched refs:getLockPasswordFilename (Results 1 – 3 of 3) sorted by relevance
39 String getLockPasswordFilename(int userId) { in getLockPasswordFilename() method in LockSettingsStorageTestable41 super.getLockPasswordFilename(userId)).getAbsolutePath(); in getLockPasswordFilename()
311 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()
211 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 LockSettingsStorage479 String name = getLockPasswordFilename(userId); in removeUser()