Home
last modified time | relevance | path

Searched refs:issuesToGroups (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterUiData.kt72 val issuesToGroups = safetyCenterData.extras.getBundle(ISSUES_TO_GROUPS_BUNDLE_KEY) in getMatchingIssues() constant
74 val mappingExists = issuesToGroups?.containsKey(it.id) ?: false in getMatchingIssues()
76 issuesToGroups?.getStringArrayList(it.id)?.contains(groupId) ?: false in getMatchingIssues()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataFactory.java199 Bundle issuesToGroups = new Bundle(); in assembleSafetyCenterData() local
230 issuesToGroups, in assembleSafetyCenterData()
271 if (!issuesToGroups.isEmpty()) { in assembleSafetyCenterData()
272 extras.putBundle(ISSUES_TO_GROUPS_BUNDLE_KEY, issuesToGroups); in assembleSafetyCenterData()
277 if (!issuesToGroups.isEmpty() || !staticEntriesToIds.isEmpty()) { in assembleSafetyCenterData()
296 Bundle issuesToGroups, SafetyCenterIssueKey issueKey, String safetyCenterIssueId) { in updateIssuesToGroups() argument
299 issuesToGroups.putStringArrayList(safetyCenterIssueId, new ArrayList<>(groups)); in updateIssuesToGroups()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterDataTest.kt270 val issuesToGroups = extras.getBundle(ISSUES_TO_GROUPS_BUNDLE_KEY) in getExtras_whenSetExplicitly_returnsExtras() constant
271 val groups = issuesToGroups!!.getStringArrayList(issue1.id) in getExtras_whenSetExplicitly_returnsExtras()
273 assertThat(issuesToGroups.keySet().size).isEqualTo(1) in getExtras_whenSetExplicitly_returnsExtras()