Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNotificationControllerTest.java66 BroadcastReceiver mBroadcastReceiver; field in WifiNotificationControllerTest
91 mBroadcastReceiver = broadcastReceiverCaptor.getValue(); in setUp()
105 TestUtil.sendWifiStateChanged(mBroadcastReceiver, mContext, WifiManager.WIFI_STATE_ENABLED); in verifyNotificationDisplayed()
106 TestUtil.sendNetworkStateChanged(mBroadcastReceiver, mContext, in verifyNotificationDisplayed()
111 TestUtil.sendScanResultsAvailable(mBroadcastReceiver, mContext); in verifyNotificationDisplayed()
112 TestUtil.sendScanResultsAvailable(mBroadcastReceiver, mContext); in verifyNotificationDisplayed()
118 TestUtil.sendNetworkStateChanged(mBroadcastReceiver, mContext, in verifyNotificationDisplayed()
120 TestUtil.sendNetworkStateChanged(mBroadcastReceiver, mContext, in verifyNotificationDisplayed()
127 TestUtil.sendScanResultsAvailable(mBroadcastReceiver, mContext); in verifyNotificationDisplayed()
135 TestUtil.sendNetworkStateChanged(mBroadcastReceiver, mContext, in verifyNotificationDisplayed()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java109 mContext.registerReceiver(mBroadcastReceiver, mAdapterIntentFilter, null, mReceiverHandler); in BluetoothEventManager()
113 mContext.registerReceiver(mBroadcastReceiver, mProfileIntentFilter, null, mReceiverHandler); in registerProfileIntentReceiver()
117 mContext.unregisterReceiver(mBroadcastReceiver); in setReceiverHandler()
119 mContext.registerReceiver(mBroadcastReceiver, mAdapterIntentFilter, null, mReceiverHandler); in setReceiverHandler()
137 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in BluetoothEventManager
/frameworks/base/services/core/java/com/android/server/job/controllers/
DDeviceIdleJobsController.java79 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in DeviceIdleJobsController
109 mBroadcastReceiver, UserHandle.ALL, filter, null, null); in DeviceIdleJobsController()
/frameworks/base/services/core/java/com/android/server/
DEntropyMixer.java86 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in EntropyMixer
118 context.registerReceiver(mBroadcastReceiver, broadcastFilter); in EntropyMixer()
DTelephonyRegistry.java251 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in TelephonyRegistry
349 mContext.registerReceiver(mBroadcastReceiver, filter); in systemRunning()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java75 final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in VoiceInteractionManagerServiceImpl
147 mContext.registerReceiver(mBroadcastReceiver, filter, null, handler); in VoiceInteractionManagerServiceImpl()
343 mContext.unregisterReceiver(mBroadcastReceiver); in shutdownLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsBroadcastUndelivered.java80 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in SmsBroadcastUndelivered
135 context.registerReceiver(mBroadcastReceiver, userFilter); in SmsBroadcastUndelivered()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java96 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in TrustAgentWrapper
288 mContext.registerReceiver(mBroadcastReceiver, alarmFilter, PERMISSION, null); in TrustAgentWrapper()
422 mContext.unregisterReceiver(mBroadcastReceiver); in destroy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeService.java296 mContext.registerReceiver(mBroadcastReceiver, filter); in listenForBroadcasts()
300 mContext.unregisterReceiver(mBroadcastReceiver); in listenForBroadcasts()
334 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in DozeService
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DServiceMonitor.java141 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in ServiceMonitor
182 mContext.registerReceiver(mBroadcastReceiver, filter); in start()
DBaseStatusBar.java502 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in BaseStatusBar
805 mContext.registerReceiver(mBroadcastReceiver, filter); in start()
811 mContext.registerReceiver(mBroadcastReceiver, internalFilter, PERMISSION_SELF, null); in start()
2584 mContext.unregisterReceiver(mBroadcastReceiver);
/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
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java1514 private SimChangeBroadcastReceiver mBroadcastReceiver = null; field in Tethering.TetherMasterSM
1518 if (mBroadcastReceiver == null) { in startListeningForSimChanges()
1519 mBroadcastReceiver = new SimChangeBroadcastReceiver( in startListeningForSimChanges()
1524 mContext.registerReceiver(mBroadcastReceiver, filter); in startListeningForSimChanges()
1530 if (mBroadcastReceiver != null) { in stopListeningForSimChanges()
1532 mContext.unregisterReceiver(mBroadcastReceiver); in stopListeningForSimChanges()
1533 mBroadcastReceiver = null; in stopListeningForSimChanges()
DVpn.java1485 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in Vpn.LegacyVpnRunner
1534 mContext.registerReceiver(mBroadcastReceiver, filter); in LegacyVpnRunner()
1552 mContext.unregisterReceiver(mBroadcastReceiver); in exit()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayAdapter.java142 getContext().registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, in registerLocked()
431 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in WifiDisplayAdapter
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
DPipManager.java164 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in PipManager
204 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in initialize()
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/
DRetailDemoModeService.java133 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in RetailDemoModeService
422 getContext().registerReceiver(mBroadcastReceiver, filter); in registerBroadcastReceiver()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java484 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in GnssLocationProvider
2183 mContext.registerReceiver(mBroadcastReceiver, intentFilter, null, this);
2192 mContext.registerReceiver(mBroadcastReceiver, intentFilter, null, this);
2206 mContext.registerReceiver(mBroadcastReceiver, intentFilter, null, this);
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java641 mContext.registerReceiver(mBroadcastReceiver, new IntentFilter(DELAYED_KEYGUARD_ACTION)); in setupLocked()
643 mBroadcastReceiver, new IntentFilter(DELAYED_LOCK_PROFILE_ACTION)); in setupLocked()
1374 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in KeyguardViewMediator
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java629 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in KeyguardUpdateMonitor
1037 context.registerReceiver(mBroadcastReceiver, filter); in KeyguardUpdateMonitor()
1042 context.registerReceiver(mBroadcastReceiver, bootCompleteFilter); in KeyguardUpdateMonitor()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java125 BroadcastReceiver mBroadcastReceiver; field in WifiScanningServiceTest
353 mBroadcastReceiver = broadcastReceiverCaptor.getValue(); in setupAndLoadDriver()
656 TestUtil.sendWifiScanAvailable(mBroadcastReceiver, mContext, in sendSingleScanRequestThenDisableWifi()
707 TestUtil.sendWifiScanAvailable(mBroadcastReceiver, mContext, in sendSingleScanAndPendingScanAndListenerThenDisableWifi()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalActions.java144 context.registerReceiver(mBroadcastReceiver, filter); in GlobalActions()
1067 private BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() {
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java399 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in JobSchedulerService
809 mBroadcastReceiver, UserHandle.ALL, filter, null, null); in onBootPhase()
812 mBroadcastReceiver, UserHandle.ALL, userFilter, null, null); in onBootPhase()
/frameworks/base/docs/html/training/tv/tif/
Dtvinput.jd137 registerReceiver(mBroadcastReceiver, intentFilter);
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java154 private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() { field in AppWidgetServiceImpl
263 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, in registerBroadcastReceiver()
273 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, in registerBroadcastReceiver()
280 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, in registerBroadcastReceiver()
286 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, in registerBroadcastReceiver()
292 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, in registerBroadcastReceiver()

12