Home
last modified time | relevance | path

Searched refs:DataSaverController (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DDataSaverAutoAddable.kt23 import com.android.systemui.statusbar.policy.DataSaverController in <lambda>()
36 dataSaverController: DataSaverController, in <lambda>()
38 CallbackControllerAutoAddable<DataSaverController.Listener, DataSaverController>( in <lambda>()
45 override fun ProducerScope<AutoAddSignal>.getCallback(): DataSaverController.Listener { in <lambda>()
46 return DataSaverController.Listener { enabled -> in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeDataSaverController.java19 import com.android.systemui.statusbar.policy.DataSaverController;
20 import com.android.systemui.statusbar.policy.DataSaverController.Listener;
25 …ic class FakeDataSaverController extends BaseLeakChecker<Listener> implements DataSaverController {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/
DDataSaverTileDataInteractor.kt24 import com.android.systemui.statusbar.policy.DataSaverController
34 private val dataSaverController: DataSaverController,
45 val callback = DataSaverController.Listener { trySend(DataSaverTileModel(it)) } in tileData()
DDataSaverTileUserActionInteractor.kt36 import com.android.systemui.statusbar.policy.DataSaverController in <lambda>()
48 private val dataSaverController: DataSaverController, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDataSaverController.java17 import com.android.systemui.statusbar.policy.DataSaverController.Listener;
19 public interface DataSaverController extends CallbackController<Listener> { interface
DDataSaverControllerImpl.java28 public class DataSaverControllerImpl implements DataSaverController {
39 ArrayList<DataSaverController.Listener> copy; in handleRestrictBackgroundChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DNetworkController.java22 import com.android.systemui.statusbar.policy.DataSaverController;
35 DataSaverController getDataSaverController(); in getDataSaverController()
DNetworkControllerImpl.java79 import com.android.systemui.statusbar.policy.DataSaverController;
130 private final DataSaverController mDataSaverController;
494 public DataSaverController getDataSaverController() { in getDataSaverController()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DDataSaverAutoAddableTest.kt27 import com.android.systemui.statusbar.policy.DataSaverController
48 @Mock private lateinit var dataSaverController: DataSaverController
49 @Captor private lateinit var callbackCaptor: ArgumentCaptor<DataSaverController.Listener>
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverDialogDelegate.kt26 import com.android.systemui.statusbar.policy.DataSaverController in <lambda>()
35 private val dataSaverController: DataSaverController, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDataSaverTile.java45 import com.android.systemui.statusbar.policy.DataSaverController;
50 DataSaverController.Listener {
56 private final DataSaverController mDataSaverController;
71 DataSaverController dataSaverController, in DataSaverTile()
DHotspotTile.java47 import com.android.systemui.statusbar.policy.DataSaverController;
57 private final DataSaverController mDataSaverController;
74 DataSaverController dataSaverController in HotspotTile()
208 DataSaverController.Listener {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DDataSaverTileTest.kt36 import com.android.systemui.statusbar.policy.DataSaverController
57 @Mock private lateinit var dataSaverController: DataSaverController
DHotspotTileTest.java44 import com.android.systemui.statusbar.policy.DataSaverController;
69 private DataSaverController mDataSaverController;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/dagger/
DQSModule.java42 import com.android.systemui.statusbar.policy.DataSaverController;
90 DataSaverController dataSaverController, in provideAutoTileManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java43 import com.android.systemui.statusbar.policy.DataSaverController;
44 import com.android.systemui.statusbar.policy.DataSaverController.Listener;
86 private final DataSaverController mDataSaverController;
103 DataSaverController dataSaverController, in AutoTileManager()
310 private final DataSaverController.Listener mDataSaverListener = new Listener() {
DPhoneStatusBarPolicy.java66 import com.android.systemui.statusbar.policy.DataSaverController;
67 import com.android.systemui.statusbar.policy.DataSaverController.Listener;
150 private final DataSaverController mDataSaver;
180 RotationLockController rotationLockController, DataSaverController dataSaverController, in PhoneStatusBarPolicy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/dagger/
DStatusBarPolicyModule.java42 import com.android.systemui.statusbar.policy.DataSaverController;
221 static DataSaverController provideDataSaverController(NetworkController networkController) { in provideDataSaverController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java65 import com.android.systemui.statusbar.policy.DataSaverController;
114 @Mock private DataSaverController mDataSaverController;
176 DataSaverController dataSaverController, in createAutoTileManager()
213 DataSaverController dSC = mock(DataSaverController.class); in testCreatedAutoTileManagerIsNotInitialized()
DPhoneStatusBarPolicyTest.kt42 import com.android.systemui.statusbar.policy.DataSaverController
103 @Mock private lateinit var dataSaverController: DataSaverController