Searched refs:DataSaverBackend (Results 1 – 14 of 14) sorted by relevance
24 public class DataSaverPreference extends Preference implements DataSaverBackend.Listener {26 private final DataSaverBackend mDataSaverBackend;30 mDataSaverBackend = new DataSaverBackend(context); in DataSaverPreference()
32 private lateinit var dataSaverBackend: DataSaverBackend in <lambda>()45 dataSaverBackend = DataSaverBackend(requireContext()) in <lambda>()81 private val dataSaverBackendListener = object : DataSaverBackend.Listener { in <lambda>()
26 private final DataSaverBackend mDataSaverBackend;29 DataSaverBackend backend) { in AppStateDataUsageBridge()
40 DataSaverBackend.Listener {46 private final DataSaverBackend mDataSaverBackend;52 ApplicationsState applicationsState, DataSaverBackend dataSaverBackend, in UnrestrictedDataAccessPreference()
35 public class DataSaverBackend { class50 public DataSaverBackend(@NotNull Context context) { in DataSaverBackend() method in DataSaverBackend
63 DataSaverBackend.Listener {89 private DataSaverBackend mDataSaverBackend;165 mDataSaverBackend = new DataSaverBackend(mContext); in onCreate()
52 private final DataSaverBackend mDataSaverBackend;63 mDataSaverBackend = new DataSaverBackend(context); in UnrestrictedDataAccessPreferenceController()
40 import com.android.settings.datausage.DataSaverBackend;50 LifecycleObserver, OnStart, OnStop, DataSaverBackend.Listener, OnCheckedChangeListener {61 DataSaverBackend mDataSaverBackend;80 mDataSaverBackend = new DataSaverBackend(context); in WifiTetherSwitchBarController()
126 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()
211 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in changePreference_backgroundData_shouldUpdateUI()232 final DataSaverBackend dataSaverBackend = mock(DataSaverBackend.class); in updatePrefs_restrictedByAdmin_shouldDisablePreference()
19 import com.android.settings.datausage.DataSaverBackend;24 @Implements(DataSaverBackend.class)
52 import com.android.settings.datausage.DataSaverBackend;71 DataSaverBackend.Listener, LifecycleObserver {125 private final DataSaverBackend mDataSaverBackend;146 mDataSaverBackend = new DataSaverBackend(context); in TetherEnabler()
41 import com.android.settings.datausage.DataSaverBackend;66 private DataSaverBackend mDataSaverBackend;
59 import com.android.settings.datausage.DataSaverBackend;79 implements DataSaverBackend.Listener {125 private DataSaverBackend mDataSaverBackend;157 mDataSaverBackend = new DataSaverBackend(mContext); in onCreate()