Searched refs:isDataSaverEnabled (Results 1 – 9 of 9) sorted by relevance
79 when(mDataSaverBackend.isDataSaverEnabled()).thenReturn(false); in setUp()125 when(mDataSaverBackend.isDataSaverEnabled()).thenReturn(false); in startTether_fail_resetSwitchBar()139 when(mDataSaverBackend.isDataSaverEnabled()).thenReturn(true); in onDataSaverChanged_setsEnabledCorrectly()144 when(mDataSaverBackend.isDataSaverEnabled()).thenReturn(false); in onDataSaverChanged_setsEnabledCorrectly()
63 listener.onDataSaverChanged(isDataSaverEnabled()); in addListener()73 public boolean isDataSaverEnabled() { in isDataSaverEnabled() method in DataSaverBackend
71 dataSaverBackend.isDataSaverEnabled = isChecked in <lambda>()
30 protected boolean isDataSaverEnabled() { in isDataSaverEnabled() method in ShadowDataSaverBackend
161 mSwitchBar.setEnabled(!mDataSaverBackend.isDataSaverEnabled()); in updateWifiSwitch()
158 mDataSaverEnabled = mDataSaverBackend.isDataSaverEnabled(); in onCreate()211 onDataSaverChanged(mDataSaverBackend.isDataSaverEnabled()); in onCreate()
154 mDataSaverEnabled = mDataSaverBackend.isDataSaverEnabled(); in TetherEnabler()
1351 final boolean isDataSaverEnabled = connMgr.getRestrictBackgroundStatus() in handleDataSaverChanged()1354 if (mDataSaverEnabled == isDataSaverEnabled) return; in handleDataSaverChanged()1356 mDataSaverEnabled = isDataSaverEnabled; in handleDataSaverChanged()
7493 final boolean isDataSaverEnabled = (dataSaverForSystemUid7495 mBpfNetMaps.setDataSaverEnabled(isDataSaverEnabled);