Home
last modified time | relevance | path

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

123

/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/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java223 eq(mKeyguardUpdateMonitor.mBroadcastReceiver), in testReceiversRegistered()
250 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast()
256 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast()
272 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_Absent()
283 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_CardIOError()
297 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimInvalid_ServiceState_InService()
314 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_SimValid_ServiceState_PowerOff()
335 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_ServiceState_OutOfService()
350 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_NotReady()
365 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext() in testTelephonyCapable_BootInitState_SimState_Ready()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DOpenNetworkNotifierTest.java94 private BroadcastReceiver mBroadcastReceiver; field in OpenNetworkNotifierTest
127 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()
496 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_notificationNotShowing_doesNothing()
516 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_currentRecommendationExists_connectsAndPostsNotification()
546 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_PICK_WIFI_NETWORK)); in actionPickWifiNetwork_currentRecommendationExists_opensWifiSettings()
605 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionSuccess_wasInConnectingFlow_postsConnectedNotification()
655 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionFailure_wasInConnectingFlow_postsFailedToConnectNotification()
692 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in connectionFailedCallback_postsFailedToConnectNotification()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupOnboarding.java67 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in WakeupOnboarding
131 mContext.registerReceiver(mBroadcastReceiver, mIntentFilter, in maybeShowNotification()
173 mContext.unregisterReceiver(mBroadcastReceiver); in dismissNotification()
DAvailableNetworkNotifier.java196 mBroadcastReceiver, filter, null /* broadcastPermission */, mHandler); in AvailableNetworkNotifier()
199 private final BroadcastReceiver mBroadcastReceiver = field in AvailableNetworkNotifier
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTakeScreenshotService.java59 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in TakeScreenshotService
139 registerReceiver(mBroadcastReceiver, filter); in onBind()
148 unregisterReceiver(mBroadcastReceiver); in onUnbind()
/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.java121 assertNotNull(mInjector.mBroadcastReceiver); in testStartStopTrackerScreenOnOff()
150 assertNull(mInjector.mBroadcastReceiver); in testStartStopTrackerScreenOnOff()
242 assertNotNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff()
275 assertNull(mInjector.mBroadcastReceiver); in testAdaptiveOnOff()
318 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testBrightnessFullPopulatedEvent()
565 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWriteThenRead()
610 mInjector.mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), in testWritePrunesOldEvents()
845 BroadcastReceiver mBroadcastReceiver; field in BrightnessTrackerTest.TestInjector
882 mBroadcastReceiver.onReceive(InstrumentationRegistry.getContext(), intent); in sendScreenChange()
920 mBroadcastReceiver = shutdownReceiver; in registerReceiver()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java73 private BroadcastReceiver mBroadcastReceiver; field in SecurityControllerTest
111 mBroadcastReceiver = brCaptor.getValue(); in setUp()
195 mBroadcastReceiver.onReceive(mContext, intent); in refreshCACerts()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/notification/
DNotificationPanelViewMediator.java57 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in NotificationPanelViewMediator
114 mBroadcastDispatcher.registerReceiver(mBroadcastReceiver, in registerListeners()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DBaseWifiTracker.java90 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in BaseWifiTracker
219 mContext.registerReceiver(mBroadcastReceiver, filter, in onStart()
242 mContext.unregisterReceiver(mBroadcastReceiver); in onStop()
/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.java77 phone.getContext().registerReceiver(mBroadcastReceiver, new IntentFilter( in CarrierServiceStateTracker()
322 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in CarrierServiceStateTracker
/frameworks/base/apex/jobscheduler/service/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/statusbar/
DKeyguardIndicationController.java106 private BroadcastReceiver mBroadcastReceiver; field in KeyguardIndicationController
183 if (mBroadcastReceiver == null) { in setIndicationArea()
185 mBroadcastReceiver = new BroadcastReceiver() { in setIndicationArea()
194 mBroadcastDispatcher.registerReceiver(mBroadcastReceiver, intentFilter); in setIndicationArea()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeTriggers.java85 private final TriggerReceiver mBroadcastReceiver = new TriggerReceiver(); field in DozeTriggers
377 mBroadcastReceiver.register(mBroadcastDispatcher); in transitionTo()
411 mBroadcastReceiver.unregister(mBroadcastDispatcher); in transitionTo()
/frameworks/base/services/core/java/com/android/server/utils/quota/
DQuotaTracker.java114 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in QuotaTracker
166 context.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, filter, null, in QuotaTracker()
169 context.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, userFilter, null, in QuotaTracker()
/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/biometrics/
DAuthController.java92 final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in AuthController
259 context.registerReceiver(mBroadcastReceiver, filter); in AuthController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java124 broadcastDispatcher.registerReceiverWithHandler(mBroadcastReceiver, filter, bgHandler, in SecurityControllerImpl()
417 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SecurityControllerImpl

123