Home
last modified time | relevance | path

Searched refs:mHotspotController (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DHotspotTile.java41 private final HotspotController mHotspotController; field in HotspotTile
51 mHotspotController = hotspotController; in HotspotTile()
53 mHotspotController.observe(this, mCallbacks); in HotspotTile()
59 return mHotspotController.isHotspotSupported(); in isAvailable()
95 mHotspotController.setHotspotEnabled(!isEnabled); in handleClick()
111 final boolean isTransient = transientEnabling || mHotspotController.isHotspotTransient(); in handleUpdateState()
122 state.value = transientEnabling || mHotspotController.isHotspotEnabled(); in handleUpdateState()
123 numConnectedDevices = mHotspotController.getNumConnectedDevices(); in handleUpdateState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java92 @Mock private HotspotController mHotspotController; field in AutoTileManagerTest
130 mHotspotController, in createAutoTileManager()
143 InOrder inOrderHotspot = inOrder(mHotspotController); in testChangeUserCallbacksStoppedAndStarted()
144 inOrderHotspot.verify(mHotspotController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
145 inOrderHotspot.verify(mHotspotController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
183 InOrder inOrderHotspot = inOrder(mHotspotController); in testChangeUserSomeCallbacksNotAdded()
184 inOrderHotspot.verify(mHotspotController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()
185 inOrderHotspot.verify(mHotspotController, never()).addCallback(any()); in testChangeUserSomeCallbacksNotAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java65 private final HotspotController mHotspotController; field in AutoTileManager
86 mHotspotController = hotspotController; in AutoTileManager()
98 mHotspotController.addCallback(mHotspotCallback); in startControllersAndSettingsListeners()
123 mHotspotController.removeCallback(mHotspotCallback); in stopListening()
234 mHandler.post(() -> mHotspotController.removeCallback(mHotspotCallback));
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java220 @Inject Lazy<HotspotController> mHotspotController; field in Dependency
356 mProviders.put(HotspotController.class, mHotspotController::get); in start()