Home
last modified time | relevance | path

Searched refs:SafetySourceTestData (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt125 import com.android.safetycenter.testing.SafetySourceTestData in <lambda>()
126 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ACTION_ID in <lambda>()
127 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ID in <lambda>()
128 import com.android.safetycenter.testing.SafetySourceTestData.Companion.EVENT_SOURCE_STATE_CHANGED in <lambda>()
129 import com.android.safetycenter.testing.SafetySourceTestData.Companion.INFORMATION_ISSUE_ID in <lambda>()
130 import com.android.safetycenter.testing.SafetySourceTestData.Companion.RECOMMENDATION_ISSUE_ID in <lambda>()
150 private val safetySourceTestData = SafetySourceTestData(context) in <lambda>()
1016 SafetySourceTestData.createRedirectPendingIntent( in <lambda>()
1036 SafetySourceTestData.createRedirectPendingIntent( in <lambda>()
1056 SafetySourceTestData.createRedirectPendingIntent( in <lambda>()
[all …]
DSafetyCenterNotificationTest.kt56 import com.android.safetycenter.testing.SafetySourceTestData
57 import com.android.safetycenter.testing.SafetySourceTestData.Companion.ISSUE_TYPE_ID
78 private val safetySourceTestData = SafetySourceTestData(context)
698 SafetySourceTestData.issuesOnly( in setSafetySourceData_duplicateIssues_sendsOneNotification()
704 SafetySourceTestData.issuesOnly( in setSafetySourceData_duplicateIssues_sendsOneNotification()
729 SafetySourceTestData.issuesOnly( in setSafetySourceData_duplicateIssueOfLowerSeverityDismissed_sendsNotification()
746 SafetySourceTestData.issuesOnly( in setSafetySourceData_duplicateIssueOfLowerSeverityDismissed_sendsNotification()
835 SafetySourceTestData.RECOMMENDATION_ISSUE_ID in dismissSafetyCenterIssue_dismissesNotification()
877 SafetySourceTestData.issuesOnly( in dismissingNotification_withDuplicateIssues_allDismissed()
883 SafetySourceTestData.issuesOnly( in dismissingNotification_withDuplicateIssues_allDismissed()
[all …]
DSafetySourceDataFixesTest.kt26 import com.android.safetycenter.testing.SafetySourceTestData
41 private val safetySourceTestData = SafetySourceTestData(context)
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestData.kt53 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ACTION_ID
54 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ID
55 import com.android.safetycenter.testing.SafetySourceTestData.Companion.INFORMATION_ISSUE_ACTION_ID
56 import com.android.safetycenter.testing.SafetySourceTestData.Companion.INFORMATION_ISSUE_ID
57 import com.android.safetycenter.testing.SafetySourceTestData.Companion.ISSUE_TYPE_ID
58 import com.android.safetycenter.testing.SafetySourceTestData.Companion.RECOMMENDATION_ISSUE_ACTION_…
59 import com.android.safetycenter.testing.SafetySourceTestData.Companion.RECOMMENDATION_ISSUE_ID
70 private val safetySourceTestData = SafetySourceTestData(context)
DSafetyCenterTestHelper.kt42 import com.android.safetycenter.testing.SafetySourceTestData.Companion.EVENT_SOURCE_STATE_CHANGED
DSafetySourceIntentHandler.kt38 import com.android.safetycenter.testing.SafetySourceTestData.Companion.EVENT_SOURCE_STATE_CHANGED
DSafetySourceTestData.kt55 class SafetySourceTestData(private val context: Context) { class
/packages/modules/Permission/tests/hostside/safetycenter/helper-app/src/android/safetycenter/hostside/device/
DSafetySourceStateCollectedLoggingHelperTests.kt42 import com.android.safetycenter.testing.SafetySourceTestData
43 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ACTION_ID
44 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ID
54 private val safetySourceTestData = SafetySourceTestData(context)
DSafetyCenterInteractionLoggingHelperTests.kt35 import com.android.safetycenter.testing.SafetySourceTestData
36 import com.android.safetycenter.testing.SafetySourceTestData.Companion.INFORMATION_ISSUE_ID
59 private val safetySourceTestData = SafetySourceTestData(context)
DSafetyCenterNotificationLoggingHelperTests.kt32 import com.android.safetycenter.testing.SafetySourceTestData
54 private val safetySourceTestData = SafetySourceTestData(context)
/packages/modules/Permission/tests/functional/safetycenter/multiusers/src/android/safetycenter/functional/multiusers/
DSafetyCenterMultiUsersTest.kt88 import com.android.safetycenter.testing.SafetySourceTestData
89 import com.android.safetycenter.testing.SafetySourceTestData.Companion.EVENT_SOURCE_STATE_CHANGED
90 import com.android.safetycenter.testing.SafetySourceTestData.Companion.ISSUE_TYPE_ID
123 private val safetySourceTestData = SafetySourceTestData(context)
1343 SafetySourceTestData.issuesOnly(safetySourceTestData.criticalResolvingGeneralIssue) in setSafetySourceData_primaryProfileIssueOnlySource_shouldNotBeAbleToSetDataToWorkProfile()
1459 SafetySourceTestData.issuesOnly(safetySourceTestData.recommendationGeneralIssue) in setSafetySourceData_issuesOnlySourceWithWorkProfile_shouldBeAbleToSetData()
1464 SafetySourceTestData.issuesOnly(safetySourceTestData.criticalResolvingGeneralIssue) in setSafetySourceData_issuesOnlySourceWithWorkProfile_shouldBeAbleToSetData()
1633 SafetySourceTestData.createRedirectPendingIntent( in createTestActivityRedirectPendingIntentForUser()
1635 SafetySourceTestData.createTestActivityIntent(getContextForUser(user), explicit) in createTestActivityRedirectPendingIntentForUser()
1703 SafetySourceTestData.issuesOnly(safetySourceTestData.criticalResolvingGeneralIssue) in safetyCenterEntryOkForWork()
[all …]
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterUnsupportedTest.kt54 import com.android.safetycenter.testing.SafetySourceTestData
55 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ACTION_ID
56 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ID
57 import com.android.safetycenter.testing.SafetySourceTestData.Companion.EVENT_SOURCE_STATE_CHANGED
76 private val safetySourceTestData = SafetySourceTestData(context)
DSafetyCenterManagerTest.kt86 import com.android.safetycenter.testing.SafetySourceTestData
87 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ACTION_ID
88 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ID
89 import com.android.safetycenter.testing.SafetySourceTestData.Companion.EVENT_SOURCE_STATE_CHANGED
90 import com.android.safetycenter.testing.SafetySourceTestData.Companion.RECOMMENDATION_ISSUE_ID
109 private val safetySourceTestData = SafetySourceTestData(context)
361 SafetySourceTestData.issuesOnly(safetySourceTestData.informationIssue) in setSafetySourceData_dynamicWithIssueOnly_throwsIllegalArgumentException()
474 SafetySourceTestData.issuesOnly(safetySourceTestData.recommendationGeneralIssue) in setSafetySourceData_issueOnlyWithMaxSevRecommendation_met()
490 SafetySourceTestData.issuesOnly( in setSafetySourceData_issueOnlyWithMaxSevRecommendation_notMet()
/packages/modules/Permission/tests/functional/safetycenter/safetycenteractivity/src/android/safetycenter/functional/ui/
DSafetyCenterActivityTest.kt53 import com.android.safetycenter.testing.SafetySourceTestData
54 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ID
55 import com.android.safetycenter.testing.SafetySourceTestData.Companion.RECOMMENDATION_ISSUE_ID
88 private val safetySourceTestData = SafetySourceTestData(context)
526 SafetySourceTestData.issuesOnly(issue) in issueCard_noAttribution_hasProperContentDescriptions()
724 waitAllTextDisplayed(SafetySourceTestData.CONFIRMATION_TITLE) in issueCard_resolveIssue_withDialogClickYes_resolves()
725 waitButtonDisplayed(SafetySourceTestData.CONFIRMATION_YES) { it.click() } in issueCard_resolveIssue_withDialogClickYes_resolves()
750 waitAllTextDisplayed(SafetySourceTestData.CONFIRMATION_TITLE) in issueCard_resolveIssue_withDialog_rotates_clickYes_resolves()
754 waitAllTextDisplayed(SafetySourceTestData.CONFIRMATION_TITLE) in issueCard_resolveIssue_withDialog_rotates_clickYes_resolves()
755 waitButtonDisplayed(SafetySourceTestData.CONFIRMATION_YES) { it.click() } in issueCard_resolveIssue_withDialog_rotates_clickYes_resolves()
[all …]
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DSafetyCenterSubpagesTest.kt52 import com.android.safetycenter.testing.SafetySourceTestData
86 private val safetySourceTestData = SafetySourceTestData(context)
674 waitAllTextDisplayed(SafetySourceTestData.CONFIRMATION_TITLE) in dismissedIssuesCard_resolveIssue_withDialogClickYes_resolves()
675 waitButtonDisplayed(SafetySourceTestData.CONFIRMATION_YES) { it.click() } in dismissedIssuesCard_resolveIssue_withDialogClickYes_resolves()
693 waitAllTextDisplayed(SafetySourceTestData.CONFIRMATION_TITLE) in dismissedIssuesCard_resolveIssue_withDialog_rotates_clickYes_resolves()
697 waitAllTextDisplayed(SafetySourceTestData.CONFIRMATION_TITLE) in dismissedIssuesCard_resolveIssue_withDialog_rotates_clickYes_resolves()
698 waitButtonDisplayed(SafetySourceTestData.CONFIRMATION_YES) { it.click() } in dismissedIssuesCard_resolveIssue_withDialog_rotates_clickYes_resolves()
715 waitAllTextDisplayed(SafetySourceTestData.CONFIRMATION_TITLE) in dismissedIssuesCard_resolveIssue_withDialogClicksNo_cancels()
716 waitButtonDisplayed(SafetySourceTestData.CONFIRMATION_NO) { it.click() } in dismissedIssuesCard_resolveIssue_withDialogClicksNo_cancels()
DPrivacySubpageTest.kt41 import com.android.safetycenter.testing.SafetySourceTestData
65 private val safetySourceTestData = SafetySourceTestData(context)
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ui/
DSafetyCenterStatusCardTest.kt37 import com.android.safetycenter.testing.SafetySourceTestData
56 private val safetySourceTestData = SafetySourceTestData(context)