Home
last modified time | relevance | path

Searched refs:entriesOrGroups (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterDataTest.kt196 assertThat(safetyCenterData.entriesOrGroups).isEmpty() in getEntriesOrGroups_withDefaultBuilder_returnsEmptyList()
208 assertThat(safetyCenterData.entriesOrGroups) in getEntriesOrGroups_whenSetExplicitly_returnsEntriesOrGroups()
327 assertThat(data1.entriesOrGroups).containsExactly(entryOrGroup1) in getEntriesOrGroups_returnsEntriesOrGroups()
328 assertThat(data2.entriesOrGroups).containsExactly(entryOrGroup2) in getEntriesOrGroups_returnsEntriesOrGroups()
333 val mutatedEntriesOrGroups = data1.entriesOrGroups in getEntriesOrGroups_mutationsAreNotAllowed()
384 val entriesOrGroups = safetyCenterDataBuilder.build().entriesOrGroups in builder_addEntryOrGroup_doesNotMutatePreviouslyBuiltInstance() constant
388 assertThat(entriesOrGroups).containsExactly(entryOrGroup1) in builder_addEntryOrGroup_doesNotMutatePreviouslyBuiltInstance()
401 assertThat(safetyCenterData.entriesOrGroups).isEmpty() in builder_clearEntriesOrGroups_removesAllEntriesOrGroups()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyCenterData.java122 @NonNull List<SafetyCenterEntryOrGroup> entriesOrGroups, in SafetyCenterData() argument
126 mEntriesOrGroups = unmodifiableList(new ArrayList<>(requireNonNull(entriesOrGroups))); in SafetyCenterData()
135 @NonNull List<SafetyCenterEntryOrGroup> entriesOrGroups, in SafetyCenterData() argument
141 mEntriesOrGroups = entriesOrGroups; in SafetyCenterData()
496 List<SafetyCenterEntryOrGroup> entriesOrGroups = in build() local
504 mStatus, issues, entriesOrGroups, staticEntryGroups, dismissedIssues, mExtras); in build()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterDashboardFragment.java237 Context context, List<SafetyCenterEntryOrGroup> entriesOrGroups) { in updateSafetyEntries() argument
240 for (int i = 0, size = entriesOrGroups.size(); i < size; i++) { in updateSafetyEntries()
241 SafetyCenterEntryOrGroup entryOrGroup = entriesOrGroups.get(i); in updateSafetyEntries()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetySourceDataFixesTest.kt63 val lockScreenEntry = lockScreenSafetyCenterData.entriesOrGroups.first().entry!! in lockScreenSource_withoutReplaceLockScreenIconActionFlag_doesntReplace()
86 val lockScreenEntry = lockScreenSafetyCenterData.entriesOrGroups.first().entry!! in lockScreenSource_withReplaceLockScreenIconActionFlag_replaces()
DSafetyCenterManagerTest.kt1021 apiSafetyCenterData.entriesOrGroups.firstOrNull()?.entry?.pendingIntent in <lambda>()
1041 apiSafetyCenterData.entriesOrGroups.firstOrNull()?.entry?.pendingIntent in <lambda>()
3724 data.entriesOrGroups.flatMap { in <lambda>()
3823 entriesOrGroups.first { it.entryGroup?.id == groupId }.entryGroup!! in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterUiData.kt46 val entryOrGroups: List<SafetyCenterEntryOrGroup> = safetyCenterData.entriesOrGroups in getMatchingGroup()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestListener.kt130 entriesOrGroups.flatMap { in entries()
DSafetyCenterTestData.kt554 entriesOrGroups.forEach(::addEntryOrGroup) in SafetyCenterData()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt285 safetyCenterData.entriesOrGroups.forEach { entryOrGroup -> in <lambda>()
323 get() = safetyCenterData.entriesOrGroups.asSequence() in <lambda>()