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()81 mState.value = !mDataSaverController.isDataSaverEnabled(); in toggleDataSaver()82 mDataSaverController.setDataSaverEnabled(mState.value); in toggleDataSaver()94 : 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));
110 private final DataSaverController mDataSaverController; field in NetworkControllerImpl199 mDataSaverController = new DataSaverControllerImpl(context); in NetworkControllerImpl()288 return mDataSaverController; in getDataSaverController()
219 @Inject Lazy<DataSaverController> mDataSaverController; field in Dependency354 mProviders.put(DataSaverController.class, mDataSaverController::get); in start()