/frameworks/base/core/java/android/net/util/ |
D | MultinetworkPolicyTracker.java | 71 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/ |
D | KeyguardUpdateMonitorTest.java | 223 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/ |
D | OpenNetworkNotifierTest.java | 94 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/ |
D | WakeupOnboarding.java | 67 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in WakeupOnboarding 131 mContext.registerReceiver(mBroadcastReceiver, mIntentFilter, in maybeShowNotification() 173 mContext.unregisterReceiver(mBroadcastReceiver); in dismissNotification()
|
D | AvailableNetworkNotifier.java | 196 mBroadcastReceiver, filter, null /* broadcastPermission */, mHandler); in AvailableNetworkNotifier() 199 private final BroadcastReceiver mBroadcastReceiver = field in AvailableNetworkNotifier
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | TakeScreenshotService.java | 59 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/ |
D | CachedDeviceStateService.java | 40 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in CachedDeviceStateService 77 getContext().registerReceiver(mBroadcastReceiver, filter); in onBootPhase()
|
D | EntropyMixer.java | 89 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in EntropyMixer 122 mBroadcastReceiver, in EntropyMixer()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 121 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/ |
D | SecurityControllerTest.java | 73 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/ |
D | NotificationPanelViewMediator.java | 57 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/ |
D | BaseWifiTracker.java | 90 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/ |
D | NotificationChannelController.java | 130 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/ |
D | EmergencyAffordanceService.java | 83 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in EmergencyAffordanceService 197 mContext.registerReceiver(mBroadcastReceiver, filter); in handleThirdPartyBootPhase()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsBroadcastUndelivered.java | 104 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SmsBroadcastUndelivered 161 context.registerReceiver(mBroadcastReceiver, userFilter); in SmsBroadcastUndelivered()
|
D | NetworkRegistrationManager.java | 75 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in NetworkRegistrationManager 107 contextAsUser.registerReceiver(mBroadcastReceiver, intentFilter, in NetworkRegistrationManager()
|
D | CarrierServiceStateTracker.java | 77 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/ |
D | DeviceIdleJobsController.java | 79 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/ |
D | VoiceInteractionManagerServiceImpl.java | 89 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/ |
D | KeyguardIndicationController.java | 106 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/ |
D | DozeTriggers.java | 85 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/ |
D | QuotaTracker.java | 114 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/ |
D | TrustAgentWrapper.java | 109 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/ |
D | AuthController.java | 92 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/ |
D | SecurityControllerImpl.java | 124 broadcastDispatcher.registerReceiverWithHandler(mBroadcastReceiver, filter, bgHandler, in SecurityControllerImpl() 417 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SecurityControllerImpl
|