Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DAutoAddTrackerTest.java66 private BroadcastDispatcher mBroadcastDispatcher; field in AutoAddTrackerTest
147 verify(mBroadcastDispatcher).registerReceiver( in testRestoredTilePositionPreserved()
159 verify(mBroadcastDispatcher).registerReceiver( in testNoRestoredTileReturnsEndPosition()
170 verify(mBroadcastDispatcher).registerReceiver( in testBroadcastReceiverRegistered()
182 InOrder inOrder = Mockito.inOrder(mBroadcastDispatcher); in testBroadcastReceiverChangesWithUser()
183 inOrder.verify(mBroadcastDispatcher).unregisterReceiver(any()); in testBroadcastReceiverChangesWithUser()
184 inOrder.verify(mBroadcastDispatcher) in testBroadcastReceiverChangesWithUser()
191 verify(mBroadcastDispatcher).registerReceiver( in testSettingRestoredWithTilesNotRemovedInSource_noAutoAddedInTarget()
214 verify(mBroadcastDispatcher) in testSettingRestoredWithTilesRemovedInSource_noAutoAddedInTarget()
238 verify(mBroadcastDispatcher) in testSettingRestoredWithTilesRemovedInSource_sameAutoAddedinTarget()
[all …]
DFgsManagerControllerTest.java97 BroadcastDispatcher mBroadcastDispatcher; field in FgsManagerControllerTest
334 mBroadcastDispatcher, in testShowUserVisibleJobsOnCreation()
361 mBroadcastDispatcher, in testShowUserVisibleJobsOnCreation()
468 mBroadcastDispatcher, in createFgsManagerController()
481 verify(mBroadcastDispatcher).registerReceiver( in createFgsManagerController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerStartable.java47 protected final BroadcastDispatcher mBroadcastDispatcher; field in BatteryControllerStartable
54 mBroadcastDispatcher = broadcastDispatcher; in BatteryControllerStartable()
64 mBroadcastDispatcher.registerReceiver((BroadcastReceiver) mBatteryController, filter); in registerReceiver()
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.java119 private final BroadcastDispatcher mBroadcastDispatcher; field in Clock
147 mBroadcastDispatcher = Dependency.get(BroadcastDispatcher.class); in Clock()
203 mBroadcastDispatcher.registerReceiverWithHandler(mIntentReceiver, filter, in onAttachedToWindow()
228 mBroadcastDispatcher.unregisterReceiver(mScreenReceiver); in onDetachedFromWindow()
235 mBroadcastDispatcher.unregisterReceiver(mIntentReceiver); in onDetachedFromWindow()
420 mBroadcastDispatcher.registerReceiver(mScreenReceiver, filter); in updateShowSeconds()
425 mBroadcastDispatcher.unregisterReceiver(mScreenReceiver); in updateShowSeconds()
DZenModeControllerImpl.java73 private final BroadcastDispatcher mBroadcastDispatcher; field in ZenModeControllerImpl
94 mBroadcastDispatcher.unregisterReceiver(mReceiver);
99 mBroadcastDispatcher.registerReceiver(mReceiver, filter, null,
116 mBroadcastDispatcher = broadcastDispatcher; in ZenModeControllerImpl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerStartableTest.java64 private BroadcastDispatcher mBroadcastDispatcher; field in BatteryControllerStartableTest
88 mBroadcastDispatcher, mExecutor); in setUp()
102 verify(mBroadcastDispatcher).registerReceiver(any(), any()); in start_flagEnabled_registersListeners()
111 verifyZeroInteractions(mBroadcastDispatcher); in start_flagDisabled_doesNotRegistersListeners()
DSecurityControllerTest.java79 private final BroadcastDispatcher mBroadcastDispatcher = mock(BroadcastDispatcher.class); field in SecurityControllerTest
116 mBroadcastDispatcher, in setUp()
121 verify(mBroadcastDispatcher).registerReceiverWithHandler( in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDebuggingSecondaryUserActivity.java46 private final BroadcastDispatcher mBroadcastDispatcher; field in UsbDebuggingSecondaryUserActivity
50 mBroadcastDispatcher = broadcastDispatcher; in UsbDebuggingSecondaryUserActivity()
95 mBroadcastDispatcher.registerReceiver(mDisconnectedReceiver, filter); in onStart()
102 mBroadcastDispatcher.unregisterReceiver(mDisconnectedReceiver); in onStop()
DUsbDebuggingActivity.java53 private final BroadcastDispatcher mBroadcastDispatcher; field in UsbDebuggingActivity
60 mBroadcastDispatcher = broadcastDispatcher; in UsbDebuggingActivity()
76 mBroadcastDispatcher.registerReceiver(mDisconnectedReceiver, filter); in onCreate()
136 mBroadcastDispatcher.unregisterReceiver(mDisconnectedReceiver); in onDestroy()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DSystemUIDialogTest.java69 private BroadcastDispatcher mBroadcastDispatcher; field in SystemUIDialogTest
83 mDependency.injectTestDependency(BroadcastDispatcher.class, mBroadcastDispatcher); in setup()
97 verify(mBroadcastDispatcher).registerReceiver(broadcastReceiverCaptor.capture(), in testRegisterReceiver()
103 verify(mBroadcastDispatcher).unregisterReceiver( in testRegisterReceiver()
113 verify(mBroadcastDispatcher, never()).registerReceiver(ArgumentMatchers.any(), in testNoRegisterReceiver()
118 verify(mBroadcastDispatcher, never()).unregisterReceiver(ArgumentMatchers.any()); in testNoRegisterReceiver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLatencyTester.java56 private final BroadcastDispatcher mBroadcastDispatcher; field in LatencyTester
71 mBroadcastDispatcher = broadcastDispatcher; in LatencyTester()
103 mBroadcastDispatcher.registerReceiver(mBroadcastReceiver, filter); in registerForBroadcasts()
105 mBroadcastDispatcher.unregisterReceiver(mBroadcastReceiver); in registerForBroadcasts()
DSliceBroadcastRelayHandler.java56 private final BroadcastDispatcher mBroadcastDispatcher; field in SliceBroadcastRelayHandler
63 mBroadcastDispatcher = broadcastDispatcher; in SliceBroadcastRelayHandler()
74 mBroadcastDispatcher.registerReceiver(mReceiver, filter, mBackgroundExecutor); in start()
76 mBroadcastDispatcher.registerReceiver(mReceiver, filter); in start()
DSystemUIService.java49 private final BroadcastDispatcher mBroadcastDispatcher; field in SystemUIService
68 mBroadcastDispatcher = broadcastDispatcher; in SystemUIService()
83 mLogBufferFreezer.attach(mBroadcastDispatcher); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java65 private final BroadcastDispatcher mBroadcastDispatcher; field in WorkLockActivity
72 mBroadcastDispatcher = broadcastDispatcher; in WorkLockActivity()
81 mBroadcastDispatcher.registerReceiver(mLockEventReceiver, in onCreate()
138 mBroadcastDispatcher.unregisterReceiver(mLockEventReceiver); in unregisterBroadcastReceiver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNfcTile.java62 private BroadcastDispatcher mBroadcastDispatcher; field in NfcTile
81 mBroadcastDispatcher = broadcastDispatcher; in NfcTile()
94 mBroadcastDispatcher.registerReceiver(mNfcReceiver, in handleSetListening()
97 mBroadcastDispatcher.unregisterReceiver(mNfcReceiver); in handleSetListening()
DAirplaneModeTile.java72 private final BroadcastDispatcher mBroadcastDispatcher; field in AirplaneModeTile
98 mBroadcastDispatcher = broadcastDispatcher; in AirplaneModeTile()
182 mBroadcastDispatcher.registerReceiver(mReceiver, filter); in handleSetListening()
184 mBroadcastDispatcher.unregisterReceiver(mReceiver); in handleSetListening()
DDreamTile.java71 private final BroadcastDispatcher mBroadcastDispatcher; field in DreamTile
113 mBroadcastDispatcher = broadcastDispatcher; in DreamTile()
142 mBroadcastDispatcher.registerReceiver(mReceiver, filter); in handleSetListening()
144 mBroadcastDispatcher.unregisterReceiver(mReceiver); in handleSetListening()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java124 private final BroadcastDispatcher mBroadcastDispatcher; field in SystemUIDialog.Factory
137 mBroadcastDispatcher = broadcastDispatcher; in Factory()
187 mBroadcastDispatcher, in create()
597 private final BroadcastDispatcher mBroadcastDispatcher; field in SystemUIDialog.DismissReceiver
603 mBroadcastDispatcher = broadcastDispatcher; in DismissReceiver()
608 mBroadcastDispatcher.registerReceiver(this, INTENT_FILTER, null, UserHandle.CURRENT); in register()
614 mBroadcastDispatcher.unregisterReceiver(this); in unregister()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingController.java71 private final BroadcastDispatcher mBroadcastDispatcher; field in RecordingController
131 mBroadcastDispatcher = broadcastDispatcher; in RecordingController()
213 mBroadcastDispatcher.registerReceiver(mStateChangeReceiver, stateFilter, null, in startCountdown()
281 mBroadcastDispatcher.unregisterReceiver(mStateChangeReceiver); in updateState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSliceBroadcastRelayHandlerTest.java71 private BroadcastDispatcher mBroadcastDispatcher; field in SliceBroadcastRelayHandlerTest
83 mRelayHandler = new SliceBroadcastRelayHandler(mSpyContext, mBroadcastDispatcher, in setup()
180 verify(mBroadcastDispatcher) in testRegisteredWithDispatcher_onMainThread()
192 verify(mBroadcastDispatcher) in testRegisteredWithDispatcher_onBackgroundThread()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DNfcTileTest.java73 private BroadcastDispatcher mBroadcastDispatcher; field in NfcTileTest
98 mBroadcastDispatcher in setUp()
DAirplaneModeTileTest.kt69 private lateinit var mBroadcastDispatcher: BroadcastDispatcher variable in com.android.systemui.qs.tiles.AirplaneModeTileTest
102 mBroadcastDispatcher, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DWifiStateWorkerTest.java62 private BroadcastDispatcher mBroadcastDispatcher; field in WifiStateWorkerTest
78 mWifiStateWorker = new WifiStateWorker(mBroadcastDispatcher, mBackgroundExecutor, in setup()
90 mWifiStateWorker = new WifiStateWorker(mBroadcastDispatcher, mBackgroundExecutor, in setWifiEnabled_wifiManagerIsNull_shouldNotSetWifiEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
DRecordingControllerTest.java85 private BroadcastDispatcher mBroadcastDispatcher; field in RecordingControllerTest
145 mBroadcastDispatcher, in setUp()
220 verify(mBroadcastDispatcher).registerReceiver(eq(mController.mStateChangeReceiver), in testUpdateStateBroadcast()
233 verify(mBroadcastDispatcher).unregisterReceiver(eq(mController.mStateChangeReceiver)); in testUpdateStateBroadcast()

123