Home
last modified time | relevance | path

Searched refs:DataSaverBackend (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverPreference.java24 public class DataSaverPreference extends Preference implements DataSaverBackend.Listener {
26 private final DataSaverBackend mDataSaverBackend;
30 mDataSaverBackend = new DataSaverBackend(context); in DataSaverPreference()
DDataSaverSummary.kt32 private lateinit var dataSaverBackend: DataSaverBackend in <lambda>()
45 dataSaverBackend = DataSaverBackend(requireContext()) in <lambda>()
81 private val dataSaverBackendListener = object : DataSaverBackend.Listener { in <lambda>()
DAppStateDataUsageBridge.java26 private final DataSaverBackend mDataSaverBackend;
29 DataSaverBackend backend) { in AppStateDataUsageBridge()
DUnrestrictedDataAccessPreference.java40 DataSaverBackend.Listener {
46 private final DataSaverBackend mDataSaverBackend;
52 ApplicationsState applicationsState, DataSaverBackend dataSaverBackend, in UnrestrictedDataAccessPreference()
DDataSaverBackend.java35 public class DataSaverBackend { class
50 public DataSaverBackend(@NotNull Context context) { in DataSaverBackend() method in DataSaverBackend
DAppDataUsage.java63 DataSaverBackend.Listener {
89 private DataSaverBackend mDataSaverBackend;
165 mDataSaverBackend = new DataSaverBackend(mContext); in onCreate()
DUnrestrictedDataAccessPreferenceController.java52 private final DataSaverBackend mDataSaverBackend;
63 mDataSaverBackend = new DataSaverBackend(context); in UnrestrictedDataAccessPreferenceController()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarController.java40 import com.android.settings.datausage.DataSaverBackend;
50 LifecycleObserver, OnStart, OnStop, DataSaverBackend.Listener, OnCheckedChangeListener {
61 DataSaverBackend mDataSaverBackend;
80 mDataSaverBackend = new DataSaverBackend(context); in WifiTetherSwitchBarController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceControllerTest.java126 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in onRebuildComplete_restricted_shouldBeDisabled()
178 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in onRebuildComplete_ecmRestricted_shouldBeDisabled()
217 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in onRebuildComplete_ecmNotRestricted_notDisabled()
DAppDataUsageTest.java211 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in changePreference_backgroundData_shouldUpdateUI()
232 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in updatePrefs_restrictedByAdmin_shouldDisablePreference()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowDataSaverBackend.java19 import com.android.settings.datausage.DataSaverBackend;
24 @Implements(DataSaverBackend.class)
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java52 import com.android.settings.datausage.DataSaverBackend;
71 DataSaverBackend.Listener, LifecycleObserver {
125 private final DataSaverBackend mDataSaverBackend;
146 mDataSaverBackend = new DataSaverBackend(context); in TetherEnabler()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarControllerTest.java41 import com.android.settings.datausage.DataSaverBackend;
66 private DataSaverBackend mDataSaverBackend;
/packages/apps/Settings/src/com/android/settings/network/tether/
DTetherSettings.java59 import com.android.settings.datausage.DataSaverBackend;
79 implements DataSaverBackend.Listener {
125 private DataSaverBackend mDataSaverBackend;
157 mDataSaverBackend = new DataSaverBackend(mContext); in onCreate()