Home
last modified time | relevance | path

Searched refs:effectiveBlockedReasons (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4595 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 …]
DNetworkPolicyLogger.java112 uidBlockedState.allowedReasons, uidBlockedState.effectiveBlockedReasons); in networkBlocked()
460 int effectiveBlockedReasons) { in networkBlocked() argument
469 data.ifield4 = effectiveBlockedReasons; in networkBlocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java2556 final Map<Pair<Integer, Integer>, Integer> effectiveBlockedReasons = new HashMap<>(); in testUpdateEffectiveBlockedReasons() local
2557 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 …]