Home
last modified time | relevance | path

Searched refs:FIREWALL_RULE_ALLOW (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementInternalTest.java22 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;
101 isRestrictedForDozable.put(FIREWALL_RULE_ALLOW, false); in testIsNetworkRestrictedForUid()
107 isRestrictedForPowerSave.put(FIREWALL_RULE_ALLOW, false); in testIsNetworkRestrictedForUid()
113 isRestrictedForStandby.put(FIREWALL_RULE_ALLOW, false); in testIsNetworkRestrictedForUid()
123 FIREWALL_RULE_ALLOW, in testIsNetworkRestrictedForUid()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java24 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;
295 case FIREWALL_RULE_ALLOW: in getFirewallRuleName()
DLockdownVpnTracker.java21 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;
DNetworkPolicyManagerService.java51 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;
3586 uidRules.put(mUidState.keyAt(i), FIREWALL_RULE_ALLOW); in updateRulesForWhitelistedPowerSaveUL() local
3601 uidRules.put(uid, FIREWALL_RULE_ALLOW); in updateRulesForWhitelistedAppIds()
3628 setUidFirewallRule(chain, uid, FIREWALL_RULE_ALLOW); in updateRulesForWhitelistedPowerSaveUL()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java93 public static final int FIREWALL_RULE_ALLOW = 1; field in NetworkPolicyManager
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java32 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;
2052 if (rules.valueAt(i) == NetworkPolicyManager.FIREWALL_RULE_ALLOW) { in closeSocketsForFirewallChainLocked()
2254 if (rule == NetworkPolicyManager.FIREWALL_RULE_ALLOW) { in getFirewallRuleName()
2706 && mUidFirewallDozableRules.get(uid) != FIREWALL_RULE_ALLOW) { in isNetworkRestrictedInternal()
2711 && mUidFirewallPowerSaveRules.get(uid) != FIREWALL_RULE_ALLOW) { in isNetworkRestrictedInternal()