Home
last modified time | relevance | path

Searched refs:dataSaverController (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/
DDataSaverTileDataInteractor.kt34 private val dataSaverController: DataSaverController, constant in com.android.systemui.qs.tiles.impl.saver.domain.interactor.DataSaverTileDataInteractor
42 val initialValue = dataSaverController.isDataSaverEnabled in tileData()
47 dataSaverController.addCallback(callback) in tileData()
48 awaitClose { dataSaverController.removeCallback(callback) } in tileData()
DDataSaverTileUserActionInteractor.kt48 private val dataSaverController: DataSaverController, in <lambda>() constant in com.android.systemui.qs.tiles.impl.saver.domain.interactor.DataSaverTileUserActionInteractor
70 dataSaverController.setDataSaverEnabled(!wasEnabled) in <lambda>()
83 dataSaverController, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DDataSaverAutoAddableTest.kt48 @Mock private lateinit var dataSaverController: DataSaverController variable in com.android.systemui.qs.pipeline.domain.autoaddable.DataSaverAutoAddableTest
57 underTest = DataSaverAutoAddable(dataSaverController) in setUp()
65 verify(dataSaverController).addCallback(capture(callbackCaptor)) in <lambda>()
77 verify(dataSaverController).addCallback(capture(callbackCaptor)) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/
DDataSaverTileUserActionInteractorTest.kt50 private val dataSaverController = FakeDataSaverController(LeakCheck()) constant
76 dataSaverController, in setup()
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>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DDataSaverAutoAddable.kt36 dataSaverController: DataSaverController, in <lambda>()
39 dataSaverController in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverDialogDelegate.kt35 private val dataSaverController: DataSaverController, in <lambda>() constant in com.android.systemui.qs.tiles.impl.saver.domain.DataSaverDialogDelegate
48 dataSaverController.setDataSaverEnabled(true) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverDialogDelegateTest.kt44 private val dataSaverController = FakeDataSaverController(LeakCheck()) constant
60 dataSaverController, in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DDataSaverTileTest.kt57 @Mock private lateinit var dataSaverController: DataSaverController variable in com.android.systemui.qs.tiles.DataSaverTileTest
85 dataSaverController, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/dagger/
DQSModule.java90 DataSaverController dataSaverController, in provideAutoTileManager() argument
106 dataSaverController, in provideAutoTileManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDataSaverTile.java71 DataSaverController dataSaverController, in DataSaverTile() argument
77 mDataSaverController = dataSaverController; in DataSaverTile()
DHotspotTile.java74 DataSaverController dataSaverController in HotspotTile() argument
79 mDataSaverController = dataSaverController; in HotspotTile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicyTest.kt103 @Mock private lateinit var dataSaverController: DataSaverController variable in com.android.systemui.statusbar.phone.PhoneStatusBarPolicyTest
293 dataSaverController, in createStatusBarPolicy()
DAutoTileManagerTest.java176 DataSaverController dataSaverController, in createAutoTileManager() argument
189 dataSaverController, in createAutoTileManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java103 DataSaverController dataSaverController, in AutoTileManager() argument
119 mDataSaverController = dataSaverController; in AutoTileManager()
DPhoneStatusBarPolicy.java180 RotationLockController rotationLockController, DataSaverController dataSaverController, in PhoneStatusBarPolicy() argument
212 mDataSaver = dataSaverController; in PhoneStatusBarPolicy()