/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | AutoAddTrackerTest.java | 66 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 …]
|
D | FgsManagerControllerTest.java | 97 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/ |
D | BatteryControllerStartable.java | 47 protected final BroadcastDispatcher mBroadcastDispatcher; field in BatteryControllerStartable 54 mBroadcastDispatcher = broadcastDispatcher; in BatteryControllerStartable() 64 mBroadcastDispatcher.registerReceiver((BroadcastReceiver) mBatteryController, filter); in registerReceiver()
|
D | DateView.java | 46 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()
|
D | Clock.java | 119 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()
|
D | ZenModeControllerImpl.java | 73 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/ |
D | BatteryControllerStartableTest.java | 64 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()
|
D | SecurityControllerTest.java | 79 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/ |
D | UsbDebuggingSecondaryUserActivity.java | 46 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()
|
D | UsbDebuggingActivity.java | 53 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/ |
D | SystemUIDialogTest.java | 69 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/ |
D | LatencyTester.java | 56 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()
|
D | SliceBroadcastRelayHandler.java | 56 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()
|
D | SystemUIService.java | 49 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/ |
D | WorkLockActivity.java | 65 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/ |
D | NfcTile.java | 62 private BroadcastDispatcher mBroadcastDispatcher; field in NfcTile 81 mBroadcastDispatcher = broadcastDispatcher; in NfcTile() 94 mBroadcastDispatcher.registerReceiver(mNfcReceiver, in handleSetListening() 97 mBroadcastDispatcher.unregisterReceiver(mNfcReceiver); in handleSetListening()
|
D | AirplaneModeTile.java | 72 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()
|
D | DreamTile.java | 71 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/ |
D | SystemUIDialog.java | 124 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/ |
D | RecordingController.java | 71 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/ |
D | SliceBroadcastRelayHandlerTest.java | 71 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/ |
D | NfcTileTest.java | 73 private BroadcastDispatcher mBroadcastDispatcher; field in NfcTileTest 98 mBroadcastDispatcher in setUp()
|
D | AirplaneModeTileTest.kt | 69 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/ |
D | WifiStateWorkerTest.java | 62 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/ |
D | RecordingControllerTest.java | 85 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()
|