Searched refs:qualityForUi (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 638 public void writePersistentDataBlock(int persistentType, int userId, int qualityForUi, in writePersistentDataBlock() argument 645 persistentType, userId, qualityForUi, payload)); in writePersistentDataBlock() 674 final int qualityForUi; field in LockSettingsStorage.PersistentData 677 private PersistentData(int type, int userId, int qualityForUi, byte[] payload) { in PersistentData() argument 680 this.qualityForUi = qualityForUi; in PersistentData() 695 int qualityForUi = is.readInt(); in fromBytes() local 698 return new PersistentData(type, userId, qualityForUi, payload); in fromBytes() 709 public static byte[] toBytes(int persistentType, int userId, int qualityForUi, in toBytes() argument 726 dos.writeInt(qualityForUi); in toBytes()
|
D | LockSettingsService.java | 1105 return mStorage.readPersistentDataBlock().qualityForUi; in readFrpPasswordQuality()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 413 assertEquals(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX, data.qualityForUi); in testPersistentDataBlock_withData() 432 assertEquals(DevicePolicyManager.PASSWORD_QUALITY_COMPLEX, deserialized.qualityForUi); in testPersistentData_serializeUnserialize() 471 deserialized.qualityForUi); in testPersistentData_unserialize_version1()
|