Home
last modified time | relevance | path

Searched refs:mBroadcastDispatcher (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DSystemUIDialogTest.java48 private BroadcastDispatcher mBroadcastDispatcher; field in SystemUIDialogTest
54 mDependency.injectTestDependency(BroadcastDispatcher.class, mBroadcastDispatcher); in setup()
67 verify(mBroadcastDispatcher).registerReceiver(broadcastReceiverCaptor.capture(), in testRegisterReceiver()
73 verify(mBroadcastDispatcher).unregisterReceiver(eq(broadcastReceiverCaptor.getValue())); in testRegisterReceiver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDebuggingSecondaryUserActivity.java45 private final BroadcastDispatcher mBroadcastDispatcher; field in UsbDebuggingSecondaryUserActivity
49 mBroadcastDispatcher = broadcastDispatcher; in UsbDebuggingSecondaryUserActivity()
92 mBroadcastDispatcher.registerReceiver(mDisconnectedReceiver, filter); in onStart()
99 mBroadcastDispatcher.unregisterReceiver(mDisconnectedReceiver); in onStop()
DUsbDebuggingActivity.java52 private final BroadcastDispatcher mBroadcastDispatcher; field in UsbDebuggingActivity
59 mBroadcastDispatcher = broadcastDispatcher; in UsbDebuggingActivity()
133 mBroadcastDispatcher.registerReceiver(mDisconnectedReceiver, filter); in onStart()
140 mBroadcastDispatcher.unregisterReceiver(mDisconnectedReceiver); in onStop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DCurrentUserTracker.java67 private final BroadcastDispatcher mBroadcastDispatcher; field in CurrentUserTracker.UserReceiver
73 mBroadcastDispatcher = broadcastDispatcher; in UserReceiver()
101 mBroadcastDispatcher.registerReceiver(this, filter, null, in addTracker()
111 mBroadcastDispatcher.unregisterReceiver(this); in removeTracker()
DBrightnessDialog.java39 private final BroadcastDispatcher mBroadcastDispatcher; field in BrightnessDialog
43 mBroadcastDispatcher = broadcastDispatcher; in BrightnessDialog()
62 mBrightnessController = new BrightnessController(this, slider, mBroadcastDispatcher); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingController.java53 private BroadcastDispatcher mBroadcastDispatcher; field in RecordingController
72 mBroadcastDispatcher = broadcastDispatcher; in RecordingController()
117 mBroadcastDispatcher.registerReceiver(mUserChangeReceiver, userFilter, null, in startCountdown()
175 mBroadcastDispatcher.unregisterReceiver(mUserChangeReceiver); in stopRecording()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNfcTile.java43 private BroadcastDispatcher mBroadcastDispatcher; field in NfcTile
50 mBroadcastDispatcher = broadcastDispatcher; in NfcTile()
63 mBroadcastDispatcher.registerReceiver(mNfcReceiver, in handleSetListening()
66 mBroadcastDispatcher.unregisterReceiver(mNfcReceiver); in handleSetListening()
DAirplaneModeTile.java49 private final BroadcastDispatcher mBroadcastDispatcher; field in AirplaneModeTile
58 mBroadcastDispatcher = broadcastDispatcher; in AirplaneModeTile()
139 mBroadcastDispatcher.registerReceiver(mReceiver, filter); in handleSetListening()
141 mBroadcastDispatcher.unregisterReceiver(mReceiver); in handleSetListening()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImpl.java45 private final BroadcastDispatcher mBroadcastDispatcher; field in ManagedProfileControllerImpl
56 mBroadcastDispatcher = broadcastDispatcher; in ManagedProfileControllerImpl()
136 mBroadcastDispatcher.registerReceiver( in setListening()
139 mBroadcastDispatcher.unregisterReceiver(mReceiver); in setListening()
DSystemUIDialog.java148 private final BroadcastDispatcher mBroadcastDispatcher; field in SystemUIDialog.DismissReceiver
152 mBroadcastDispatcher = Dependency.get(BroadcastDispatcher.class); in DismissReceiver()
156 mBroadcastDispatcher.registerReceiver(this, INTENT_FILTER, null, UserHandle.CURRENT); in register()
162 mBroadcastDispatcher.unregisterReceiver(this); in unregister()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDateView.java46 private final BroadcastDispatcher mBroadcastDispatcher; field in DateView
87 mBroadcastDispatcher = Dependency.get(BroadcastDispatcher.class); in DateView()
99 mBroadcastDispatcher.registerReceiverWithHandler(mIntentReceiver, filter, in onAttachedToWindow()
110 mBroadcastDispatcher.unregisterReceiver(mIntentReceiver); in onDetachedFromWindow()
DClock.java111 private final BroadcastDispatcher mBroadcastDispatcher; field in Clock
131 mBroadcastDispatcher = Dependency.get(BroadcastDispatcher.class); in Clock()
132 mCurrentUserTracker = new CurrentUserTracker(mBroadcastDispatcher) { in Clock()
191 mBroadcastDispatcher.registerReceiverWithHandler(mIntentReceiver, filter, in onAttachedToWindow()
217 mBroadcastDispatcher.unregisterReceiver(mIntentReceiver); in onDetachedFromWindow()
368 mBroadcastDispatcher.registerReceiver(mScreenReceiver, filter); in updateShowSeconds()
372 mBroadcastDispatcher.unregisterReceiver(mScreenReceiver); in updateShowSeconds()
DBatteryControllerImpl.java61 private final BroadcastDispatcher mBroadcastDispatcher; field in BatteryControllerImpl
92 mBroadcastDispatcher = broadcastDispatcher; in BatteryControllerImpl()
100 mBroadcastDispatcher.registerReceiver(this, filter); in registerReceiver()
326 mBroadcastDispatcher.unregisterReceiver(this); in dispatchDemoCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLatencyTester.java53 private final BroadcastDispatcher mBroadcastDispatcher; field in LatencyTester
62 mBroadcastDispatcher = broadcastDispatcher; in LatencyTester()
74 mBroadcastDispatcher.registerReceiver(new BroadcastReceiver() { in start()
DSystemUIService.java45 private final BroadcastDispatcher mBroadcastDispatcher; field in SystemUIService
57 mBroadcastDispatcher = broadcastDispatcher; in SystemUIService()
69 mLogBufferFreezer.attach(mBroadcastDispatcher); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java67 private final BroadcastDispatcher mBroadcastDispatcher; field in WorkLockActivity
72 mBroadcastDispatcher = broadcastDispatcher; in WorkLockActivity()
79 mBroadcastDispatcher.registerReceiver(mLockEventReceiver, in onCreate()
116 mBroadcastDispatcher.unregisterReceiver(mLockEventReceiver); in unregisterBroadcastReceiver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenBrightness.java53 private final BroadcastDispatcher mBroadcastDispatcher; field in DozeScreenBrightness
82 mBroadcastDispatcher = broadcastDispatcher; in DozeScreenBrightness()
94 mBroadcastDispatcher.registerReceiverWithHandler(this, filter, handler, UserHandle.ALL); in DozeScreenBrightness()
136 mBroadcastDispatcher.unregisterReceiver(this); in onDestroy()
DDozeFactory.java62 private final BroadcastDispatcher mBroadcastDispatcher; field in DozeFactory
90 mBroadcastDispatcher = broadcastDispatcher; in DozeFactory()
136 mBroadcastDispatcher, host, handler, params.getPolicy()); in createDozeScreenBrightness()
147 mProximitySensor, proximityCheck, dozeLog, mBroadcastDispatcher); in createDozeTriggers()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogControllerImplTest.java63 private BroadcastDispatcher mBroadcastDispatcher; field in VolumeDialogControllerImplTest
84 mBroadcastDispatcher, mRingerModeTracker); in setup()
95 verify(mBroadcastDispatcher).registerReceiverWithHandler(any(BroadcastReceiver.class), in testRegisteredWithDispatcher()
134 mContext, callback, null, mBroadcastDispatcher, mRingerModeTracker); in testVolumeChangeW_nullStatusBar()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/notification/
DNotificationPanelViewMediator.java53 private final BroadcastDispatcher mBroadcastDispatcher; field in NotificationPanelViewMediator
84 mBroadcastDispatcher = broadcastDispatcher; in NotificationPanelViewMediator()
114 mBroadcastDispatcher.registerReceiver(mBroadcastReceiver, in registerListeners()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DCurrentUserTrackerTest.java40 private BroadcastDispatcher mBroadcastDispatcher; field in CurrentUserTrackerTest
45 mReceiver = new CurrentUserTracker.UserReceiver(mBroadcastDispatcher); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityTest.java61 private @Mock BroadcastDispatcher mBroadcastDispatcher; field in WorkLockActivityTest
84 mActivity = new WorkLockActivityTestable(mContext, mBroadcastDispatcher); in setUp()
121 verify(mBroadcastDispatcher).unregisterReceiver(any()); in testUnregisteredFromDispatcher()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java69 private BroadcastDispatcher mBroadcastDispatcher; field in ThemeOverlayController
76 mBroadcastDispatcher = broadcastDispatcher; in ThemeOverlayController()
92 mBroadcastDispatcher.registerReceiverWithHandler(new BroadcastReceiver() { in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java64 private final BroadcastDispatcher mBroadcastDispatcher; field in TileServices
71 mBroadcastDispatcher = broadcastDispatcher; in TileServices()
74 mBroadcastDispatcher.registerReceiver( in TileServices()
93 mBroadcastDispatcher); in getTileWrapper()
336 mBroadcastDispatcher.unregisterReceiver(mRequestListeningReceiver); in destroy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java50 private BroadcastDispatcher mBroadcastDispatcher; field in BatteryControllerTest
57 mPowerManager, mBroadcastDispatcher, new Handler(), new Handler()); in setUp()

123