Searched refs:SafetySourceTestData (Results 1 – 17 of 17) sorted by relevance
125 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 …]
56 import com.android.safetycenter.testing.SafetySourceTestData57 import com.android.safetycenter.testing.SafetySourceTestData.Companion.ISSUE_TYPE_ID78 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 …]
26 import com.android.safetycenter.testing.SafetySourceTestData41 private val safetySourceTestData = SafetySourceTestData(context)
53 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ACTION_ID54 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ID55 import com.android.safetycenter.testing.SafetySourceTestData.Companion.INFORMATION_ISSUE_ACTION_ID56 import com.android.safetycenter.testing.SafetySourceTestData.Companion.INFORMATION_ISSUE_ID57 import com.android.safetycenter.testing.SafetySourceTestData.Companion.ISSUE_TYPE_ID58 import com.android.safetycenter.testing.SafetySourceTestData.Companion.RECOMMENDATION_ISSUE_ACTION_…59 import com.android.safetycenter.testing.SafetySourceTestData.Companion.RECOMMENDATION_ISSUE_ID70 private val safetySourceTestData = SafetySourceTestData(context)
42 import com.android.safetycenter.testing.SafetySourceTestData.Companion.EVENT_SOURCE_STATE_CHANGED
38 import com.android.safetycenter.testing.SafetySourceTestData.Companion.EVENT_SOURCE_STATE_CHANGED
55 class SafetySourceTestData(private val context: Context) { class
42 import com.android.safetycenter.testing.SafetySourceTestData43 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ACTION_ID44 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ID54 private val safetySourceTestData = SafetySourceTestData(context)
35 import com.android.safetycenter.testing.SafetySourceTestData36 import com.android.safetycenter.testing.SafetySourceTestData.Companion.INFORMATION_ISSUE_ID59 private val safetySourceTestData = SafetySourceTestData(context)
32 import com.android.safetycenter.testing.SafetySourceTestData54 private val safetySourceTestData = SafetySourceTestData(context)
88 import com.android.safetycenter.testing.SafetySourceTestData89 import com.android.safetycenter.testing.SafetySourceTestData.Companion.EVENT_SOURCE_STATE_CHANGED90 import com.android.safetycenter.testing.SafetySourceTestData.Companion.ISSUE_TYPE_ID123 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 …]
54 import com.android.safetycenter.testing.SafetySourceTestData55 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ACTION_ID56 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ID57 import com.android.safetycenter.testing.SafetySourceTestData.Companion.EVENT_SOURCE_STATE_CHANGED76 private val safetySourceTestData = SafetySourceTestData(context)
86 import com.android.safetycenter.testing.SafetySourceTestData87 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ACTION_ID88 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ID89 import com.android.safetycenter.testing.SafetySourceTestData.Companion.EVENT_SOURCE_STATE_CHANGED90 import com.android.safetycenter.testing.SafetySourceTestData.Companion.RECOMMENDATION_ISSUE_ID109 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()
53 import com.android.safetycenter.testing.SafetySourceTestData54 import com.android.safetycenter.testing.SafetySourceTestData.Companion.CRITICAL_ISSUE_ID55 import com.android.safetycenter.testing.SafetySourceTestData.Companion.RECOMMENDATION_ISSUE_ID88 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 …]
52 import com.android.safetycenter.testing.SafetySourceTestData86 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()
41 import com.android.safetycenter.testing.SafetySourceTestData65 private val safetySourceTestData = SafetySourceTestData(context)
37 import com.android.safetycenter.testing.SafetySourceTestData56 private val safetySourceTestData = SafetySourceTestData(context)