Home
last modified time | relevance | path

Searched refs:mBroadcastReceiver (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java150 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast()
156 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast()
172 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_Absent()
183 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_CardIOError()
197 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimInvalid_ServiceState_InService()
214 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimValid_ServiceState_PowerOff()
235 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_ServiceState_OutOfService()
250 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_NotReady()
265 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_Ready()
278 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_ServiceState_PowerOff()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkConfigTest.java72 BroadcastReceiver mBroadcastReceiver; field in CarrierNetworkConfigTest
120 mBroadcastReceiver = receiver.getValue(); in setUp()
186 mBroadcastReceiver.onReceive(mContext, in verifyIsCarrierEncryptionInfoAvailableReturnsFalseWhenEncryptionInfoNotAvailable()
225 mBroadcastReceiver.onReceive(mContext, in receivedCarrierConfigChangedIntent()
247 mBroadcastReceiver.onReceive(mContext, new Intent("dummyIntent")); in receivedNonCarrierConfigChangedIntent()
258 mBroadcastReceiver.onReceive(mContext, in onFeatureDisable_setWifiNetworksAvailableNotificationSettingDisabled()
DCarrierNetworkNotifierTest.java91 private BroadcastReceiver mBroadcastReceiver; field in CarrierNetworkNotifierTest
125 mBroadcastReceiver = broadcastReceiverCaptor.getValue(); in setUp()
395 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_USER_DISMISSED_NOTIFICATION)); in userDismissedNotification_shouldBlacklistNetwork()
421 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in userConnectedNotification_shouldBlacklistNetwork()
495 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_notificationNotShowing_doesNothing()
515 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_currentRecommendationExists_connectsAndPostsNotification()
544 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_PICK_WIFI_NETWORK)); in actionPickWifiNetwork_currentRecommendationExists_opensWifiSettings()
603 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionSuccess_wasInConnectingFlow_postsConnectedNotification()
654 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionFailure_wasInConnectingFlow_postsFailedToConnectNotification()
691 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in connectionFailedCallback_postsFailedToConnectNotification()
[all …]
DOpenNetworkNotifierTest.java91 private BroadcastReceiver mBroadcastReceiver; field in OpenNetworkNotifierTest
124 mBroadcastReceiver = broadcastReceiverCaptor.getValue(); in setUp()
392 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_USER_DISMISSED_NOTIFICATION)); in userDismissedNotification_shouldBlacklistNetwork()
418 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in userConnectedNotification_shouldBlacklistNetwork()
491 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_notificationNotShowing_doesNothing()
511 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_currentRecommendationExists_connectsAndPostsNotification()
540 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_PICK_WIFI_NETWORK)); in actionPickWifiNetwork_currentRecommendationExists_opensWifiSettings()
599 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionSuccess_wasInConnectingFlow_postsConnectedNotification()
649 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionFailure_wasInConnectingFlow_postsFailedToConnectNotification()
686 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in connectionFailedCallback_postsFailedToConnectNotification()
[all …]
DWifiControllerTest.java103 private BroadcastReceiver mBroadcastReceiver; field in WifiControllerTest
131 mBroadcastReceiver = bcastRxCaptor.getValue(); in setUp()
246 mBroadcastReceiver = bcastRxCaptor.getValue(); in testEnterScanModeWhenLocationModeEnabled()
253 mBroadcastReceiver.onReceive(mContext, intent); in testEnterScanModeWhenLocationModeEnabled()
279 mBroadcastReceiver = bcastRxCaptor.getValue(); in testExitScanModeWhenLocationModeDisabled()
286 mBroadcastReceiver.onReceive(mContext, intent); in testExitScanModeWhenLocationModeDisabled()
DWifiApConfigStoreTest.java91 private BroadcastReceiver mBroadcastReceiver; field in WifiApConfigStoreTest
148 mBroadcastReceiver = broadcastReceiverCaptor.getValue(); in createWifiApConfigStore()
766 mBroadcastReceiver.onReceive(mContext, intent); in testNotificationClearedWhenContentIsTapped()
/frameworks/base/core/java/android/net/util/
DMultinetworkPolicyTracker.java71 private final BroadcastReceiver mBroadcastReceiver; field in MultinetworkPolicyTracker
90 mBroadcastReceiver = new BroadcastReceiver() { in MultinetworkPolicyTracker()
118 mBroadcastReceiver, UserHandle.ALL, intentFilter, null, mHandler); in start()
126 mContext.unregisterReceiver(mBroadcastReceiver); in shutdown()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupOnboarding.java68 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in WakeupOnboarding
132 mContext.registerReceiver(mBroadcastReceiver, mIntentFilter, in maybeShowNotification()
174 mContext.unregisterReceiver(mBroadcastReceiver); in dismissNotification()
DWifiApConfigStore.java139 mBroadcastReceiver, filter, null /* broadcastPermission */, mHandler); in WifiApConfigStore()
142 private final BroadcastReceiver mBroadcastReceiver = field in WifiApConfigStore
DAvailableNetworkNotifier.java197 mBroadcastReceiver, filter, null /* broadcastPermission */, mHandler); in AvailableNetworkNotifier()
200 private final BroadcastReceiver mBroadcastReceiver = field in AvailableNetworkNotifier
/frameworks/base/services/core/java/com/android/server/
DCachedDeviceStateService.java40 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in CachedDeviceStateService
77 getContext().registerReceiver(mBroadcastReceiver, filter); in onBootPhase()
DEntropyMixer.java89 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in EntropyMixer
122 mBroadcastReceiver, in EntropyMixer()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java119 assertNotNull(mInjector.mBroadcastReceiver); in testStartStopTrackerScreenOnOff()
148 assertNull(mInjector.mBroadcastReceiver); in testStartStopTrackerScreenOnOff()
209 assertNotNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff()
246 assertNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff()
289 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testBrightnessFullPopulatedEvent()
539 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWriteThenRead()
587 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWritePrunesOldEvents()
812 BroadcastReceiver mBroadcastReceiver; field in BrightnessTrackerTest.TestInjector
849 mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), intent); in sendScreenChange()
887 mBroadcastReceiver = shutdownReceiver; in registerReceiver()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java130 context.registerReceiver(mBroadcastReceiver, intentFilter); in NotificationChannelController()
178 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in NotificationChannelController
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java83 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in EmergencyAffordanceService
197 mContext.registerReceiver(mBroadcastReceiver, filter); in handleThirdPartyBootPhase()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsBroadcastUndelivered.java104 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SmsBroadcastUndelivered
161 context.registerReceiver(mBroadcastReceiver, userFilter); in SmsBroadcastUndelivered()
DNetworkRegistrationManager.java75 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in NetworkRegistrationManager
107 contextAsUser.registerReceiver(mBroadcastReceiver, intentFilter, in NetworkRegistrationManager()
DCarrierServiceStateTracker.java75 phone.getContext().registerReceiver(mBroadcastReceiver, new IntentFilter( in CarrierServiceStateTracker()
276 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in CarrierServiceStateTracker
DLocaleTracker.java167 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in LocaleTracker
256 mPhone.getContext().registerReceiver(mBroadcastReceiver, filter); in LocaleTracker()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DDeviceIdleJobsController.java79 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in DeviceIdleJobsController
139 mBroadcastReceiver, UserHandle.ALL, filter, null, null); in DeviceIdleJobsController()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java89 final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in VoiceInteractionManagerServiceImpl
162 mContext.registerReceiver(mBroadcastReceiver, filter, null, handler); in VoiceInteractionManagerServiceImpl()
452 mContext.unregisterReceiver(mBroadcastReceiver); in shutdownLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java81 private final TriggerReceiver mBroadcastReceiver = new TriggerReceiver(); field in DozeTriggers
299 mBroadcastReceiver.register(mContext); in transitionTo()
334 mBroadcastReceiver.unregister(mContext); in transitionTo()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java109 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in TrustAgentWrapper
428 mContext.registerReceiver(mBroadcastReceiver, alarmFilter, PERMISSION, null); in TrustAgentWrapper()
590 mContext.unregisterReceiver(mBroadcastReceiver); in destroy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java128 context.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, filter, null, in SecurityControllerImpl()
403 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SecurityControllerImpl
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java90 registerReceiver(mBroadcastReceiver, filter); in onCreate()
104 unregisterReceiver(mBroadcastReceiver); in onDestroy()
107 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SoundTriggerTestService

123