Home
last modified time | relevance | path

Searched refs:isDataSaverEnabled (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DHotspotTile.java117 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() argument
187 } else if (isDataSaverEnabled) { in getSecondaryLabel()
213 mCallbackInfo.isDataSaverEnabled = isDataSaving; in onDataSaverChanged()
240 boolean isDataSaverEnabled; field in HotspotTile.CallbackInfo
[all …]
DDataSaverTile.java133 mState.value = !mDataSaverController.isDataSaverEnabled(); in toggleDataSaver()
146 : mDataSaverController.isDataSaverEnabled(); in handleUpdateState()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/
DDataSaverTileUserActionInteractorTest.kt98 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>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDataSaverControllerImpl.java56 listener.onDataSaverChanged(isDataSaverEnabled()); in addCallback()
69 public boolean isDataSaverEnabled() { in isDataSaverEnabled() method in DataSaverControllerImpl
DDataSaverController.java21 boolean isDataSaverEnabled(); in isDataSaverEnabled() method
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeDataSaverController.java35 public boolean isDataSaverEnabled() { in isDataSaverEnabled() method in FakeDataSaverController
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/
DDataSaverTileDataInteractor.kt42 val initialValue = dataSaverController.isDataSaverEnabled in tileData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DHotspotTileTest.java82 when(mDataSaverController.isDataSaverEnabled()).thenReturn(false); in setUp()