Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/network/
DTetherBasePreferenceController.java29 import com.android.settings.datausage.DataSaverBackend;
32 implements LifecycleObserver, DataSaverBackend.Listener,
37 private final DataSaverBackend mDataSaverBackend;
47 mDataSaverBackend = new DataSaverBackend(context); in TetherBasePreferenceController()
DTetherEnabler.java49 import com.android.settings.datausage.DataSaverBackend;
67 DataSaverBackend.Listener, LifecycleObserver {
112 private final DataSaverBackend mDataSaverBackend;
129 mDataSaverBackend = new DataSaverBackend(context); in TetherEnabler()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarController.java34 import com.android.settings.datausage.DataSaverBackend;
44 LifecycleObserver, OnStart, OnStop, DataSaverBackend.Listener, View.OnClickListener {
54 final DataSaverBackend mDataSaverBackend;
74 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()
DDataSaverSummary.java30 import com.android.settings.datausage.DataSaverBackend.Listener;
49 private DataSaverBackend mDataSaverBackend;
66 mDataSaverBackend = new DataSaverBackend(getContext()); in onCreate()
DUnrestrictedDataAccessPreference.java34 DataSaverBackend.Listener {
39 private final DataSaverBackend mDataSaverBackend;
44 ApplicationsState applicationsState, DataSaverBackend dataSaverBackend, in UnrestrictedDataAccessPreference()
DAppStateDataUsageBridge.java26 private final DataSaverBackend mDataSaverBackend;
29 DataSaverBackend backend) { in AppStateDataUsageBridge()
DDataSaverBackend.java32 public class DataSaverBackend { class
46 public DataSaverBackend(Context context) { in DataSaverBackend() method in DataSaverBackend
DUnrestrictedDataAccessPreferenceController.java51 private final DataSaverBackend mDataSaverBackend;
62 mDataSaverBackend = new DataSaverBackend(context); in UnrestrictedDataAccessPreferenceController()
DAppDataUsage.java59 DataSaverBackend.Listener {
103 private DataSaverBackend mDataSaverBackend;
175 mDataSaverBackend = new DataSaverBackend(mContext); in onCreate()
/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/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/
DAllInOneTetherSettings.java45 import com.android.settings.datausage.DataSaverBackend;
74 implements DataSaverBackend.Listener,
110 private DataSaverBackend mDataSaverBackend;
199 mDataSaverBackend = new DataSaverBackend(getContext()); in onCreate()
DTetherSettings.java55 import com.android.settings.datausage.DataSaverBackend;
74 implements DataSaverBackend.Listener {
119 private DataSaverBackend mDataSaverBackend;
152 mDataSaverBackend = new DataSaverBackend(mContext); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java219 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in changePreference_backgroundData_shouldUpdateUI()
240 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in updatePrefs_restrictedByAdmin_shouldDisablePreference()
DUnrestrictedDataAccessPreferenceControllerTest.java126 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in onRebuildComplete_restricted_shouldBeDisabled()