Searched refs:FIREWALL_RULE_ALLOW (Results 1 – 4 of 4) sorted by relevance
21 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;205 mNetService.setFirewallUidRule(FIREWALL_CHAIN_NONE, ROOT_UID, FIREWALL_RULE_ALLOW); in handleStateChangedLocked()206 … mNetService.setFirewallUidRule(FIREWALL_CHAIN_NONE, Os.getuid(), FIREWALL_RULE_ALLOW); in handleStateChangedLocked()
43 import static android.net.NetworkPolicyManager.FIREWALL_RULE_ALLOW;2101 uidRules.put(uid, FIREWALL_RULE_ALLOW); in updateRulesForDeviceIdleLocked()2107 uidRules.put(uid, FIREWALL_RULE_ALLOW); in updateRulesForDeviceIdleLocked()2112 uidRules.put(mUidState.keyAt(i), FIREWALL_RULE_ALLOW); in updateRulesForDeviceIdleLocked() local2125 setUidFirewallRule(FIREWALL_CHAIN_DOZABLE, uid, FIREWALL_RULE_ALLOW); in updateRuleForDeviceIdleLocked()
61 public static final int FIREWALL_RULE_ALLOW = 1; field in NetworkPolicyManager
2137 if (rule == NetworkPolicyManager.FIREWALL_RULE_ALLOW) { in getFirewallRuleName()