Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DHotspotTile.java52 private final HotspotController mHotspotController; field in HotspotTile
73 mHotspotController = hotspotController; in HotspotTile()
75 mHotspotController.observe(this, mCallbacks); in HotspotTile()
81 return mHotspotController.isHotspotSupported(); in isAvailable()
117 mHotspotController.setHotspotEnabled(!isEnabled); in handleClick()
133 final boolean isTransient = transientEnabling || mHotspotController.isHotspotTransient(); in handleUpdateState()
144 state.value = transientEnabling || mHotspotController.isHotspotEnabled(); in handleUpdateState()
145 numConnectedDevices = mHotspotController.getNumConnectedDevices(); in handleUpdateState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java95 @Mock private HotspotController mHotspotController; field in AutoTileManagerTest
165 return createAutoTileManager(context, mAutoAddTrackerBuilder, mHotspotController, in createAutoTileManager()
220 InOrder inOrderHotspot = inOrder(mHotspotController); in testChangeUserCallbacksStoppedAndStarted()
221 inOrderHotspot.verify(mHotspotController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
222 inOrderHotspot.verify(mHotspotController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
270 InOrder inOrderHotspot = inOrder(mHotspotController); in testChangeUserSomeCallbacksNotAdded()
271 inOrderHotspot.verify(mHotspotController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()
272 inOrderHotspot.verify(mHotspotController, never()).addCallback(any()); in testChangeUserSomeCallbacksNotAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java77 private final HotspotController mHotspotController; field in AutoTileManager
107 mHotspotController = hotspotController; in AutoTileManager()
134 mHotspotController.addCallback(mHotspotCallback); in startControllersAndSettingsListeners()
168 mHotspotController.removeCallback(mHotspotCallback); in stopListening()
290 mHandler.post(() -> mHotspotController.removeCallback(mHotspotCallback));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java85 private HotspotController mHotspotController; field in CastTileTest
113 mHotspotController in setUp()
132 verify(mHotspotController).observe(any(LifecycleOwner.class), in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java251 @Inject Lazy<HotspotController> mHotspotController; field in Dependency
400 mProviders.put(HotspotController.class, mHotspotController::get); in start()