Searched refs:mDataSaverController (Results 1 – 6 of 6) sorted by relevance
38 private final DataSaverController mDataSaverController; field in DataSaverTile43 mDataSaverController = networkController.getDataSaverController(); in DataSaverTile()44 mDataSaverController.observe(getLifecycle(), this); in DataSaverTile()83 mState.value = !mDataSaverController.isDataSaverEnabled(); in toggleDataSaver()84 mDataSaverController.setDataSaverEnabled(mState.value); in toggleDataSaver()96 : mDataSaverController.isDataSaverEnabled(); in handleUpdateState()
44 private final DataSaverController mDataSaverController; field in HotspotTile54 mDataSaverController = dataSaverController; in HotspotTile()56 mDataSaverController.observe(this, mCallbacks); in HotspotTile()91 if (!isEnabled && mDataSaverController.isDataSaverEnabled()) { in handleClick()125 isDataSaverEnabled = mDataSaverController.isDataSaverEnabled(); in handleUpdateState()
28 private final FakeDataSaverController mDataSaverController; field in FakeNetworkController33 mDataSaverController = new FakeDataSaverController(test); in FakeNetworkController()59 return mDataSaverController; in getDataSaverController()
54 private final DataSaverController mDataSaverController; field in AutoTileManager72 mDataSaverController = dataSaverController; in AutoTileManager()115 mDataSaverController.removeCallback(mDataSaverListener); in destroy()152 mHandler.post(() -> mDataSaverController.removeCallback(mDataSaverListener));
104 private final DataSaverController mDataSaverController; field in NetworkControllerImpl202 mDataSaverController = new DataSaverControllerImpl(context); in NetworkControllerImpl()321 return mDataSaverController; in getDataSaverController()
213 @Inject Lazy<DataSaverController> mDataSaverController; field in Dependency359 mProviders.put(DataSaverController.class, mDataSaverController::get); in start()