Home
last modified time | relevance | path

Searched refs:PasswordData (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java56 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 …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java357 static class PasswordData { class in SyntheticPasswordManager
372 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 …]
DLockSettingsStorage.java679 && SyntheticPasswordManager.PasswordData.isBadFormatFromAndroid14Beta(this.payload); in isBadFormatFromAndroid14Beta()
/frameworks/base/services/
Dart-wear-profile14942 …get/LockscreenCredential;Lcom/android/server/locksettings/SyntheticPasswordManager$PasswordData;)[B