Home
last modified time | relevance | path

Searched refs:mDataSaverController (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDataSaverTile.java38 private final DataSaverController mDataSaverController; field in DataSaverTile
43 mDataSaverController = networkController.getDataSaverController(); in DataSaverTile()
44 mDataSaverController.observe(getLifecycle(), this); in DataSaverTile()
81 mState.value = !mDataSaverController.isDataSaverEnabled(); in toggleDataSaver()
82 mDataSaverController.setDataSaverEnabled(mState.value); in toggleDataSaver()
94 : mDataSaverController.isDataSaverEnabled(); in handleUpdateState()
DHotspotTile.java44 private final DataSaverController mDataSaverController; field in HotspotTile
54 mDataSaverController = dataSaverController; in HotspotTile()
56 mDataSaverController.observe(this, mCallbacks); in HotspotTile()
91 if (!isEnabled && mDataSaverController.isDataSaverEnabled()) { in handleClick()
125 isDataSaverEnabled = mDataSaverController.isDataSaverEnabled(); in handleUpdateState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeNetworkController.java28 private final FakeDataSaverController mDataSaverController; field in FakeNetworkController
33 mDataSaverController = new FakeDataSaverController(test); in FakeNetworkController()
59 return mDataSaverController; in getDataSaverController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java54 private final DataSaverController mDataSaverController; field in AutoTileManager
72 mDataSaverController = dataSaverController; in AutoTileManager()
115 mDataSaverController.removeCallback(mDataSaverListener); in destroy()
152 mHandler.post(() -> mDataSaverController.removeCallback(mDataSaverListener));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java110 private final DataSaverController mDataSaverController; field in NetworkControllerImpl
199 mDataSaverController = new DataSaverControllerImpl(context); in NetworkControllerImpl()
288 return mDataSaverController; in getDataSaverController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java219 @Inject Lazy<DataSaverController> mDataSaverController; field in Dependency
354 mProviders.put(DataSaverController.class, mDataSaverController::get); in start()