Searched refs:FIREWALL_RULE_ALLOW (Results 1 – 6 of 6) sorted by relevance
22 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()
24 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;295 case FIREWALL_RULE_ALLOW: in getFirewallRuleName()
21 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;
51 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;3586 uidRules.put(mUidState.keyAt(i), FIREWALL_RULE_ALLOW); in updateRulesForWhitelistedPowerSaveUL() local3601 uidRules.put(uid, FIREWALL_RULE_ALLOW); in updateRulesForWhitelistedAppIds()3628 setUidFirewallRule(chain, uid, FIREWALL_RULE_ALLOW); in updateRulesForWhitelistedPowerSaveUL()
93 public static final int FIREWALL_RULE_ALLOW = 1; field in NetworkPolicyManager
32 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()