Home
last modified time | relevance | path

Searched refs:safetySourcesGroup (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParserConfigOverlayTest.kt45 val safetySourcesGroup = safetyCenterConfig.safetySourcesGroups[0] in <lambda>() constant
46 assertThat(safetySourcesGroup.id).isEqualTo("Base") in <lambda>()
47 assertThat(safetySourcesGroup.titleResId).isEqualTo(R.string.reference_not_overlayable) in <lambda>()
48 assertThat(context.resources.getResourceName(safetySourcesGroup.titleResId)) in <lambda>()
50 assertThat(context.resources.getString(safetySourcesGroup.titleResId)).isEqualTo("Base") in <lambda>()
51 assertThat(safetySourcesGroup.summaryResId).isEqualTo(R.string.reference_overlayable) in <lambda>()
52 assertThat(context.resources.getResourceName(safetySourcesGroup.summaryResId)) in <lambda>()
54 assertThat(context.resources.getString(safetySourcesGroup.summaryResId)) in <lambda>()
56 assertThat(safetySourcesGroup.safetySources.size).isEqualTo(1) in <lambda>()
57 val safetySource = safetySourcesGroup.safetySources[0] in <lambda>()
[all …]
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataFactory.java162 SafetySourcesGroup safetySourcesGroup = safetySourcesGroups.get(i); in assembleSafetyCenterData() local
164 int safetySourcesGroupType = safetySourcesGroup.getType(); in assembleSafetyCenterData()
170 safetySourcesGroup, in assembleSafetyCenterData()
179 safetySourcesGroup, in assembleSafetyCenterData()
305 SafetySourcesGroup safetySourcesGroup, in toSafetyCenterIssue() argument
342 safetySourcesGroup.getTitleResId()) in toSafetyCenterIssue()
345 safetyCenterIssueBuilder.setGroupId(safetySourcesGroup.getId()); in toSafetyCenterIssue()
388 SafetySourcesGroup safetySourcesGroup, in addSafetyCenterEntryGroup() argument
393 List<SafetySource> safetySources = safetySourcesGroup.getSafetySources(); in addSafetyCenterEntryGroup()
439 safetySourcesGroup, groupSafetyCenterEntryLevel, entries); in addSafetyCenterEntryGroup()
[all …]
DSafetySourceIssueInfo.java46 SafetySourcesGroup safetySourcesGroup, in SafetySourceIssueInfo() argument
50 mSafetySourcesGroup = safetySourcesGroup; in SafetySourceIssueInfo()
DSafetyCenterConfigReader.java339 SafetySourcesGroup safetySourcesGroup = safetySourcesGroups.get(i); in extractExternalSafetySources() local
341 List<SafetySource> safetySources = safetySourcesGroup.getSafetySources(); in extractExternalSafetySources()
351 && safetySourcesGroup.getType() in extractExternalSafetySources()
398 SafetySourcesGroup safetySourcesGroup = safetySourcesGroups.get(i); in extractBroadcasts() local
400 List<SafetySource> safetySources = safetySourcesGroup.getSafetySources(); in extractBroadcasts()
/packages/modules/Permission/framework-s/java/android/safetycenter/config/
DSafetyCenterConfig.java138 public Builder addSafetySourcesGroup(@NonNull SafetySourcesGroup safetySourcesGroup) { in addSafetySourcesGroup() argument
139 mSafetySourcesGroups.add(requireNonNull(safetySourcesGroup)); in addSafetySourcesGroup()
160 SafetySourcesGroup safetySourcesGroup = safetySourcesGroups.get(i); in build() local
161 String groupId = safetySourcesGroup.getId(); in build()
167 List<SafetySource> safetySources = safetySourcesGroup.getSafetySources(); in build()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt76 safetyCenterManager.safetySourcesGroupsWithEntries.forEach { safetySourcesGroup -> in <lambda>() method
79 safetySourcesGroup.type == SAFETY_SOURCES_GROUP_TYPE_STATEFUL in <lambda>()
82 safetySourcesGroup, in <lambda>()
87 safetySourcesGroup.safetySources in <lambda>()
257 .forEach { safetySourcesGroup -> in <lambda>() method
260 safetySourcesGroup.type == SAFETY_SOURCES_GROUP_TYPE_STATEFUL in <lambda>()
262 keysToRemove.add(safetySourcesGroup.id) in <lambda>()
264 safetySourcesGroup.safetySources in <lambda>()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetyCenterIssueRepository.java201 SafetySourcesGroup safetySourcesGroup, in addSafetySourceIssuesInfo() argument
204 List<SafetySource> safetySources = safetySourcesGroup.getSafetySources(); in addSafetySourceIssuesInfo()
215 addSafetySourceIssuesInfo(issuesInfo, safetySource, safetySourcesGroup, userId); in addSafetySourceIssuesInfo()
222 SafetySourcesGroup safetySourcesGroup, in addSafetySourceIssuesInfo() argument
237 safetySourceIssue, safetySource, safetySourcesGroup, userId); in addSafetySourceIssuesInfo()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DLiveSafetyCenterViewModel.kt156 val safetySourcesGroup = in <lambda>() constant
160 return safetySourcesGroup?.safetySources?.map { it.id } in <lambda>()