Searched refs:PasswordData (Results 1 – 4 of 4) sorted by relevance
56 import com.android.server.locksettings.SyntheticPasswordManager.PasswordData;586 private PasswordData createTestPasswordData() { in createTestPasswordData()587 PasswordData data = new PasswordData(); in createTestPasswordData()599 PasswordData data = new PasswordData(); in testPasswordDataLatestVersion_serializeDeserialize()608 PasswordData deserialized = PasswordData.fromBytes(data.toBytes()); in testPasswordDataLatestVersion_serializeDeserialize()649 assertFalse(PasswordData.isBadFormatFromAndroid14Beta(serialized)); in testDeserializePasswordData_forPinWithLengthAvailable()650 PasswordData deserialized = PasswordData.fromBytes(serialized); in testDeserializePasswordData_forPinWithLengthAvailable()674 PasswordData deserialized = PasswordData.fromBytes(serialized); in testDeserializePasswordData_forPinWithLengthExplicitlyUnavailable()702 assertTrue(PasswordData.isBadFormatFromAndroid14Beta(serialized)); in testDeserializePasswordData_forPinWithVersionNumber()703 PasswordData deserialized = PasswordData.fromBytes(serialized); in testDeserializePasswordData_forPinWithVersionNumber()[all …]
357 static class PasswordData { class in SyntheticPasswordManager372 public static PasswordData create(int credentialType, int pinLength) { in create()373 PasswordData result = new PasswordData(); in create()392 public static PasswordData fromBytes(byte[] data) { in fromBytes()393 PasswordData result = new PasswordData(); in fromBytes()770 return PasswordData.fromBytes(passwordData).pinLength; in getPinLength()778 return PasswordData.fromBytes(passwordData).credentialType; in getCredentialType()790 final int credentialType = PasswordData.fromBytes(data.payload).credentialType; in getSpecialUserCredentialType()1006 PasswordData pwd = credential.isNone() ? null : in createLskfBasedProtector()1007 PasswordData.create(credential.getType(), pinLength); in createLskfBasedProtector()[all …]
679 && SyntheticPasswordManager.PasswordData.isBadFormatFromAndroid14Beta(this.payload); in isBadFormatFromAndroid14Beta()
14942 …get/LockscreenCredential;Lcom/android/server/locksettings/SyntheticPasswordManager$PasswordData;)[B