Searched refs:isDataSaverEnabled (Results 1 – 8 of 8) sorted by relevance
117 if (!isEnabled && mDataSaverController.isDataSaverEnabled()) { in handleClick()136 final boolean isDataSaverEnabled; in handleUpdateState()144 isDataSaverEnabled = info.isDataSaverEnabled; in handleUpdateState()148 isDataSaverEnabled = mDataSaverController.isDataSaverEnabled(); in handleUpdateState()165 final boolean isTileUnavailable = isDataSaverEnabled || !isWifiTetheringAllowed; in handleUpdateState()174 state.secondaryLabel = getSecondaryLabel(isTileActive, isTransient, isDataSaverEnabled, in handleUpdateState()181 boolean isDataSaverEnabled, int numConnectedDevices, boolean isWifiTetheringAllowed) { in getSecondaryLabel() argument187 } else if (isDataSaverEnabled) { in getSecondaryLabel()213 mCallbackInfo.isDataSaverEnabled = isDataSaving; in onDataSaverChanged()240 boolean isDataSaverEnabled; field in HotspotTile.CallbackInfo[all …]
133 mState.value = !mDataSaverController.isDataSaverEnabled(); in toggleDataSaver()146 : mDataSaverController.isDataSaverEnabled(); in handleUpdateState()
98 assertThat(dataSaverController.isDataSaverEnabled).isEqualTo(!stateBeforeClick) in <lambda>()121 assertThat(dataSaverController.isDataSaverEnabled).isEqualTo(stateBeforeClick) in <lambda>()139 assertThat(dataSaverController.isDataSaverEnabled).isEqualTo(!enabledBeforeClick) in <lambda>()155 assertThat(dataSaverController.isDataSaverEnabled).isEqualTo(!enabledBeforeClick) in <lambda>()
56 listener.onDataSaverChanged(isDataSaverEnabled()); in addCallback()69 public boolean isDataSaverEnabled() { in isDataSaverEnabled() method in DataSaverControllerImpl
21 boolean isDataSaverEnabled(); in isDataSaverEnabled() method
35 public boolean isDataSaverEnabled() { in isDataSaverEnabled() method in FakeDataSaverController
42 val initialValue = dataSaverController.isDataSaverEnabled in tileData()
82 when(mDataSaverController.isDataSaverEnabled()).thenReturn(false); in setUp()