Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSwitchBarController.java33 import com.android.car.developeroptions.datausage.DataSaverBackend;
40 LifecycleObserver, OnStart, OnStop, DataSaverBackend.Listener {
50 final DataSaverBackend mDataSaverBackend;
69 mDataSaverBackend = new DataSaverBackend(context); in WifiTetherSwitchBarController()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarController.java33 import com.android.settings.datausage.DataSaverBackend;
40 LifecycleObserver, OnStart, OnStop, DataSaverBackend.Listener {
50 final DataSaverBackend mDataSaverBackend;
69 mDataSaverBackend = new DataSaverBackend(context); in WifiTetherSwitchBarController()
/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()
DUnrestrictedDataAccessPreference.java34 DataSaverBackend.Listener {
39 private final DataSaverBackend mDataSaverBackend;
44 ApplicationsState applicationsState, DataSaverBackend dataSaverBackend, in UnrestrictedDataAccessPreference()
DDataSaverSummary.java31 import com.android.settings.datausage.DataSaverBackend.Listener;
52 private DataSaverBackend mDataSaverBackend;
71 mDataSaverBackend = new DataSaverBackend(getContext()); in onCreate()
DAppStateDataUsageBridge.java26 private final DataSaverBackend mDataSaverBackend;
29 DataSaverBackend backend) { in AppStateDataUsageBridge()
DDataSaverBackend.java34 public class DataSaverBackend { class
48 public DataSaverBackend(Context context) { in DataSaverBackend() method in DataSaverBackend
DAppDataUsage.java59 DataSaverBackend.Listener {
103 private DataSaverBackend mDataSaverBackend;
175 mDataSaverBackend = new DataSaverBackend(mContext); in onCreate()
DUnrestrictedDataAccessPreferenceController.java52 private final DataSaverBackend mDataSaverBackend;
63 mDataSaverBackend = new DataSaverBackend(context); in UnrestrictedDataAccessPreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataSaverPreference.java24 public class DataSaverPreference extends Preference implements DataSaverBackend.Listener {
26 private final DataSaverBackend mDataSaverBackend;
30 mDataSaverBackend = new DataSaverBackend(context); in DataSaverPreference()
DUnrestrictedDataAccessPreference.java34 DataSaverBackend.Listener {
39 private final DataSaverBackend mDataSaverBackend;
44 ApplicationsState applicationsState, DataSaverBackend dataSaverBackend, in UnrestrictedDataAccessPreference()
DDataSaverSummary.java31 import com.android.car.developeroptions.datausage.DataSaverBackend.Listener;
52 private DataSaverBackend mDataSaverBackend;
71 mDataSaverBackend = new DataSaverBackend(getContext()); in onCreate()
DAppStateDataUsageBridge.java26 private final DataSaverBackend mDataSaverBackend;
29 DataSaverBackend backend) { in AppStateDataUsageBridge()
DDataSaverBackend.java34 public class DataSaverBackend { class
48 public DataSaverBackend(Context context) { in DataSaverBackend() method in DataSaverBackend
DAppDataUsage.java59 DataSaverBackend.Listener {
103 private DataSaverBackend mDataSaverBackend;
175 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/applications/
DSpecialAppAccessPreferenceController.java27 import com.android.settings.datausage.DataSaverBackend;
46 private final DataSaverBackend mDataSaverBackend;
56 mDataSaverBackend = new DataSaverBackend(context); in SpecialAppAccessPreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DSpecialAppAccessPreferenceController.java27 import com.android.car.developeroptions.datausage.DataSaverBackend;
46 private final DataSaverBackend mDataSaverBackend;
56 mDataSaverBackend = new DataSaverBackend(context); in SpecialAppAccessPreferenceController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDataSaverBackend.java3 import com.android.settings.datausage.DataSaverBackend;
8 @Implements(DataSaverBackend.class)
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java44 import com.android.settings.datausage.DataSaverBackend;
62 implements DataSaverBackend.Listener {
98 private DataSaverBackend mDataSaverBackend;
126 mDataSaverBackend = new DataSaverBackend(getContext()); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java44 import com.android.car.developeroptions.datausage.DataSaverBackend;
62 implements DataSaverBackend.Listener {
98 private DataSaverBackend mDataSaverBackend;
126 mDataSaverBackend = new DataSaverBackend(getContext()); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java215 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in changePreference_backgroundData_shouldUpdateUI()
236 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in updatePrefs_restrictedByAdmin_shouldDisablePreference()
DUnrestrictedDataAccessPreferenceControllerTest.java126 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in onRebuildComplete_restricted_shouldBeDisabled()