Searched refs:mHotspotController (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | HotspotTileTest.java | 67 private HotspotController mHotspotController; field in HotspotTileTest 94 mHotspotController, in setUp() 141 when(mHotspotController.isHotspotTransient()).thenReturn(false); in testIcon_whenDisabled_isOffState() 142 when(mHotspotController.isHotspotEnabled()).thenReturn(false); in testIcon_whenDisabled_isOffState() 153 when(mHotspotController.isHotspotTransient()).thenReturn(true); in testIcon_whenTransient_isSearchState() 154 when(mHotspotController.isHotspotEnabled()).thenReturn(true); in testIcon_whenTransient_isSearchState() 165 when(mHotspotController.isHotspotTransient()).thenReturn(false); in testIcon_whenEnabled_isOnState() 166 when(mHotspotController.isHotspotEnabled()).thenReturn(true); in testIcon_whenEnabled_isOnState()
|
D | CastTileTest.java | 98 private HotspotController mHotspotController; field in CastTileTest 507 mHotspotController, in createAndStartTileOldImpl() 530 verify(mHotspotController).observe(any(LifecycleOwner.class), in createAndStartTileOldImpl() 550 mHotspotController, in createAndStartTileNewImpl() 566 verify(mHotspotController).observe(any(LifecycleOwner.class), in createAndStartTileNewImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | HotspotTile.java | 56 private final HotspotController mHotspotController; field in HotspotTile 78 mHotspotController = hotspotController; in HotspotTile() 80 mHotspotController.observe(this, mCallbacks); in HotspotTile() 86 return mHotspotController.isHotspotSupported(); in isAvailable() 122 mHotspotController.setHotspotEnabled(!isEnabled); in handleClick() 135 final boolean isTransient = transientEnabling || mHotspotController.isHotspotTransient(); in handleUpdateState() 146 state.value = transientEnabling || mHotspotController.isHotspotEnabled(); in handleUpdateState() 147 numConnectedDevices = mHotspotController.getNumConnectedDevices(); in handleUpdateState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManagerTest.java | 113 @Mock private HotspotController mHotspotController; field in AutoTileManagerTest 201 return createAutoTileManager(context, mAutoAddTrackerBuilder, mHotspotController, in createAutoTileManager() 258 InOrder inOrderHotspot = inOrder(mHotspotController); in testChangeUserCallbacksStoppedAndStarted() 259 inOrderHotspot.verify(mHotspotController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted() 260 inOrderHotspot.verify(mHotspotController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted() 312 InOrder inOrderHotspot = inOrder(mHotspotController); in testChangeUserSomeCallbacksNotAdded() 313 inOrderHotspot.verify(mHotspotController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded() 314 inOrderHotspot.verify(mHotspotController, never()).addCallback(any()); in testChangeUserSomeCallbacksNotAdded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManager.java | 85 private final HotspotController mHotspotController; field in AutoTileManager 118 mHotspotController = hotspotController; in AutoTileManager() 159 mHotspotController.addCallback(mHotspotCallback); in startControllersAndSettingsListeners() 202 mHotspotController.removeCallback(mHotspotCallback); in stopListening() 329 mHandler.post(() -> mHotspotController.removeCallback(mHotspotCallback));
|