/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataSaverBackend.java | 94 public boolean isWhitelisted(int uid) { in isWhitelisted() method in DataSaverBackend 145 private void handleWhitelistChanged(int uid, boolean isWhitelisted) { in handleWhitelistChanged() argument 147 mListeners.get(i).onWhitelistStatusChanged(uid, isWhitelisted); in handleWhitelistChanged() 170 final boolean isWhitelisted = newPolicy == POLICY_ALLOW_METERED_BACKGROUND; in handleUidPoliciesChanged() 173 if (wasWhitelisted != isWhitelisted) { in handleUidPoliciesChanged() 174 handleWhitelistChanged(uid, isWhitelisted); in handleUidPoliciesChanged() 214 void onWhitelistStatusChanged(int uid, boolean isWhitelisted); in onWhitelistStatusChanged() argument
|
D | AppStateDataUsageBridge.java | 40 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(app.info.uid), in loadAllExtraInfo() 47 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(uid), in updateExtraInfo()
|
D | UnrestrictedDataAccessPreference.java | 139 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument 141 mDataUsageState.isDataSaverWhitelisted = isWhitelisted; in onWhitelistStatusChanged()
|
D | AppDataUsage.java | 333 return mDataSaverBackend.isWhitelisted(mAppItem.key); in getUnrestrictData() 467 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument 469 updatePrefs(getAppRestrictBackground(), isWhitelisted); in onWhitelistStatusChanged() local
|
D | DataSaverPreference.java | 51 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataSaverBackend.java | 94 public boolean isWhitelisted(int uid) { in isWhitelisted() method in DataSaverBackend 145 private void handleWhitelistChanged(int uid, boolean isWhitelisted) { in handleWhitelistChanged() argument 147 mListeners.get(i).onWhitelistStatusChanged(uid, isWhitelisted); in handleWhitelistChanged() 170 final boolean isWhitelisted = newPolicy == POLICY_ALLOW_METERED_BACKGROUND; in handleUidPoliciesChanged() 173 if (wasWhitelisted != isWhitelisted) { in handleUidPoliciesChanged() 174 handleWhitelistChanged(uid, isWhitelisted); in handleUidPoliciesChanged() 214 void onWhitelistStatusChanged(int uid, boolean isWhitelisted); in onWhitelistStatusChanged() argument
|
D | AppStateDataUsageBridge.java | 40 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(app.info.uid), in loadAllExtraInfo() 47 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(uid), in updateExtraInfo()
|
D | UnrestrictedDataAccessPreference.java | 139 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument 141 mDataUsageState.isDataSaverWhitelisted = isWhitelisted; in onWhitelistStatusChanged()
|
D | AppDataUsage.java | 333 return mDataSaverBackend.isWhitelisted(mAppItem.key); in getUnrestrictData() 467 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument 469 updatePrefs(getAppRestrictBackground(), isWhitelisted); in onWhitelistStatusChanged() local
|
D | DataSaverPreference.java | 51 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryOptimizationPreferenceController.java | 72 final boolean isWhitelisted = mBackend.isWhitelisted(mPackageName); in updateState() 73 preference.setSummary(isWhitelisted ? R.string.high_power_on : R.string.high_power_off); in updateState()
|
D | HighPowerDetail.java | 84 mIsEnabled = mDefaultOn || mBackend.isWhitelisted(mPackageName); in onCreate() 140 boolean oldValue = mBackend.isWhitelisted(mPackageName); in onClick() 185 : powerWhitelist.isWhitelisted(pkg) in getSummary()
|
D | BackgroundActivityPreferenceController.java | 87 final boolean whitelisted = mPowerWhitelistBackend.isWhitelisted(mTargetPackage); in updateState() 120 if (mPowerWhitelistBackend.isWhitelisted(mTargetPackage)) { in updateSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryOptimizationPreferenceController.java | 72 final boolean isWhitelisted = mBackend.isWhitelisted(mPackageName); in updateState() 73 preference.setSummary(isWhitelisted ? R.string.high_power_on : R.string.high_power_off); in updateState()
|
D | HighPowerDetail.java | 84 mIsEnabled = mDefaultOn || mBackend.isWhitelisted(mPackageName); in onCreate() 140 boolean oldValue = mBackend.isWhitelisted(mPackageName); in onClick() 185 : powerWhitelist.isWhitelisted(pkg) in getSummary()
|
D | BackgroundActivityPreferenceController.java | 87 final boolean whitelisted = mPowerWhitelistBackend.isWhitelisted(mTargetPackage); in updateState() 120 if (mPowerWhitelistBackend.isWhitelisted(mTargetPackage)) { in updateSummary()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexServerSession.java | 201 boolean isWhitelisted = in onPut() 202 BluetoothOppManager.getInstance(mContext).isWhitelisted(destination); in onPut() 263 if (mimeType == null || (!isWhitelisted && !Constants.mimeTypeMatches(mimeType, in onPut() 286 if (isWhitelisted) { in onPut() 597 boolean isHandover = BluetoothOppManager.getInstance(mContext).isWhitelisted(destination); in onConnect()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStatePowerBridge.java | 46 app.extraInfo = mBackend.isWhitelisted(app.info.packageName) in loadAllExtraInfo() 53 app.extraInfo = mBackend.isWhitelisted(pkg) ? Boolean.TRUE : Boolean.FALSE; in updateExtraInfo()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStatePowerBridge.java | 46 app.extraInfo = mBackend.isWhitelisted(app.info.packageName) in loadAllExtraInfo() 53 app.extraInfo = mBackend.isWhitelisted(pkg) ? Boolean.TRUE : Boolean.FALSE; in updateExtraInfo()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryOptimizationPreferenceControllerTest.java | 69 doReturn(false).when(mBackend).isWhitelisted(PKG_NOT_IN_WHITELIST); in setUp() 70 doReturn(true).when(mBackend).isWhitelisted(PKG_IN_WHITELIST); in setUp()
|
D | BackgroundActivityPreferenceControllerTest.java | 106 when(mPowerWhitelistBackend.isWhitelisted(LOW_SDK_PACKAGE)).thenReturn(false); in setUp() 154 when(mPowerWhitelistBackend.isWhitelisted(LOW_SDK_PACKAGE)).thenReturn(true); in updateState_whitelisted()
|
D | HighPowerDetailTest.java | 88 when(mPowerWhitelistBackend.isWhitelisted(TEST_PACKAGE)).thenReturn(false); in onClick_appAddedToDozeWhitelist_getsUnrestricted()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | HighPower.java | 56 mPowerWhitelistBackend.isWhitelisted(info.info.packageName); 119 } else if (mPowerWhitelistBackend.isWhitelisted(pkg)) { in updateSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/ |
D | WifiTetherSwitchBarController.java | 163 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherSwitchBarController.java | 163 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument
|