Home
last modified time | relevance | path

Searched refs:passwordType (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java207 public int passwordType; field in SyntheticPasswordManager.PasswordData
213 public static PasswordData create(int passwordType) { in create() argument
218 result.passwordType = passwordType; in create()
228 result.passwordType = buffer.getInt(); in fromBytes()
250 buffer.putInt(passwordType); in toBytes()
417 return PasswordData.fromBytes(passwordData).passwordType; in getCredentialType()
688 if (pwd.passwordType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in migrateFrpPasswordLocked()
704 if (pwd.passwordType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in synchronizeFrpPassword()
718 if (pwd.passwordType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in synchronizeWeaverFrpPassword()
826 result.credentialType = pwd.passwordType; in unwrapPasswordBasedSyntheticPassword()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java489 data.passwordType = CREDENTIAL_TYPE_PASSWORD; in testPasswordData_serializeDeserialize()
498 assertEquals(CREDENTIAL_TYPE_PASSWORD, deserialized.passwordType); in testPasswordData_serializeDeserialize()
521 assertEquals(CREDENTIAL_TYPE_PASSWORD, deserialized.passwordType); in testPasswordData_deserialize()