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.java624 public void writePersistentDataBlock(int persistentType, int userId, int qualityForUi, in writePersistentDataBlock() argument
631 persistentType, userId, qualityForUi, payload)); in writePersistentDataBlock()
660 final int qualityForUi; field in LockSettingsStorage.PersistentData
663 private PersistentData(int type, int userId, int qualityForUi, byte[] payload) { in PersistentData() argument
666 this.qualityForUi = qualityForUi; in PersistentData()
681 int qualityForUi = is.readInt(); in fromBytes() local
684 return new PersistentData(type, userId, qualityForUi, payload); in fromBytes()
695 public static byte[] toBytes(int persistentType, int userId, int qualityForUi, in toBytes() argument
712 dos.writeInt(qualityForUi); in toBytes()
DLockSettingsService.java1081 return mStorage.readPersistentDataBlock().qualityForUi; in readFrpPasswordQuality()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java377 assertEquals(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX, data.qualityForUi); in testPersistentDataBlock_withData()
394 assertEquals(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX, deserialized.qualityForUi); in testPersistentData_serializeUnserialize()
429 deserialized.qualityForUi); in testPersistentData_unserialize_version1()