/packages/modules/Permission/framework-s/java/android/safetycenter/config/ |
D | SafetySourcesGroup.java | 144 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()
|
D | SafetyCenterConfig.java | 167 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/ |
D | SafetySourcesGroupTest.kt | 150 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 …]
|
D | XmlConfigTest.kt | 83 .flatMap { it.safetySources } in isIntentInConfig()
|
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/ |
D | ParserConfigOverlayTest.kt | 56 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/ |
D | PrivacySubpageTest.kt | 90 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()
|
D | SafetyCenterSubpagesTest.kt | 282 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/ |
D | SafetyCenterConfigReader.java | 341 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()
|
D | SafetyCenterDataFactory.java | 393 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/ |
D | SafetyCenterIssueRepository.java | 204 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/ |
D | SafetyCenterSearchIndexablesProvider.kt | 87 safetySourcesGroup.safetySources in <lambda>() 264 safetySourcesGroup.safetySources in <lambda>()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetyCenterTestHelper.kt | 199 .flatMap { it.safetySources } in containsTestSource()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | LiveSafetyCenterViewModel.kt | 160 return safetySourcesGroup?.safetySources?.map { it.id } in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | InteractionLogger.kt | 162 .flatMap { it.safetySources } in extractNoLogSourceIds()
|
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ |
D | SafetyCenterManagerTest.kt | 3830 .flatMap { it.safetySources } in <lambda>()
|