Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyHomepageEntryPreference.kt38 private val entryGroup: SafetyCenterEntryGroup, constant
43 setTitle(entryGroup.title)
44 setSummary(entryGroup.summary)
46 entryGroup.id,
47 entryGroup.severityLevel,
48 entryGroup.severityUnspecifiedIconType
54 intent.putExtra(SafetyCenterManager.EXTRA_SAFETY_SOURCES_GROUP_ID, entryGroup.id)
59 setKey(entryGroup.id)
63 preference is SafetyHomepageEntryPreference && entryGroup.id == preference.entryGroup.id
67 Objects.equals(entryGroup.id, preference.entryGroup.id) &&
[all …]
DSafetyCenterSubpageFragment.kt76 val entryGroup = uiData?.getMatchingGroup(sourceGroupId) in renderSafetyCenterData() constant
77 if (entryGroup == null) { in renderSafetyCenterData()
83 requireActivity().setTitle(entryGroup.title) in renderSafetyCenterData()
85 updateSafetyCenterEntries(entryGroup) in renderSafetyCenterData()
138 private fun updateSafetyCenterEntries(entryGroup: SafetyCenterEntryGroup) { in updateSafetyCenterEntries()
139 Log.v(TAG, "updateSafetyCenterEntries called with $entryGroup") in updateSafetyCenterEntries()
141 for (entry in entryGroup.entries) { in updateSafetyCenterEntries()
DPrivacySubpageFragment.kt85 val entryGroup = uiData?.getMatchingGroup(PRIVACY_SOURCES_GROUP_ID) in <lambda>() constant
86 if (entryGroup == null) { in <lambda>()
95 requireActivity().setTitle(entryGroup.title) in <lambda>()
97 updateSafetyCenterEntries(entryGroup) in <lambda>()
121 private fun updateSafetyCenterEntries(entryGroup: SafetyCenterEntryGroup) { in <lambda>()
122 Log.v(TAG, "updateSafetyCenterEntries called with $entryGroup") in <lambda>()
126 for (entry in entryGroup.entries) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt286 val entryGroup = entryOrGroup.entryGroup in <lambda>() constant
287 if (entryGroup != null && SafetyCenterUiFlags.getShowSubpages()) { in <lambda>()
288 keysToRemove.remove(entryGroup.id) in <lambda>()
330 entryGroup?.entries?.asSequence() ?: entry?.let { sequenceOf(it) } ?: emptySequence() in <lambda>()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyCenterEntryOrGroup.java72 public SafetyCenterEntryOrGroup(@NonNull SafetyCenterEntryGroup entryGroup) { in SafetyCenterEntryOrGroup() argument
74 mEntryGroup = requireNonNull(entryGroup); in SafetyCenterEntryOrGroup()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterEntryOrGroupTest.kt80 assertThat(entryOrGroupWithGroup.entryGroup).isEqualTo(entryGroup1) in getEntryGroup_returnsEntryGroup()
85 assertThat(entryOrGroupWithEntry.entryGroup).isNull() in getEntryGroup_returnsEntryGroup_whenNull()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterUiData.kt47 val entryGroups = entryOrGroups.mapNotNull { it.entryGroup } in getMatchingGroup()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestListener.kt135 it.entryGroup!!.entries in entries()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt3729 it.entryGroup!!.entries in <lambda>()
3823 entriesOrGroups.first { it.entryGroup?.id == groupId }.entryGroup!! in <lambda>()