Home
last modified time | relevance | path

Searched refs:SOURCE_ID_1 (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Permission/tests/functional/safetycenter/safetycenteractivity/src/android/safetycenter/functional/ui/
DSafetyCenterActivityTest.kt43 import com.android.safetycenter.testing.SafetyCenterTestConfigs.Companion.SOURCE_ID_1
142 SOURCE_ID_1, in launchActivity_displaysCollapsedGroupsOfMultipleSource()
213 SOURCE_ID_1, in launchActivity_displaysPrioritizedGroupSummary()
342 safetyCenterTestHelper.setData(SOURCE_ID_1, safetySourceTestData.information) in entryListWithEntryGroup_informationState_hasContentDescription()
360 SOURCE_ID_1, in entryListWithEntryGroup_recommendationState_hasActionsNeededContentDescription()
384 safetyCenterTestHelper.setData(SOURCE_ID_1, safetySourceTestData.unspecified) in entryListWithEntryGroup_clickingAnUnclickableDisabledEntry_doesNothing()
400 safetyCenterTestHelper.setData(SOURCE_ID_1, safetySourceTestData.unspecified) in entryListWithEntryGroup_unclickableDisabledEntry_hasContentDescription()
414 SOURCE_ID_1, in entryListWithEntryGroup_clickingAClickableDisabledEntry_redirectsToDifferentScreen()
429 SOURCE_ID_1, in entryListWithEntryGroup_clickableDisabledEntry_hasContentDescription()
911 SOURCE_ID_1, in launchActivity_fromQuickSettings_issuesExpanded()
[all …]
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt104 import com.android.safetycenter.testing.SafetyCenterTestConfigs.Companion.SOURCE_ID_1 in <lambda>()
1739 SOURCE_ID_1, in <lambda>()
1756 SOURCE_ID_1, in <lambda>()
1777 SOURCE_ID_1, in <lambda>()
1795 SOURCE_ID_1, in <lambda>()
1809 SOURCE_ID_1, in <lambda>()
1839 SOURCE_ID_1, in <lambda>()
1869 SOURCE_ID_1, in <lambda>()
1897 SOURCE_ID_1, in <lambda>()
1915 SOURCE_ID_1, in <lambda>()
[all …]
DSafetyCenterNotificationTest.kt47 import com.android.safetycenter.testing.SafetyCenterTestConfigs.Companion.SOURCE_ID_1
694 setFlagsForImmediateNotifications(SOURCE_ID_1, SOURCE_ID_5) in setSafetySourceData_duplicateIssues_sendsOneNotification()
697 SOURCE_ID_1, in setSafetySourceData_duplicateIssues_sendsOneNotification()
725 setFlagsForImmediateNotifications(SOURCE_ID_1, SOURCE_ID_5) in setSafetySourceData_duplicateIssueOfLowerSeverityDismissed_sendsNotification()
728 SOURCE_ID_1, in setSafetySourceData_duplicateIssueOfLowerSeverityDismissed_sendsNotification()
738 safetySourceId = SOURCE_ID_1, in setSafetySourceData_duplicateIssueOfLowerSeverityDismissed_sendsNotification()
873 setFlagsForImmediateNotifications(SOURCE_ID_1, SOURCE_ID_5) in dismissingNotification_withDuplicateIssues_allDismissed()
876 SOURCE_ID_1, in dismissingNotification_withDuplicateIssues_allDismissed()
894 safetySourceId = SOURCE_ID_1, in dismissingNotification_withDuplicateIssues_allDismissed()
902 safetyCenterTestHelper.setData(SOURCE_ID_1, SafetySourceTestData.issuesOnly()) in dismissingNotification_withDuplicateIssues_allDismissed()
[all …]
DSafetySourceDataFixesTest.kt22 import com.android.safetycenter.testing.SafetyCenterTestConfigs.Companion.SOURCE_ID_1
175 mapOf(SOURCE_ID_1 to setOf(targetActionId, "AdditionalActionId")) in defaultActionOverride_sameActionIdDifferentSource_doesNotOverride()
211 mapOf(SOURCE_ID_1 to setOf("TargetActionId")) in defaultActionOverride_sameSourceDifferentActionId_doesNotOverride()
229 safetyCenterTestHelper.setData(SOURCE_ID_1, dataWithoutActionToOverride) in defaultActionOverride_sameSourceDifferentActionId_doesNotOverride()
233 .getSafetySourceDataWithPermission(SOURCE_ID_1)!! in defaultActionOverride_sameSourceDifferentActionId_doesNotOverride()
/packages/modules/Permission/tests/hostside/safetycenter/helper-app/src/android/safetycenter/hostside/device/
DSafetySourceStateCollectedLoggingHelperTests.kt31 import com.android.safetycenter.testing.SafetyCenterTestConfigs.Companion.SOURCE_ID_1
76 safetyCenterTestHelper.setData(SOURCE_ID_1, safetySourceTestData.information) in setSafetySourceData_source1()
82 SOURCE_ID_1, in reportSafetySourceError_source1()
164 SafetySourceReceiver.setResponse(Request.Refresh(SOURCE_ID_1), source1Response) in simulateRefresh()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestConfigs.kt182 .addSafetySource(dynamicSafetySource(SOURCE_ID_1))
206 .addSafetySource(dynamicSafetySource(SOURCE_ID_1))
222 SOURCE_ID_1,
286 .addSafetySource(dynamicSafetySource(SOURCE_ID_1))
308 val dynamicSource1 = dynamicSafetySource(SOURCE_ID_1)
362 dynamicSafetySourceBuilder(SOURCE_ID_1)
525 .addSafetySource(dynamicSafetySource(SOURCE_ID_1))
903 const val SOURCE_ID_1 = "test_source_id_1" in issueOnlySafetySourceWithDuplicationInfo() constant
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterManagerTest.kt71 import com.android.safetycenter.testing.SafetyCenterTestConfigs.Companion.SOURCE_ID_1
976 Request.Rescan(SOURCE_ID_1), in refreshSafetySources_withMultipleSourcesInConfig_multipleSourcesSendData()
990 safetyCenterManager.getSafetySourceDataWithPermission(SOURCE_ID_1) in refreshSafetySources_withMultipleSourcesInConfig_multipleSourcesSendData()
1004 safetyCenterTestHelper.setData(SOURCE_ID_1, safetySourceTestData.information) in refreshSafetySources_withMultipleSourcesOnPageOpen_onlyUpdatesAllowedSources()
1008 Request.Refresh(SOURCE_ID_1), in refreshSafetySources_withMultipleSourcesOnPageOpen_onlyUpdatesAllowedSources()
1022 safetyCenterManager.getSafetySourceDataWithPermission(SOURCE_ID_1) in refreshSafetySources_withMultipleSourcesOnPageOpen_onlyUpdatesAllowedSources()
1245 SafetyCenterFlags.untrackedSources = setOf(SOURCE_ID_1) in refreshSafetySources_withUntrackedSourceThatTimesOut_doesNotTimeOut()
1265 SafetyCenterFlags.untrackedSources = setOf(SOURCE_ID_1, SOURCE_ID_2) in refreshSafetySources_withMultipleUntrackedSourcesThatTimeOut_doesNotTimeOut()
1338 Request.Refresh(SOURCE_ID_1), in refreshSafetySources_withRefreshReasonOther_backgroundRefreshDeniedSourcesDoNotSendData()
1351 SafetyCenterFlags.backgroundRefreshDeniedSources = setOf(SOURCE_ID_1, SOURCE_ID_3) in refreshSafetySources_withRefreshReasonOther_backgroundRefreshDeniedSourcesDoNotSendData()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/
DMeasurementDbMigratorV25Test.java43 private static final String SOURCE_ID_1 = "source_id_1"; field in MeasurementDbMigratorV25Test
71 populateSource(db, SOURCE_ID_1, REGISTRATION_URL_1); in performMigration_v24ToV25WithData_maintainsDataIntegrity()
80 attributionRows.add(buildAttributionV24("id1", SOURCE_ID_1, TRIGGER_ID_1)); in performMigration_v24ToV25WithData_maintainsDataIntegrity()
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DSafetyCenterSubpagesTest.kt41 import com.android.safetycenter.testing.SafetyCenterTestConfigs.Companion.SOURCE_ID_1
147 setData(SOURCE_ID_1, sourceTestData) in launchSafetyCenter_withMultipleGroups_showsHomepageEntries()
179 setData(SOURCE_ID_1, sourceTestData) in launchSafetyCenter_withMultipleGroupsButFlagDisabled_showsExpandAndCollapseEntries()
208 setData(SOURCE_ID_1, safetySourceTestData.information) in launchSafetyCenter_redirectBackFromSubpage_showsHomepageEntries()
231 SOURCE_ID_1, in entryListWithMultipleSources_clickingOnHomepageEntry_showsSubpageEntries()
557 safetyCenterTestHelper.setData(SOURCE_ID_1, firstSourceData) in moreIssuesCard_expandOnSubpage_showsAdditionalCard()
816 safetyCenterTestHelper.setData(SOURCE_ID_1, firstSourceData) in moreIssuesCard_expandWithDismissedIssues_showsAdditionalCards()
849 safetyCenterTestHelper.setData(SOURCE_ID_1, firstSourceData) in moreIssuesCard_collapseWithDismissedIssues_hidesAdditionalCards()
DPrivacySubpageTest.kt38 import com.android.safetycenter.testing.SafetyCenterTestConfigs.Companion.SOURCE_ID_1
132 safetyCenterTestHelper.setData(SOURCE_ID_1, secondSourceData) in privacySubpage_withMultipleIssues_displaysExpectedWarningCards()