Home
last modified time | relevance | path

Searched refs:mBroadcastDispatcher (Results 1 – 25 of 61) 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.java95 BroadcastDispatcher mBroadcastDispatcher; field in FgsManagerControllerTest
320 mBroadcastDispatcher, in testShowUserVisibleJobsOnCreation()
346 mBroadcastDispatcher, in testShowUserVisibleJobsOnCreation()
452 mBroadcastDispatcher, in createFgsManagerController()
464 verify(mBroadcastDispatcher).registerReceiver( in createFgsManagerController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DSystemUIDialogTest.java55 private BroadcastDispatcher mBroadcastDispatcher; field in SystemUIDialogTest
62 mDependency.injectTestDependency(BroadcastDispatcher.class, mBroadcastDispatcher); in setup()
74 verify(mBroadcastDispatcher).registerReceiver(broadcastReceiverCaptor.capture(), in testRegisterReceiver()
80 verify(mBroadcastDispatcher).unregisterReceiver(eq(broadcastReceiverCaptor.getValue())); in testRegisterReceiver()
89 verify(mBroadcastDispatcher, never()).registerReceiver(any(), any(), eq(null), any()); in testNoRegisterReceiver()
93 verify(mBroadcastDispatcher, never()).unregisterReceiver(any()); in testNoRegisterReceiver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLatencyTester.java58 private final BroadcastDispatcher mBroadcastDispatcher; field in LatencyTester
71 mBroadcastDispatcher = broadcastDispatcher; in LatencyTester()
99 mBroadcastDispatcher.registerReceiver(mBroadcastReceiver, filter); in registerForBroadcasts()
101 mBroadcastDispatcher.unregisterReceiver(mBroadcastReceiver); in registerForBroadcasts()
DSystemUIService.java46 private final BroadcastDispatcher mBroadcastDispatcher; field in SystemUIService
60 mBroadcastDispatcher = broadcastDispatcher; in SystemUIService()
73 mLogBufferFreezer.attach(mBroadcastDispatcher); in onCreate()
DSliceBroadcastRelayHandler.java47 private final BroadcastDispatcher mBroadcastDispatcher; field in SliceBroadcastRelayHandler
52 mBroadcastDispatcher = broadcastDispatcher; in SliceBroadcastRelayHandler()
60 mBroadcastDispatcher.registerReceiver(mReceiver, filter); in start()
DGuestResetOrExitSessionReceiver.java72 private final BroadcastDispatcher mBroadcastDispatcher; field in GuestResetOrExitSessionReceiver
82 mBroadcastDispatcher = broadcastDispatcher; in GuestResetOrExitSessionReceiver()
94 mBroadcastDispatcher.registerReceiver(this, intentFilter, null /* handler */, in register()
/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.java52 private final BroadcastDispatcher mBroadcastDispatcher; field in UsbDebuggingActivity
59 mBroadcastDispatcher = broadcastDispatcher; in UsbDebuggingActivity()
76 mBroadcastDispatcher.registerReceiver(mDisconnectedReceiver, filter); in onCreate()
136 mBroadcastDispatcher.unregisterReceiver(mDisconnectedReceiver); in onDestroy()
/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.java116 private final BroadcastDispatcher mBroadcastDispatcher; field in Clock
144 mBroadcastDispatcher = Dependency.get(BroadcastDispatcher.class); in Clock()
198 mBroadcastDispatcher.registerReceiverWithHandler(mIntentReceiver, filter, in onAttachedToWindow()
223 mBroadcastDispatcher.unregisterReceiver(mScreenReceiver); in onDetachedFromWindow()
230 mBroadcastDispatcher.unregisterReceiver(mIntentReceiver); in onDetachedFromWindow()
399 mBroadcastDispatcher.registerReceiver(mScreenReceiver, filter); in updateShowSeconds()
404 mBroadcastDispatcher.unregisterReceiver(mScreenReceiver); in updateShowSeconds()
DZenModeControllerImpl.java69 private final BroadcastDispatcher mBroadcastDispatcher; field in ZenModeControllerImpl
90 mBroadcastDispatcher.unregisterReceiver(mReceiver);
95 mBroadcastDispatcher.registerReceiver(mReceiver, filter, null,
111 mBroadcastDispatcher = broadcastDispatcher; in ZenModeControllerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNfcTile.java61 private BroadcastDispatcher mBroadcastDispatcher; field in NfcTile
79 mBroadcastDispatcher = broadcastDispatcher; in NfcTile()
92 mBroadcastDispatcher.registerReceiver(mNfcReceiver, in handleSetListening()
95 mBroadcastDispatcher.unregisterReceiver(mNfcReceiver); in handleSetListening()
DAirplaneModeTile.java64 private final BroadcastDispatcher mBroadcastDispatcher; field in AirplaneModeTile
86 mBroadcastDispatcher = broadcastDispatcher; in AirplaneModeTile()
156 mBroadcastDispatcher.registerReceiver(mReceiver, filter); in handleSetListening()
158 mBroadcastDispatcher.unregisterReceiver(mReceiver); in handleSetListening()
DDreamTile.java70 private final BroadcastDispatcher mBroadcastDispatcher; field in DreamTile
111 mBroadcastDispatcher = broadcastDispatcher; in DreamTile()
140 mBroadcastDispatcher.registerReceiver(mReceiver, filter); in handleSetListening()
142 mBroadcastDispatcher.unregisterReceiver(mReceiver); in handleSetListening()
/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/screenrecord/
DRecordingController.java66 private final BroadcastDispatcher mBroadcastDispatcher; field in RecordingController
120 mBroadcastDispatcher = broadcastDispatcher; in RecordingController()
185 mBroadcastDispatcher.registerReceiver(mStateChangeReceiver, stateFilter, null, in startCountdown()
253 mBroadcastDispatcher.unregisterReceiver(mStateChangeReceiver); in updateState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
DRecordingControllerTest.java68 private BroadcastDispatcher mBroadcastDispatcher; field in RecordingControllerTest
89 mController = new RecordingController(mMainExecutor, mBroadcastDispatcher, mContext, in setUp()
173 verify(mBroadcastDispatcher).registerReceiver(eq(mController.mStateChangeReceiver), in testUpdateStateBroadcast()
186 verify(mBroadcastDispatcher).unregisterReceiver(eq(mController.mStateChangeReceiver)); in testUpdateStateBroadcast()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSliceBroadcastRelayHandlerTest.java56 private BroadcastDispatcher mBroadcastDispatcher; field in SliceBroadcastRelayHandlerTest
63 mRelayHandler = new SliceBroadcastRelayHandler(mSpyContext, mBroadcastDispatcher); in setup()
152 verify(mBroadcastDispatcher) in testRegisteredWithDispatcher()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DNfcTileTest.java72 private BroadcastDispatcher mBroadcastDispatcher; field in NfcTileTest
94 mBroadcastDispatcher in setUp()
DAirplaneModeTileTest.kt64 private lateinit var mBroadcastDispatcher: BroadcastDispatcher variable in com.android.systemui.qs.tiles.AirplaneModeTileTest
92 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/statusbar/policy/
DSecurityControllerTest.java77 private final BroadcastDispatcher mBroadcastDispatcher = mock(BroadcastDispatcher.class); field in SecurityControllerTest
114 mBroadcastDispatcher, in setUp()
119 verify(mBroadcastDispatcher).registerReceiverWithHandler( in setUp()
DZenModeControllerImplTest.java59 BroadcastDispatcher mBroadcastDispatcher; field in ZenModeControllerImplTest
76 mBroadcastDispatcher, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java438 private final BroadcastDispatcher mBroadcastDispatcher; field in SystemUIDialog.DismissReceiver
444 mBroadcastDispatcher = broadcastDispatcher; in DismissReceiver()
449 mBroadcastDispatcher.registerReceiver(this, INTENT_FILTER, null, UserHandle.CURRENT); in register()
455 mBroadcastDispatcher.unregisterReceiver(this); in unregister()

123