Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementInternalTest.java23 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;
100 isRestrictedForDozable.put(FIREWALL_RULE_DEFAULT, true); in testIsNetworkRestrictedForUid()
106 isRestrictedForPowerSave.put(FIREWALL_RULE_DEFAULT, true); in testIsNetworkRestrictedForUid()
112 isRestrictedForStandby.put(FIREWALL_RULE_DEFAULT, false); in testIsNetworkRestrictedForUid()
125 FIREWALL_RULE_DEFAULT in testIsNetworkRestrictedForUid()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java25 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;
293 case FIREWALL_RULE_DEFAULT: in getFirewallRuleName()
DLockdownVpnTracker.java22 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;
DNetworkPolicyManagerService.java52 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;
3630 setUidFirewallRule(chain, uid, FIREWALL_RULE_DEFAULT); in updateRulesForWhitelistedPowerSaveUL()
3676 setUidFirewallRule(FIREWALL_CHAIN_STANDBY, uid, FIREWALL_RULE_DEFAULT); in updateRuleForAppIdleUL()
4628 mNetworkManager.setFirewallUidRule(FIREWALL_CHAIN_DOZABLE, uid, FIREWALL_RULE_DEFAULT); in resetUidFirewallRules()
4629 mNetworkManager.setFirewallUidRule(FIREWALL_CHAIN_STANDBY, uid, FIREWALL_RULE_DEFAULT); in resetUidFirewallRules()
4631 .setFirewallUidRule(FIREWALL_CHAIN_POWERSAVE, uid, FIREWALL_RULE_DEFAULT); in resetUidFirewallRules()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java92 public static final int FIREWALL_RULE_DEFAULT = 0; field in NetworkPolicyManager
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java33 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;
2174 rulesToRemove.put(uid, FIREWALL_RULE_DEFAULT); in setFirewallUidRules()
2180 updateFirewallUidRuleLocked(chain, uid, FIREWALL_RULE_DEFAULT); in setFirewallUidRules()
2228 final int oldUidFirewallRule = uidFirewallRules.get(uid, FIREWALL_RULE_DEFAULT); in updateFirewallUidRuleLocked()
2242 if (rule == NetworkPolicyManager.FIREWALL_RULE_DEFAULT) { in updateFirewallUidRuleLocked()