/packages/modules/Permission/framework-s/java/android/safetycenter/config/ |
D | SafetyCenterConfig.java | 54 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/ |
D | SafetyCenterSubpagesTest.kt | 108 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 …]
|
D | PrivacySubpageTest.kt | 89 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/ |
D | SafetyCenterConfigTest.kt | 36 assertThat(BASE.safetySourcesGroups) in getSafetySourcesGroups_returnsSafetySourcesGroups() 46 val sourcesGroups = BASE.safetySourcesGroups in getSafetySourcesGroups_mutationsAreNotAllowed() 59 val sourceGroups = safetyCenterConfigBuilder.build().safetySourcesGroups in builder_addSafetySourcesGroup_doesNotMutatePreviouslyBuiltInstance()
|
D | XmlConfigTest.kt | 82 return safetyCenterConfig.safetySourcesGroups in isIntentInConfig()
|
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/ |
D | ParserConfigOverlayTest.kt | 44 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/ |
D | SafetyCenterConfigReader.java | 336 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()
|
D | SafetyCenterDataFactory.java | 155 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/ |
D | SafetyCenterInteractionLoggingHelperTests.kt | 113 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/ |
D | SafetyCenterSearchIndexablesProvider.kt | 146 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/ |
D | SafetyCenterIssueRepository.java | 189 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/ |
D | SafetyCenterTestHelper.kt | 198 safetySourcesGroups in containsTestSource()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | LiveSafetyCenterViewModel.kt | 157 safetyCenterManager.safetyCenterConfig?.safetySourcesGroups?.find { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | InteractionLogger.kt | 160 return safetyCenterConfig.safetySourcesGroups in extractNoLogSourceIds()
|
/packages/modules/Permission/tests/functional/safetycenter/safetycenteractivity/src/android/safetycenter/functional/ui/ |
D | SafetyCenterActivityTest.kt | 1422 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/ |
D | SafetyCenterManagerTest.kt | 3829 return safetySourcesGroups in <lambda>()
|