Home
last modified time | relevance | path

Searched refs:safetySources (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Permission/framework-s/java/android/safetycenter/config/
DSafetySourcesGroup.java144 List<SafetySource> safetySources =
146 for (int i = 0; i < safetySources.size(); i++) {
147 builder.addSafetySource(safetySources.get(i));
174 @NonNull List<SafetySource> safetySources) { in SafetySourcesGroup() argument
180 mSafetySources = safetySources; in SafetySourcesGroup()
419 List<SafetySource> safetySources = unmodifiableList(new ArrayList<>(mSafetySources)); in build() local
420 if (safetySources.isEmpty()) { in build()
437 int safetySourcesSize = safetySources.size(); in build()
439 int type = safetySources.get(i).getType(); in build()
481 type, id, titleResId, summaryResId, statelessIconType, safetySources); in build()
DSafetyCenterConfig.java167 List<SafetySource> safetySources = safetySourcesGroup.getSafetySources(); in build() local
168 int safetySourcesSize = safetySources.size(); in build()
170 SafetySource staticSafetySource = safetySources.get(j); in build()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/
DSafetySourcesGroupTest.kt150 assertThat(STATEFUL_INFERRED_WITH_SUMMARY.safetySources) in getSafetySources_returnsSafetySources()
152 assertThat(STATEFUL_INFERRED_WITH_ICON.safetySources) in getSafetySources_returnsSafetySources()
154 assertThat(STATEFUL_INFERRED_WITH_BOTH.safetySources) in getSafetySources_returnsSafetySources()
161 assertThat(STATELESS_INFERRED.safetySources) in getSafetySources_returnsSafetySources()
163 assertThat(HIDDEN_INFERRED.safetySources) in getSafetySources_returnsSafetySources()
166 assertThat(STATEFUL_BAREBONE.safetySources) in getSafetySources_returnsSafetySources()
168 assertThat(STATEFUL_ALL_OPTIONAL.safetySources) in getSafetySources_returnsSafetySources()
174 assertThat(STATELESS_BAREBONE.safetySources) in getSafetySources_returnsSafetySources()
176 assertThat(STATELESS_ALL_OPTIONAL.safetySources) in getSafetySources_returnsSafetySources()
182 assertThat(HIDDEN_BAREBONE.safetySources) in getSafetySources_returnsSafetySources()
[all …]
DXmlConfigTest.kt83 .flatMap { it.safetySources } in isIntentInConfig()
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParserConfigOverlayTest.kt56 assertThat(safetySourcesGroup.safetySources.size).isEqualTo(1) in <lambda>()
57 val safetySource = safetySourcesGroup.safetySources[0] in <lambda>()
90 assertThat(safetySourcesGroup.safetySources.size).isEqualTo(1) in <lambda>()
91 val safetySource = safetySourcesGroup.safetySources[0] in <lambda>()
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DPrivacySubpageTest.kt90 val firstSource: SafetySource = sourcesGroup.safetySources.first() in privacySubpage_openWithIntentExtra_showsSubpageData()
91 val lastSource: SafetySource = sourcesGroup.safetySources.last() in privacySubpage_openWithIntentExtra_showsSubpageData()
111 val source: SafetySource = sourcesGroup.safetySources.first() in privacySubpage_clickingOnEntry_redirectsToDifferentScreen()
179 val source: SafetySource = sourcesGroup.safetySources.first() in privacySubpage_clickingOnLocationEntry_redirectsToLocationScreen()
200 val source: SafetySource = sourcesGroup.safetySources.first() in settingsSearch_openWithPrivacyIntentExtra_showsPrivacySubpage()
DSafetyCenterSubpagesTest.kt282 val source: SafetySource = sourcesGroup.safetySources.first() in entryListWithSingleSource_clickingOnSubpageEntry_redirectsToDifferentScreen()
367 val source: SafetySource = sourcesGroup.safetySources.first() in entryListWithSingleSource_updateSafetySourceData_displayedDataIsUpdated()
402 val source: SafetySource = sourcesGroup.safetySources.first() in entryListWithSingleSource_updateSafetySourceDataAndRotate_displayedDataIsNotUpdated()
915 val source = sourcesGroup.safetySources.first() in settingsSearch_openWithGenericIntentExtra_showsGenericSubpage()
947 val source: SafetySource = sourcesGroup.safetySources.first() in footerSummary_openGenericSubpageHavingFooter_showsExpectedText()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterConfigReader.java341 List<SafetySource> safetySources = safetySourcesGroup.getSafetySources(); in extractExternalSafetySources() local
342 for (int j = 0; j < safetySources.size(); j++) { in extractExternalSafetySources()
343 SafetySource safetySource = safetySources.get(j); in extractExternalSafetySources()
400 List<SafetySource> safetySources = safetySourcesGroup.getSafetySources(); in extractBroadcasts() local
401 for (int j = 0; j < safetySources.size(); j++) { in extractBroadcasts()
402 SafetySource safetySource = safetySources.get(j); in extractBroadcasts()
DSafetyCenterDataFactory.java393 List<SafetySource> safetySources = safetySourcesGroup.getSafetySources(); in addSafetyCenterEntryGroup() local
394 List<SafetyCenterEntry> entries = new ArrayList<>(safetySources.size()); in addSafetyCenterEntryGroup()
395 for (int safetySourceIdx = 0; safetySourceIdx < safetySources.size(); ++safetySourceIdx) { in addSafetyCenterEntryGroup()
396 SafetySource safetySource = safetySources.get(safetySourceIdx); in addSafetyCenterEntryGroup()
733 List<SafetySource> safetySources = safetySourcesGroup.getSafetySources(); in addSafetyCenterStaticEntryGroup() local
734 List<SafetyCenterStaticEntry> staticEntries = new ArrayList<>(safetySources.size()); in addSafetyCenterStaticEntryGroup()
735 for (int safetySourceIdx = 0; safetySourceIdx < safetySources.size(); safetySourceIdx++) { in addSafetyCenterStaticEntryGroup()
736 SafetySource safetySource = safetySources.get(safetySourceIdx); in addSafetyCenterStaticEntryGroup()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetyCenterIssueRepository.java204 List<SafetySource> safetySources = safetySourcesGroup.getSafetySources(); in addSafetySourceIssuesInfo() local
205 for (int i = 0; i < safetySources.size(); i++) { in addSafetySourceIssuesInfo()
206 SafetySource safetySource = safetySources.get(i); in addSafetySourceIssuesInfo()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt87 safetySourcesGroup.safetySources in <lambda>()
264 safetySourcesGroup.safetySources in <lambda>()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestHelper.kt199 .flatMap { it.safetySources } in containsTestSource()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DLiveSafetyCenterViewModel.kt160 return safetySourcesGroup?.safetySources?.map { it.id } in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DInteractionLogger.kt162 .flatMap { it.safetySources } in extractNoLogSourceIds()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt3830 .flatMap { it.safetySources } in <lambda>()