Home
last modified time | relevance | path

Searched refs:newAllowedReasons (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java5435 int newAllowedReasons = ALLOWED_REASON_NONE;
5440 newAllowedReasons |= (isSystem(uid) ? ALLOWED_METERED_REASON_SYSTEM : 0);
5441 newAllowedReasons |= (isForeground ? ALLOWED_METERED_REASON_FOREGROUND : 0);
5442 newAllowedReasons |= (isAllowed ? ALLOWED_METERED_REASON_USER_EXEMPTED : 0);
5458 & ~ALLOWED_METERED_REASON_MASK) | newAllowedReasons;
5477 newAllowedReasons));
5500 if ((newAllowedReasons & (ALLOWED_METERED_REASON_FOREGROUND
5521 || (newAllowedReasons & allowlistReasons) != ALLOWED_REASON_NONE) {
5523 (newAllowedReasons & allowlistReasons) != ALLOWED_REASON_NONE);
5600 int newAllowedReasons = ALLOWED_REASON_NONE;
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java1231 final int newAllowedReasons = allowedReasons & ~allowedReason; in removeAllowedReasonLocked() local
1232 if (newAllowedReasons == 0) { in removeAllowedReasonLocked()
1235 mUidAllowedReasons.put(uid, newAllowedReasons); in removeAllowedReasonLocked()
1237 return allowedReasons != newAllowedReasons; in removeAllowedReasonLocked()