Home
last modified time | relevance | path

Searched refs:PersistedSafetyCenterIssue (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Permission/SafetyCenter/Persistence/tests/java/com/android/safetycenter/persistence/
DPersistedSafetyCenterIssueTest.kt62 EqualsHashCodeToStringTester.of<PersistedSafetyCenterIssue>() in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
65 PersistedSafetyCenterIssue.Builder() in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
72 PersistedSafetyCenterIssue.Builder() in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
80 PersistedSafetyCenterIssue.Builder() in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
88 PersistedSafetyCenterIssue.Builder() in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
96 PersistedSafetyCenterIssue.Builder() in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
112 PersistedSafetyCenterIssue.Builder()
118 PersistedSafetyCenterIssue.Builder()
DSafetyCenterIssuesPersistenceValidTest.kt32 val expected: List<PersistedSafetyCenterIssue>
64 PersistedSafetyCenterIssue.Builder()
70 PersistedSafetyCenterIssue.Builder()
76 PersistedSafetyCenterIssue.Builder()
84 PersistedSafetyCenterIssue.Builder()
92 PersistedSafetyCenterIssue.Builder()
101 PersistedSafetyCenterIssue.Builder()
DSafetyCenterIssuesPersistenceWriteTest.kt31 val original: List<PersistedSafetyCenterIssue>
59 PersistedSafetyCenterIssue.Builder()
63 PersistedSafetyCenterIssue.Builder()
69 PersistedSafetyCenterIssue.Builder()
75 PersistedSafetyCenterIssue.Builder()
82 PersistedSafetyCenterIssue.Builder()
/packages/modules/Permission/SafetyCenter/Persistence/java/com/android/safetycenter/persistence/
DPersistedSafetyCenterIssue.java32 public final class PersistedSafetyCenterIssue { class
39 private PersistedSafetyCenterIssue( in PersistedSafetyCenterIssue() method in PersistedSafetyCenterIssue
85 if (!(o instanceof PersistedSafetyCenterIssue)) return false; in equals()
86 PersistedSafetyCenterIssue that = (PersistedSafetyCenterIssue) o; in equals()
165 public PersistedSafetyCenterIssue build() { in build()
178 return new PersistedSafetyCenterIssue( in build()
DSafetyCenterIssuesPersistence.java83 public static List<PersistedSafetyCenterIssue> read(File file) throws PersistenceException { in read()
97 private static List<PersistedSafetyCenterIssue> parseXml(XmlPullParser parser) in parseXml()
104 List<PersistedSafetyCenterIssue> persistedSafetyCenterIssues = parseIssues(parser); in parseXml()
114 private static List<PersistedSafetyCenterIssue> parseIssues(XmlPullParser parser) in parseIssues()
133 List<PersistedSafetyCenterIssue> persistedSafetyCenterIssues = new ArrayList<>(); in parseIssues()
143 private static PersistedSafetyCenterIssue parseIssue(XmlPullParser parser) in parseIssue()
147 PersistedSafetyCenterIssue.Builder builder = new PersistedSafetyCenterIssue.Builder(); in parseIssue()
242 List<PersistedSafetyCenterIssue> persistedSafetyCenterIssues, File file) { in write()
270 XmlSerializer serializer, List<PersistedSafetyCenterIssue> persistedSafetyCenterIssues) in serializeIssues()
276 PersistedSafetyCenterIssue persistedSafetyCenterIssue = in serializeIssues()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetyCenterIssueDismissalRepository.java38 import com.android.safetycenter.persistence.PersistedSafetyCenterIssue;
350 private List<PersistedSafetyCenterIssue> snapshot() { in snapshot()
351 List<PersistedSafetyCenterIssue> persistedIssues = new ArrayList<>(); in snapshot()
363 private void load(List<PersistedSafetyCenterIssue> persistedSafetyCenterIssues) { in load()
367 PersistedSafetyCenterIssue persistedIssue = persistedSafetyCenterIssues.get(i); in load()
476 List<PersistedSafetyCenterIssue> persistedSafetyCenterIssues; in writeStateToFile()
492 List<PersistedSafetyCenterIssue> persistedSafetyCenterIssues = new ArrayList<>(); in loadStateFromFile()
519 private static IssueData fromPersistedIssue(PersistedSafetyCenterIssue persistedIssue) { in fromPersistedIssue()
590 private PersistedSafetyCenterIssue.Builder toPersistedIssueBuilder() { in toPersistedIssueBuilder()
591 return new PersistedSafetyCenterIssue.Builder() in toPersistedIssueBuilder()