Searched refs:newAllowedReasons (Results 1 – 2 of 2) sorted by relevance
5435 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_FOREGROUND5521 || (newAllowedReasons & allowlistReasons) != ALLOWED_REASON_NONE) {5523 (newAllowedReasons & allowlistReasons) != ALLOWED_REASON_NONE);5600 int newAllowedReasons = ALLOWED_REASON_NONE;[all …]
1231 final int newAllowedReasons = allowedReasons & ~allowedReason; in removeAllowedReasonLocked() local1232 if (newAllowedReasons == 0) { in removeAllowedReasonLocked()1235 mUidAllowedReasons.put(uid, newAllowedReasons); in removeAllowedReasonLocked()1237 return allowedReasons != newAllowedReasons; in removeAllowedReasonLocked()