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.java223 public int passwordType; field in SyntheticPasswordManager.PasswordData
229 public static PasswordData create(int passwordType) { in create() argument
234 result.passwordType = passwordType; in create()
244 result.passwordType = buffer.getInt(); in fromBytes()
266 buffer.putInt(passwordType); in toBytes()
437 return PasswordData.fromBytes(passwordData).passwordType; in getCredentialType()
711 if (pwd.passwordType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in migrateFrpPasswordLocked()
727 if (pwd.passwordType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in synchronizeFrpPassword()
741 if (pwd.passwordType != LockPatternUtils.CREDENTIAL_TYPE_NONE) { in synchronizeWeaverFrpPassword()
868 result.credentialType = pwd.passwordType; in unwrapPasswordBasedSyntheticPassword()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java535 data.passwordType = CREDENTIAL_TYPE_PASSWORD; in testPasswordData_serializeDeserialize()
544 assertEquals(CREDENTIAL_TYPE_PASSWORD, deserialized.passwordType); in testPasswordData_serializeDeserialize()
567 assertEquals(CREDENTIAL_TYPE_PASSWORD, deserialized.passwordType); in testPasswordData_deserialize()