Searched refs:SafetySourceReceiver (Results 1 – 12 of 12) sorted by relevance
36 import com.android.safetycenter.testing.SafetySourceReceiver96 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()
81 import com.android.safetycenter.testing.SafetySourceReceiver82 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 …]
51 import com.android.safetycenter.testing.SafetySourceReceiver52 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.executeSafetyCenterIssueActi…53 import com.android.safetycenter.testing.SafetySourceReceiver.Companion.refreshSafetySourcesWithRece…202 SafetySourceReceiver.setSafetyCenterEnabledWithReceiverPermissionAndWait( in safetyCenterEnabledChanged_withSourceReceiver_doesntCallReceiver()
39 import com.android.safetycenter.testing.SafetySourceReceiver40 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()
56 SafetySourceReceiver mSafetySourceReceiver;61 SafetySourceReceiver receiver = new SafetySourceReceiver(); in setUp()
61 SafetySourceReceiver.setup() in setup()80 SafetySourceReceiver.reset() in reset()170 SafetySourceReceiver.receiveSafetyCenterEnabledChanged() in setEnabledWaitingForSafetyCenterBroadcastIdle()
55 class SafetySourceReceiver : BroadcastReceiver() { class146 ComponentName(getApplicationContext(), SafetySourceReceiver::class.java) in setComponentEnabledState()
55 import com.android.safetycenter.testing.SafetySourceReceiver941 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()
121 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 …]
52 import com.android.safetycenter.testing.SafetySourceReceiver657 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()
33 public class SafetySourceReceiver extends BroadcastReceiver { class
51 import com.android.safetycenter.testing.SafetySourceReceiver377 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()