Searched refs:qualityForUi (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 646 public void writePersistentDataBlock(int persistentType, int userId, int qualityForUi, in writePersistentDataBlock() argument 653 persistentType, userId, qualityForUi, payload)); in writePersistentDataBlock() 682 final int qualityForUi; field in LockSettingsStorage.PersistentData 685 private PersistentData(int type, int userId, int qualityForUi, byte[] payload) { in PersistentData() argument 688 this.qualityForUi = qualityForUi; in PersistentData() 703 int qualityForUi = is.readInt(); in fromBytes() local 706 return new PersistentData(type, userId, qualityForUi, payload); in fromBytes() 717 public static byte[] toBytes(int persistentType, int userId, int qualityForUi, in toBytes() argument 734 dos.writeInt(qualityForUi); in toBytes()
|
D | LockSettingsService.java | 1240 return pinOrPasswordQualityToCredentialType(data.qualityForUi); in getFrpCredentialType()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 412 assertEquals(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX, data.qualityForUi); in testPersistentDataBlock_withData() 431 assertEquals(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX, deserialized.qualityForUi); in testPersistentData_serializeUnserialize() 470 deserialized.qualityForUi); in testPersistentData_unserialize_version1()
|