Home
last modified time | relevance | path

Searched refs:entryGroup (Results 1 – 10 of 10) 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.kt78 val entryGroup = uiData?.getMatchingGroup(sourceGroupId) in renderSafetyCenterData() constant
79 if (entryGroup == null) { in renderSafetyCenterData()
85 requireActivity().title = entryGroup.title in renderSafetyCenterData()
87 updateSafetyCenterEntries(entryGroup) in renderSafetyCenterData()
147 private fun updateSafetyCenterEntries(entryGroup: SafetyCenterEntryGroup) { in updateSafetyCenterEntries()
148 Log.v(TAG, "updateSafetyCenterEntries called with $entryGroup") in updateSafetyCenterEntries()
150 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.kt284 val entryGroup = entryOrGroup.entryGroup in <lambda>() constant
285 if (entryGroup != null && SafetyCenterUiFlags.getShowSubpages()) { in <lambda>()
286 keysToRemove.remove(entryGroup.id) in <lambda>()
328 entryGroup?.entries?.asSequence() ?: entry?.let { sequenceOf(it) } ?: emptySequence() in <lambda>()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/
DSafetyCenterUiDataTest.kt50 val matchingGroup = entryGroup(MATCHING_GROUP_ID) in getMatchingGroup_validMatchingGroup_returnsExpectedEntryGroup()
51 val nonMatchingGroup = entryGroup(NON_MATCHING_GROUP_ID) in getMatchingGroup_validMatchingGroup_returnsExpectedEntryGroup()
62 val nonMatchingGroup = entryGroup(NON_MATCHING_GROUP_ID) in getMatchingGroup_noMatchingGroup_returnsNull()
330 fun entryGroup(groupId: String) = method
/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/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt1068 ?.entryGroup in <lambda>()
1094 ?.entryGroup in <lambda>()
3223 assertThat(apiSafetyCenterData.entriesOrGroups.single().entryGroup!!.severityLevel) in <lambda>()
3225 assertThat(apiSafetyCenterData.entriesOrGroups.single().entryGroup!!.summary!!.toString()) in <lambda>()
3242 assertThat(apiSafetyCenterData.entriesOrGroups.single().entryGroup!!.severityLevel) in <lambda>()
3244 assertThat(apiSafetyCenterData.entriesOrGroups.single().entryGroup!!.summary!!.toString()) in <lambda>()
3263 assertThat(apiSafetyCenterData.entriesOrGroups.single().entryGroup!!.severityLevel) in <lambda>()
3265 assertThat(apiSafetyCenterData.entriesOrGroups.single().entryGroup!!.summary!!.toString()) in <lambda>()
3284 assertThat(apiSafetyCenterData.entriesOrGroups.single().entryGroup!!.severityLevel) in <lambda>()
3286 assertThat(apiSafetyCenterData.entriesOrGroups.single().entryGroup!!.summary!!.toString()) in <lambda>()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterUiData.kt55 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()