Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java126 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast()
132 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast()
148 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_Absent()
159 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_CardIOError()
173 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimInvalid_ServiceState_InService()
190 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimValid_ServiceState_PowerOff()
211 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_ServiceState_OutOfService()
226 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_NotReady()
241 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_Ready()
254 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_ServiceState_PowerOff()
[all …]
/frameworks/base/core/java/android/net/util/
DMultinetworkPolicyTracker.java68 private final BroadcastReceiver mBroadcastReceiver; field in MultinetworkPolicyTracker
91 mBroadcastReceiver = new BroadcastReceiver() { in MultinetworkPolicyTracker()
110 mBroadcastReceiver, UserHandle.ALL, intentFilter, null, null); in start()
118 mContext.unregisterReceiver(mBroadcastReceiver); in shutdown()
/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()
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 …]
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 …]
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/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()
206 assertNotNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff()
239 assertNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff()
282 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testBrightnessFullPopulatedEvent()
529 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWriteThenRead()
574 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWritePrunesOldEvents()
799 BroadcastReceiver mBroadcastReceiver; field in BrightnessTrackerTest.TestInjector
836 mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), intent); in sendScreenChange()
874 mBroadcastReceiver = shutdownReceiver; in registerReceiver()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java122 context.registerReceiver(mBroadcastReceiver, intentFilter); in NotificationChannelController()
170 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in NotificationChannelController
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsBroadcastUndelivered.java85 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SmsBroadcastUndelivered
142 context.registerReceiver(mBroadcastReceiver, userFilter); in SmsBroadcastUndelivered()
DNetworkRegistrationManager.java73 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in NetworkRegistrationManager
105 phone.getContext().registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, in NetworkRegistrationManager()
DLocaleTracker.java121 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in LocaleTracker
189 mPhone.getContext().registerReceiver(mBroadcastReceiver, filter); in LocaleTracker()
DCarrierServiceStateTracker.java70 phone.getContext().registerReceiver(mBroadcastReceiver, new IntentFilter( in CarrierServiceStateTracker()
278 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in CarrierServiceStateTracker
DDeviceStateMonitor.java202 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in DeviceStateMonitor
267 mPhone.getContext().registerReceiver(mBroadcastReceiver, filter, null, mPhone); in DeviceStateMonitor()
/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/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java80 private final TriggerReceiver mBroadcastReceiver = new TriggerReceiver(); field in DozeTriggers
273 mBroadcastReceiver.register(mContext); in transitionTo()
303 mBroadcastReceiver.unregister(mContext); in transitionTo()
/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/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