Searched refs:effectiveBlockedReasons (Results 1 – 3 of 3) sorted by relevance
4595 final int effectiveBlockedReasons = updateBlockedReasonsForRestrictedModeUL(4597 final int newFirewallRule = getRestrictedModeFirewallRule(effectiveBlockedReasons);4617 final int effectiveBlockedReasons = updateBlockedReasonsForRestrictedModeUL(uid);4625 getRestrictedModeFirewallRule(effectiveBlockedReasons));4638 oldEffectiveBlockedReasons = uidBlockedState.effectiveBlockedReasons;4651 newEffectiveBlockedReasons = uidBlockedState.effectiveBlockedReasons;4665 private static int getRestrictedModeFirewallRule(int effectiveBlockedReasons) {4666 if ((effectiveBlockedReasons & BLOCKED_REASON_RESTRICTED_MODE) != 0) {4800 final int effectiveBlockedReasons = getEffectiveBlockedReasons(uid);4801 if (hasInternetPermissionUL(uid) && (effectiveBlockedReasons[all …]
112 uidBlockedState.allowedReasons, uidBlockedState.effectiveBlockedReasons); in networkBlocked()460 int effectiveBlockedReasons) { in networkBlocked() argument469 data.ifield4 = effectiveBlockedReasons; in networkBlocked()
2556 final Map<Pair<Integer, Integer>, Integer> effectiveBlockedReasons = new HashMap<>(); in testUpdateEffectiveBlockedReasons() local2557 effectiveBlockedReasons.put(Pair.create(BLOCKED_REASON_NONE, ALLOWED_REASON_NONE), in testUpdateEffectiveBlockedReasons()2560 effectiveBlockedReasons.put( in testUpdateEffectiveBlockedReasons()2563 effectiveBlockedReasons.put(Pair.create(BLOCKED_REASON_BATTERY_SAVER | BLOCKED_REASON_DOZE, in testUpdateEffectiveBlockedReasons()2565 effectiveBlockedReasons.put( in testUpdateEffectiveBlockedReasons()2568 effectiveBlockedReasons.put(Pair.create(BLOCKED_METERED_REASON_DATA_SAVER in testUpdateEffectiveBlockedReasons()2572 effectiveBlockedReasons.put( in testUpdateEffectiveBlockedReasons()2575 effectiveBlockedReasons.put( in testUpdateEffectiveBlockedReasons()2579 effectiveBlockedReasons.put( in testUpdateEffectiveBlockedReasons()2582 effectiveBlockedReasons.put(Pair.create(BLOCKED_REASON_BATTERY_SAVER | BLOCKED_REASON_DOZE, in testUpdateEffectiveBlockedReasons()[all …]