Home
last modified time | relevance | path

Searched refs:qualityForUi (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java622 public void writePersistentDataBlock(int persistentType, int userId, int qualityForUi, in writePersistentDataBlock() argument
629 persistentType, userId, qualityForUi, payload)); in writePersistentDataBlock()
658 final int qualityForUi; field in LockSettingsStorage.PersistentData
661 private PersistentData(int type, int userId, int qualityForUi, byte[] payload) { in PersistentData() argument
664 this.qualityForUi = qualityForUi; in PersistentData()
679 int qualityForUi = is.readInt(); in fromBytes() local
682 return new PersistentData(type, userId, qualityForUi, payload); in fromBytes()
693 public static byte[] toBytes(int persistentType, int userId, int qualityForUi, in toBytes() argument
710 dos.writeInt(qualityForUi); in toBytes()
DLockSettingsService.java1052 return mStorage.readPersistentDataBlock().qualityForUi; in readFrpPasswordQuality()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java376 assertEquals(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX, data.qualityForUi); in testPersistentDataBlock_withData()
393 assertEquals(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX, deserialized.qualityForUi); in testPersistentData_serializeUnserialize()
428 deserialized.qualityForUi); in testPersistentData_unserialize_version1()