Home
last modified time | relevance | path

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

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterStaticEntryGroupTest.kt73 assertThat(SafetyCenterStaticEntryGroup("", listOf(staticEntry1)).staticEntries) in getStaticEntries_returnsStaticEntries()
76 SafetyCenterStaticEntryGroup("", listOf(staticEntry1, staticEntry2)).staticEntries in getStaticEntries_returnsStaticEntries()
80 assertThat(SafetyCenterStaticEntryGroup("", listOf()).staticEntries).isEmpty() in getStaticEntries_returnsStaticEntries()
85 val staticEntries = staticEntryGroup.staticEntries in getStaticEntries_mutationsAreNotAllowed() constant
87 assertFailsWith(UnsupportedOperationException::class) { staticEntries.add(staticEntry3) } in getStaticEntries_mutationsAreNotAllowed()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyCenterStaticEntryGroup.java51 List<SafetyCenterStaticEntry> staticEntries =
53 return new SafetyCenterStaticEntryGroup(title, staticEntries);
67 @NonNull CharSequence title, @NonNull List<SafetyCenterStaticEntry> staticEntries) { in SafetyCenterStaticEntryGroup() argument
69 mStaticEntries = unmodifiableList(new ArrayList<>(requireNonNull(staticEntries))); in SafetyCenterStaticEntryGroup()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestListener.kt127 staticEntries().any { TextUtils.equals(it.summary, summary) } in <lambda>()
139 fun SafetyCenterData.staticEntries(): List<SafetyCenterStaticEntry> = in SafetyCenterData() method
140 staticEntryGroups.flatMap { it.staticEntries } in SafetyCenterData()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataFactory.java734 List<SafetyCenterStaticEntry> staticEntries = new ArrayList<>(safetySources.size()); in addSafetyCenterStaticEntryGroup() local
755 staticEntries, in addSafetyCenterStaticEntryGroup()
765 if (staticEntries.isEmpty()) { in addSafetyCenterStaticEntryGroup()
772 staticEntries)); in addSafetyCenterStaticEntryGroup()
778 List<SafetyCenterStaticEntry> staticEntries, in addSafetyCenterStaticEntry() argument
810 staticEntries.add(staticEntry); in addSafetyCenterStaticEntry()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt297 .flatMap { it.staticEntries.asSequence() } in <lambda>()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt1063 ?.staticEntries in <lambda>()
1089 ?.staticEntries in <lambda>()
1699 apiSafetyCenterData.staticEntryGroups[0].staticEntries[0] in <lambda>()
1711 apiSafetyCenterData.staticEntryGroups[1].staticEntries[0] in <lambda>()