Home
last modified time | relevance | path

Searched refs:SafetySourceReceiver (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ui/
DSafetyCenterStatusCardTest.kt36 import com.android.safetycenter.testing.SafetySourceReceiver
96 SafetySourceReceiver.setResponse(Request.Refresh(SINGLE_SOURCE_ID), Response.Error) in withUnknownStatusAndNoIssues_hasRescanButton()
111 SafetySourceReceiver.setResponse( in withInformationAndNoIssues_hasRescanButton()
129 SafetySourceReceiver.setResponse( in withInformationAndNoIssues_hasContentDescriptions()
144 SafetySourceReceiver.setResponse( in withInformationIssue_doesNotHaveRescanButton()
165 SafetySourceReceiver.setResponse( in withRecommendationIssue_doesNotHaveRescanButton()
188 SafetySourceReceiver.setResponse( in withCriticalWarningIssue_doesNotHaveRescanButton()
208 SafetySourceReceiver.setResponse( in withKnownStatus_displaysScanningOnRescan()
232 SafetySourceReceiver.setResponse( in rescan_updatesDataAfterScanCompletes()
236 SafetySourceReceiver.setResponse( in rescan_updatesDataAfterScanCompletes()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterManagerTest.kt81 import com.android.safetycenter.testing.SafetySourceReceiver
82 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.dismissSafetyCenterIssueWith…
83 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.executeSafetyCenterIssueActi…
84 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.refreshSafetySourcesWithRece…
85 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.refreshSafetySourcesWithoutR…
824 SafetySourceReceiver.setSafetyCenterEnabledWithReceiverPermissionAndWait(false) in safetyCenterEnabledChanged_whenSourceReceiverHasPermission_receiverCalled()
829 SafetySourceReceiver.setSafetyCenterEnabledWithReceiverPermissionAndWait(true) in safetyCenterEnabledChanged_whenSourceReceiverHasPermission_receiverCalled()
839 SafetySourceReceiver.setSafetyCenterEnabledWithReceiverPermissionAndWait( in safetyCenterEnabledChanged_valueDoesntChange_receiverNotCalled()
851 SafetySourceReceiver.setSafetyCenterEnabledWithoutReceiverPermissionAndWait(false) in safetyCenterEnabledChanged_whenSourceReceiverDoesntHavePermission_receiverNotCalled()
858 SafetySourceReceiver.setSafetyCenterEnabledWithReceiverPermissionAndWait( in safetyCenterEnabledChanged_whenSourceReceiverNotInConfig_receiverNotCalled()
[all …]
DSafetyCenterUnsupportedTest.kt51 import com.android.safetycenter.testing.SafetySourceReceiver
52 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.executeSafetyCenterIssueActi…
53 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.refreshSafetySourcesWithRece…
202 SafetySourceReceiver.setSafetyCenterEnabledWithReceiverPermissionAndWait( in safetyCenterEnabledChanged_withSourceReceiver_doesntCallReceiver()
/packages/modules/Permission/tests/hostside/safetycenter/helper-app/src/android/safetycenter/hostside/device/
DSafetySourceStateCollectedLoggingHelperTests.kt39 import com.android.safetycenter.testing.SafetySourceReceiver
40 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.executeSafetyCenterIssueActi…
41 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.refreshSafetySourcesWithRece…
164 SafetySourceReceiver.setResponse(Request.Refresh(SOURCE_ID_1), source1Response) in simulateRefresh()
167 SafetySourceReceiver.setResponse(Request.Refresh(SOURCE_ID_2), source2Response) in simulateRefresh()
170 SafetySourceReceiver.setResponse(Request.Refresh(SOURCE_ID_3), source3Response) in simulateRefresh()
192 SafetySourceReceiver.setResponse(Request.ResolveAction(SINGLE_SOURCE_ID), response) in simulateResolvingActionWith()
/packages/services/Telephony/tests/src/com/android/phone/security/
DSafetySourceReceiverTest.java56 SafetySourceReceiver mSafetySourceReceiver;
61 SafetySourceReceiver receiver = new SafetySourceReceiver(); in setUp()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestHelper.kt61 SafetySourceReceiver.setup() in setup()
80 SafetySourceReceiver.reset() in reset()
170 SafetySourceReceiver.receiveSafetyCenterEnabledChanged() in setEnabledWaitingForSafetyCenterBroadcastIdle()
DSafetySourceReceiver.kt55 class SafetySourceReceiver : BroadcastReceiver() { class
146 ComponentName(getApplicationContext(), SafetySourceReceiver::class.java) in setComponentEnabledState()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterNotificationTest.kt55 import com.android.safetycenter.testing.SafetySourceReceiver
941 SafetySourceReceiver.setResponse( in sendActionPendingIntent_successful_updatesListener()
973 SafetySourceReceiver.setResponse( in sendActionPendingIntent_successfulNoSuccessMessage_removesNotification()
1001 SafetySourceReceiver.setResponse( in sendActionPendingIntent_successfulWithSuccessMessage_successNotification()
1032 SafetySourceReceiver.setResponse( in successNotification_notificationHasAutoCancel()
1064 SafetySourceReceiver.setResponse( in sendActionPendingIntent_flagDisabled_pendingIntentNotSentToSource()
1093 SafetySourceReceiver.setResponse( in sendActionPendingIntent_sourceStateChangedSafetyEvent_successNotification()
1169 SafetySourceReceiver.setResponse( in sendActionPendingIntent_actionIdDiffersFromIssueActionId_successNotification()
1200 SafetySourceReceiver.setResponse( in sendActionPendingIntent_error_updatesListenerDoesNotRemoveNotification()
1314 SafetySourceReceiver.receiveResolveAction(timeout) in sendActionPendingIntentAndWaitWithPermission()
DSafetyCenterManagerTest.kt121 import com.android.safetycenter.testing.SafetySourceReceiver in <lambda>()
122 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.dismissSafetyCenterIssueWith… in <lambda>()
123 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.executeSafetyCenterIssueActi… in <lambda>()
124 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.refreshSafetySourcesWithRece… in <lambda>()
834 SafetySourceReceiver.setResponse( in <lambda>()
865 SafetySourceReceiver.setResponse( in <lambda>()
890 SafetySourceReceiver.setResponse( in <lambda>()
914 SafetySourceReceiver.setResponse( in <lambda>()
940 SafetySourceReceiver.setResponse( in <lambda>()
958 SafetySourceReceiver.setResponse( in <lambda>()
[all …]
/packages/modules/Permission/tests/functional/safetycenter/safetycenteractivity/src/android/safetycenter/functional/ui/
DSafetyCenterActivityTest.kt52 import com.android.safetycenter.testing.SafetySourceReceiver
657 SafetySourceReceiver.setResponse( in issueCard_resolveIssue_successConfirmationShown()
687 SafetySourceReceiver.setResponse( in issueCard_resolveIssue_issueDismisses()
715 SafetySourceReceiver.setResponse( in issueCard_resolveIssue_withDialogClickYes_resolves()
741 SafetySourceReceiver.setResponse( in issueCard_resolveIssue_withDialog_rotates_clickYes_resolves()
793 SafetySourceReceiver.setResponse( in issueCard_resolveIssue_noSuccessMessage_noResolutionUiShown_issueDismisses()
819 SafetySourceReceiver.setResponse(Request.ResolveAction(SINGLE_SOURCE_ID), Response.Error) in issueCard_resolvingInflightIssueFailed_issueRemains()
/packages/services/Telephony/src/com/android/phone/security/
DSafetySourceReceiver.java33 public class SafetySourceReceiver extends BroadcastReceiver { class
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DSafetyCenterSubpagesTest.kt51 import com.android.safetycenter.testing.SafetySourceReceiver
377 SafetySourceReceiver.setResponse( in entryListWithSingleSource_updateSafetySourceData_displayedDataIsUpdated()
411 SafetySourceReceiver.setResponse( in entryListWithSingleSource_updateSafetySourceDataAndRotate_displayedDataIsNotUpdated()
490 SafetySourceReceiver.setResponse( in issueCard_resolveIssueOnSubpage_issueDismisses()
972 SafetySourceReceiver.setResponse(Request.ResolveAction(SINGLE_SOURCE_ID), actionResponse) in prepareActionResponse()