/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 | 95 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/ |
D | SystemUIDialogTest.java | 55 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/ |
D | LatencyTester.java | 58 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()
|
D | SystemUIService.java | 46 private final BroadcastDispatcher mBroadcastDispatcher; field in SystemUIService 60 mBroadcastDispatcher = broadcastDispatcher; in SystemUIService() 73 mLogBufferFreezer.attach(mBroadcastDispatcher); in onCreate()
|
D | SliceBroadcastRelayHandler.java | 47 private final BroadcastDispatcher mBroadcastDispatcher; field in SliceBroadcastRelayHandler 52 mBroadcastDispatcher = broadcastDispatcher; in SliceBroadcastRelayHandler() 60 mBroadcastDispatcher.registerReceiver(mReceiver, filter); in start()
|
D | GuestResetOrExitSessionReceiver.java | 72 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/ |
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 | 52 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/ |
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 | 116 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()
|
D | ZenModeControllerImpl.java | 69 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/ |
D | NfcTile.java | 61 private BroadcastDispatcher mBroadcastDispatcher; field in NfcTile 79 mBroadcastDispatcher = broadcastDispatcher; in NfcTile() 92 mBroadcastDispatcher.registerReceiver(mNfcReceiver, in handleSetListening() 95 mBroadcastDispatcher.unregisterReceiver(mNfcReceiver); in handleSetListening()
|
D | AirplaneModeTile.java | 64 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()
|
D | DreamTile.java | 70 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/ |
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/screenrecord/ |
D | RecordingController.java | 66 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/ |
D | RecordingControllerTest.java | 68 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/ |
D | SliceBroadcastRelayHandlerTest.java | 56 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/ |
D | NfcTileTest.java | 72 private BroadcastDispatcher mBroadcastDispatcher; field in NfcTileTest 94 mBroadcastDispatcher in setUp()
|
D | AirplaneModeTileTest.kt | 64 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/ |
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/statusbar/policy/ |
D | SecurityControllerTest.java | 77 private final BroadcastDispatcher mBroadcastDispatcher = mock(BroadcastDispatcher.class); field in SecurityControllerTest 114 mBroadcastDispatcher, in setUp() 119 verify(mBroadcastDispatcher).registerReceiverWithHandler( in setUp()
|
D | ZenModeControllerImplTest.java | 59 BroadcastDispatcher mBroadcastDispatcher; field in ZenModeControllerImplTest 76 mBroadcastDispatcher, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialog.java | 438 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()
|