/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataSaverSummary.java | 52 private DataSaverBackend mDataSaverBackend; field in DataSaverSummary 71 mDataSaverBackend = new DataSaverBackend(getContext()); in onCreate() 72 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in onCreate() 90 mDataSaverBackend.refreshWhitelist(); in onResume() 91 mDataSaverBackend.refreshBlacklist(); in onResume() 92 mDataSaverBackend.addListener(this); in onResume() 99 mDataSaverBackend.remListener(this); in onPause() 110 mDataSaverBackend.setDataSaverEnabled(isChecked); in onSwitchChanged()
|
D | AppStateDataUsageBridge.java | 26 private final DataSaverBackend mDataSaverBackend; field in AppStateDataUsageBridge 31 mDataSaverBackend = backend; in AppStateDataUsageBridge() 40 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(app.info.uid), in loadAllExtraInfo() 41 mDataSaverBackend.isBlacklisted(app.info.uid)); in loadAllExtraInfo() 47 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(uid), in updateExtraInfo() 48 mDataSaverBackend.isBlacklisted(uid)); in updateExtraInfo()
|
D | AppDataUsage.java | 103 private DataSaverBackend mDataSaverBackend; field in AppDataUsage 175 mDataSaverBackend = new DataSaverBackend(mContext); in onCreate() 219 if (mDataSaverBackend != null) { in onResume() 220 mDataSaverBackend.addListener(this); in onResume() 230 if (mDataSaverBackend != null) { in onPause() 231 mDataSaverBackend.remListener(this); in onPause() 238 mDataSaverBackend.setIsBlacklisted(mAppItem.key, mPackageName, !(Boolean) newValue); in onPreferenceChange() 242 mDataSaverBackend.setIsWhitelisted(mAppItem.key, mPackageName, (Boolean) newValue); in onPreferenceChange() 332 if (mDataSaverBackend != null) { in getUnrestrictData() 333 return mDataSaverBackend.isWhitelisted(mAppItem.key); in getUnrestrictData()
|
D | DataSaverPreference.java | 26 private final DataSaverBackend mDataSaverBackend; field in DataSaverPreference 30 mDataSaverBackend = new DataSaverBackend(context); in DataSaverPreference() 36 mDataSaverBackend.addListener(this); in onAttached() 42 mDataSaverBackend.remListener(this); in onDetached()
|
D | UnrestrictedDataAccessPreferenceController.java | 52 private final DataSaverBackend mDataSaverBackend; field in UnrestrictedDataAccessPreferenceController 63 mDataSaverBackend = new DataSaverBackend(context); in UnrestrictedDataAccessPreferenceController() 64 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in UnrestrictedDataAccessPreferenceController() 144 mApplicationsState, mDataSaverBackend, mParentFragment); in onRebuildComplete() 191 mDataSaverBackend.setIsWhitelisted(accessPreference.getEntry().info.uid, in onPreferenceChange()
|
D | UnrestrictedDataAccessPreference.java | 39 private final DataSaverBackend mDataSaverBackend; field in UnrestrictedDataAccessPreference 53 mDataSaverBackend = dataSaverBackend; in UnrestrictedDataAccessPreference() 71 mDataSaverBackend.addListener(this); in onAttached() 76 mDataSaverBackend.remListener(this); in onDetached()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataSaverSummary.java | 52 private DataSaverBackend mDataSaverBackend; field in DataSaverSummary 71 mDataSaverBackend = new DataSaverBackend(getContext()); in onCreate() 72 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in onCreate() 90 mDataSaverBackend.refreshWhitelist(); in onResume() 91 mDataSaverBackend.refreshBlacklist(); in onResume() 92 mDataSaverBackend.addListener(this); in onResume() 99 mDataSaverBackend.remListener(this); in onPause() 110 mDataSaverBackend.setDataSaverEnabled(isChecked); in onSwitchChanged()
|
D | AppStateDataUsageBridge.java | 26 private final DataSaverBackend mDataSaverBackend; field in AppStateDataUsageBridge 31 mDataSaverBackend = backend; in AppStateDataUsageBridge() 40 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(app.info.uid), in loadAllExtraInfo() 41 mDataSaverBackend.isBlacklisted(app.info.uid)); in loadAllExtraInfo() 47 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(uid), in updateExtraInfo() 48 mDataSaverBackend.isBlacklisted(uid)); in updateExtraInfo()
|
D | AppDataUsage.java | 103 private DataSaverBackend mDataSaverBackend; field in AppDataUsage 175 mDataSaverBackend = new DataSaverBackend(mContext); in onCreate() 219 if (mDataSaverBackend != null) { in onResume() 220 mDataSaverBackend.addListener(this); in onResume() 230 if (mDataSaverBackend != null) { in onPause() 231 mDataSaverBackend.remListener(this); in onPause() 238 mDataSaverBackend.setIsBlacklisted(mAppItem.key, mPackageName, !(Boolean) newValue); in onPreferenceChange() 242 mDataSaverBackend.setIsWhitelisted(mAppItem.key, mPackageName, (Boolean) newValue); in onPreferenceChange() 332 if (mDataSaverBackend != null) { in getUnrestrictData() 333 return mDataSaverBackend.isWhitelisted(mAppItem.key); in getUnrestrictData()
|
D | DataSaverPreference.java | 26 private final DataSaverBackend mDataSaverBackend; field in DataSaverPreference 30 mDataSaverBackend = new DataSaverBackend(context); in DataSaverPreference() 36 mDataSaverBackend.addListener(this); in onAttached() 42 mDataSaverBackend.remListener(this); in onDetached()
|
D | UnrestrictedDataAccessPreferenceController.java | 52 private final DataSaverBackend mDataSaverBackend; field in UnrestrictedDataAccessPreferenceController 63 mDataSaverBackend = new DataSaverBackend(context); in UnrestrictedDataAccessPreferenceController() 64 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in UnrestrictedDataAccessPreferenceController() 144 mApplicationsState, mDataSaverBackend, mParentFragment); in onRebuildComplete() 191 mDataSaverBackend.setIsWhitelisted(accessPreference.getEntry().info.uid, in onPreferenceChange()
|
D | UnrestrictedDataAccessPreference.java | 39 private final DataSaverBackend mDataSaverBackend; field in UnrestrictedDataAccessPreference 53 mDataSaverBackend = dataSaverBackend; in UnrestrictedDataAccessPreference() 71 mDataSaverBackend.addListener(this); in onAttached() 76 mDataSaverBackend.remListener(this); in onDetached()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/ |
D | WifiTetherSwitchBarController.java | 50 final DataSaverBackend mDataSaverBackend; field in WifiTetherSwitchBarController 69 mDataSaverBackend = new DataSaverBackend(context); in WifiTetherSwitchBarController() 80 mDataSaverBackend.addListener(this); in onStart() 87 mDataSaverBackend.remListener(this); in onStop() 154 mSwitchBar.setEnabled(!mDataSaverBackend.isDataSaverEnabled()); in updateWifiSwitch()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherSwitchBarController.java | 50 final DataSaverBackend mDataSaverBackend; field in WifiTetherSwitchBarController 69 mDataSaverBackend = new DataSaverBackend(context); in WifiTetherSwitchBarController() 80 mDataSaverBackend.addListener(this); in onStart() 87 mDataSaverBackend.remListener(this); in onStop() 154 mSwitchBar.setEnabled(!mDataSaverBackend.isDataSaverEnabled()); in updateWifiSwitch()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | TetherSettings.java | 97 private DataSaverBackend mDataSaverBackend; field in TetherSettings 125 mDataSaverBackend = new DataSaverBackend(getContext()); in onCreate() 126 mDataSaverEnabled = mDataSaverBackend.isDataSaverEnabled(); in onCreate() 146 mDataSaverBackend.addListener(this); in onCreate() 173 onDataSaverChanged(mDataSaverBackend.isDataSaverEnabled()); in onCreate() 178 mDataSaverBackend.remListener(this); in onDestroy()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TetherSettings.java | 110 private DataSaverBackend mDataSaverBackend; field in TetherSettings 138 mDataSaverBackend = new DataSaverBackend(getContext()); in onCreate() 139 mDataSaverEnabled = mDataSaverBackend.isDataSaverEnabled(); in onCreate() 160 mDataSaverBackend.addListener(this); in onCreate() 193 onDataSaverChanged(mDataSaverBackend.isDataSaverEnabled()); in onCreate() 198 mDataSaverBackend.remListener(this); in onDestroy()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | SpecialAppAccessPreferenceController.java | 46 private final DataSaverBackend mDataSaverBackend; field in SpecialAppAccessPreferenceController 56 mDataSaverBackend = new DataSaverBackend(context); in SpecialAppAccessPreferenceController() 57 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in SpecialAppAccessPreferenceController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | SpecialAppAccessPreferenceController.java | 46 private final DataSaverBackend mDataSaverBackend; field in SpecialAppAccessPreferenceController 56 mDataSaverBackend = new DataSaverBackend(context); in SpecialAppAccessPreferenceController() 57 mDataUsageBridge = new AppStateDataUsageBridge(mApplicationsState, this, mDataSaverBackend); in SpecialAppAccessPreferenceController()
|