Home
last modified time | relevance | path

Searched refs:safetySourcesGroups (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Permission/framework-s/java/android/safetycenter/config/
DSafetyCenterConfig.java54 List<SafetySourcesGroup> safetySourcesGroups =
57 for (int i = 0; i < safetySourcesGroups.size(); i++) {
58 builder.addSafetySourcesGroup(safetySourcesGroups.get(i));
71 private SafetyCenterConfig(@NonNull List<SafetySourcesGroup> safetySourcesGroups) { in SafetyCenterConfig() argument
72 mSafetySourcesGroups = safetySourcesGroups; in SafetyCenterConfig()
151 List<SafetySourcesGroup> safetySourcesGroups = in build() local
153 if (safetySourcesGroups.isEmpty()) { in build()
158 int safetySourcesGroupsSize = safetySourcesGroups.size(); in build()
160 SafetySourcesGroup safetySourcesGroup = safetySourcesGroups.get(i); in build()
179 return new SafetyCenterConfig(safetySourcesGroups); in build()
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DSafetyCenterSubpagesTest.kt108 val sourceGroup = config.safetySourcesGroups.first()!! in launchSafetyCenter_withSubpagesIntentExtra_showsSubpageTitle()
131 val sourceGroup = config.safetySourcesGroups.first()!! in launchSafetyCenter_withNonExistingGroupID_opensHomepageAsFallback()
154 safetyCenterTestConfigs.multipleSourceGroupsConfig.safetySourcesGroups.first() in launchSafetyCenter_withMultipleGroups_showsHomepageEntries()
156 safetyCenterTestConfigs.multipleSourceGroupsConfig.safetySourcesGroups.last() in launchSafetyCenter_withMultipleGroups_showsHomepageEntries()
186 safetyCenterTestConfigs.multipleSourceGroupsConfig.safetySourcesGroups.first() in launchSafetyCenter_withMultipleGroupsButFlagDisabled_showsExpandAndCollapseEntries()
188 safetyCenterTestConfigs.multipleSourceGroupsConfig.safetySourcesGroups.last() in launchSafetyCenter_withMultipleGroupsButFlagDisabled_showsExpandAndCollapseEntries()
212 safetyCenterTestConfigs.multipleSourceGroupsConfig.safetySourcesGroups.first() in launchSafetyCenter_redirectBackFromSubpage_showsHomepageEntries()
255 val firstGroup = safetyCenterTestConfigs.multipleSourcesConfig.safetySourcesGroups[0] in entryListWithMultipleSources_clickingOnHomepageEntry_showsSubpageEntries()
256 val secondGroup = safetyCenterTestConfigs.multipleSourcesConfig.safetySourcesGroups[1] in entryListWithMultipleSources_clickingOnHomepageEntry_showsSubpageEntries()
281 val sourcesGroup = safetyCenterTestConfigs.singleSourceConfig.safetySourcesGroups.first() in entryListWithSingleSource_clickingOnSubpageEntry_redirectsToDifferentScreen()
[all …]
DPrivacySubpageTest.kt89 val sourcesGroup = config.safetySourcesGroups.first() in privacySubpage_openWithIntentExtra_showsSubpageData()
110 val sourcesGroup = config.safetySourcesGroups.first() in privacySubpage_clickingOnEntry_redirectsToDifferentScreen()
134 extras.putString(EXTRA_SAFETY_SOURCES_GROUP_ID, config.safetySourcesGroups.first().id) in privacySubpage_withMultipleIssues_displaysExpectedWarningCards()
154 extras.putString(EXTRA_SAFETY_SOURCES_GROUP_ID, config.safetySourcesGroups.first().id) in privacySubpage_openWithIntentExtra_showsPrivacyControls()
178 val sourcesGroup = config.safetySourcesGroups.first() in privacySubpage_clickingOnLocationEntry_redirectsToLocationScreen()
199 val sourcesGroup = config.safetySourcesGroups.first() in settingsSearch_openWithPrivacyIntentExtra_showsPrivacySubpage()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/
DSafetyCenterConfigTest.kt36 assertThat(BASE.safetySourcesGroups) in getSafetySourcesGroups_returnsSafetySourcesGroups()
46 val sourcesGroups = BASE.safetySourcesGroups in getSafetySourcesGroups_mutationsAreNotAllowed()
59 val sourceGroups = safetyCenterConfigBuilder.build().safetySourcesGroups in builder_addSafetySourcesGroup_doesNotMutatePreviouslyBuiltInstance()
DXmlConfigTest.kt82 return safetyCenterConfig.safetySourcesGroups in isIntentInConfig()
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParserConfigOverlayTest.kt44 assertThat(safetyCenterConfig.safetySourcesGroups.size).isEqualTo(1) in <lambda>()
45 val safetySourcesGroup = safetyCenterConfig.safetySourcesGroups[0] in <lambda>()
78 assertThat(safetyCenterConfig.safetySourcesGroups.size).isEqualTo(1) in <lambda>()
79 val safetySourcesGroup = safetyCenterConfig.safetySourcesGroups[0] in <lambda>()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterConfigReader.java336 List<SafetySourcesGroup> safetySourcesGroups = in extractExternalSafetySources() local
338 for (int i = 0; i < safetySourcesGroups.size(); i++) { in extractExternalSafetySources()
339 SafetySourcesGroup safetySourcesGroup = safetySourcesGroups.get(i); in extractExternalSafetySources()
395 List<SafetySourcesGroup> safetySourcesGroups = in extractBroadcasts() local
397 for (int i = 0; i < safetySourcesGroups.size(); i++) { in extractBroadcasts()
398 SafetySourcesGroup safetySourcesGroup = safetySourcesGroups.get(i); in extractBroadcasts()
DSafetyCenterDataFactory.java155 List<SafetySourcesGroup> safetySourcesGroups) { in assembleSafetyCenterData() argument
161 for (int i = 0; i < safetySourcesGroups.size(); i++) { in assembleSafetyCenterData()
162 SafetySourcesGroup safetySourcesGroup = safetySourcesGroups.get(i); in assembleSafetyCenterData()
/packages/modules/Permission/tests/hostside/safetycenter/helper-app/src/android/safetycenter/hostside/device/
DSafetyCenterInteractionLoggingHelperTests.kt113 val sourceGroup = config.safetySourcesGroups.first()!! in openSubpageFromIntentExtra()
124 val sourcesGroup = config.safetySourcesGroups.first()!! in openSubpageFromHomepage()
135 val sourcesGroup = config.safetySourcesGroups.first()!! in openSubpageFromSettingsSearch()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt146 safetySourcesGroups: SafetySourcesGroup, in <lambda>()
151 safetyCenterResourcesApk.getNotEmptyStringOrNull(safetySourcesGroups.titleResId) in <lambda>()
158 .add(COLUMN_KEY, safetySourcesGroups.id) in <lambda>()
243 safetyCenterConfig?.safetySourcesGroups?.asSequence()?.filter { in <lambda>()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetyCenterIssueRepository.java189 List<SafetySourcesGroup> safetySourcesGroups = in getAllStoredIssuesFromRawSourceData() local
191 for (int j = 0; j < safetySourcesGroups.size(); j++) { in getAllStoredIssuesFromRawSourceData()
193 allIssuesInfo, safetySourcesGroups.get(j), userId, profileType); in getAllStoredIssuesFromRawSourceData()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestHelper.kt198 safetySourcesGroups in containsTestSource()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DLiveSafetyCenterViewModel.kt157 safetyCenterManager.safetyCenterConfig?.safetySourcesGroups?.find { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DInteractionLogger.kt160 return safetyCenterConfig.safetySourcesGroups in extractNoLogSourceIds()
/packages/modules/Permission/tests/functional/safetycenter/safetycenteractivity/src/android/safetycenter/functional/ui/
DSafetyCenterActivityTest.kt1422 val firstGroup = config.safetySourcesGroups.first() in launchSafetyCenter_enableSubpagesFlagOnT_stillShowsExpandAndCollapseEntries()
1423 val lastGroup = config.safetySourcesGroups.last() in launchSafetyCenter_enableSubpagesFlagOnT_stillShowsExpandAndCollapseEntries()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt3829 return safetySourcesGroups in <lambda>()