HomeSort by relevance Sort by last modified time
    Searched refs:mDataSaverBackend (Results 1 - 7 of 7) sorted by null

  /packages/apps/Settings/src/com/android/settings/datausage/
DataSaverPreference.java 24 private final DataSaverBackend mDataSaverBackend;
28 mDataSaverBackend = new DataSaverBackend(context);
34 mDataSaverBackend.addListener(this);
40 mDataSaverBackend.addListener(this);
AppStateDataUsageBridge.java 26 private final DataSaverBackend mDataSaverBackend;
31 mDataSaverBackend = backend;
40 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(app.info.uid),
41 mDataSaverBackend.isBlacklisted(app.info.uid));
47 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(uid),
48 mDataSaverBackend.isBlacklisted(uid));
DataSaverSummary.java 43 private DataSaverBackend mDataSaverBackend;
60 mDataSaverBackend = new DataSaverBackend(getContext());
61 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend);
76 mDataSaverBackend.refreshWhitelist();
77 mDataSaverBackend.refreshBlacklist();
78 mDataSaverBackend.addListener(this);
86 mDataSaverBackend.remListener(this);
98 mDataSaverBackend.setDataSaverEnabled(isChecked);
UnrestrictedDataAccess.java 53 private DataSaverBackend mDataSaverBackend;
65 mDataSaverBackend = new DataSaverBackend(getContext());
66 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend);
216 mDataSaverBackend.setIsWhitelisted(accessPreference.mEntry.info.uid,
242 mDataSaverBackend.addListener(this);
247 mDataSaverBackend.remListener(this);
AppDataUsage.java 104 private DataSaverBackend mDataSaverBackend;
176 mDataSaverBackend = new DataSaverBackend(getContext());
239 if (mDataSaverBackend != null) {
240 mDataSaverBackend.addListener(this);
251 if (mDataSaverBackend != null) {
252 mDataSaverBackend.remListener(this);
259 mDataSaverBackend.setIsBlacklisted(mAppItem.key, mPackageName, !(Boolean) newValue);
262 mDataSaverBackend.setIsWhitelisted(mAppItem.key, mPackageName, (Boolean) newValue);
335 if (mDataSaverBackend != null) {
336 return mDataSaverBackend.isWhitelisted(mAppItem.key)
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiApEnabler.java 39 private final DataSaverBackend mDataSaverBackend;
78 mDataSaverBackend = dataSaverBackend;
106 mSwitch.setEnabled(!mDataSaverBackend.isDataSaverEnabled());
159 mSwitch.setEnabled(!mDataSaverBackend.isDataSaverEnabled());
  /packages/apps/Settings/src/com/android/settings/
TetherSettings.java 117 private DataSaverBackend mDataSaverBackend;
136 mDataSaverBackend = new DataSaverBackend(getContext());
137 mDataSaverEnabled = mDataSaverBackend.isDataSaverEnabled();
160 mDataSaverBackend.addListener(this);
178 mWifiApEnabler = new WifiApEnabler(activity, mDataSaverBackend, mEnableWifiAp);
196 onDataSaverChanged(mDataSaverBackend.isDataSaverEnabled());
201 mDataSaverBackend.remListener(this);

Completed in 81 milliseconds