Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementInternalTest.java24 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;
101 isRestrictedForDozable.put(FIREWALL_RULE_DEFAULT, true); in testIsNetworkRestrictedForUid()
107 isRestrictedForPowerSave.put(FIREWALL_RULE_DEFAULT, true); in testIsNetworkRestrictedForUid()
113 isRestrictedForStandby.put(FIREWALL_RULE_DEFAULT, false); in testIsNetworkRestrictedForUid()
126 FIREWALL_RULE_DEFAULT in testIsNetworkRestrictedForUid()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java26 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;
306 case FIREWALL_RULE_DEFAULT: in getFirewallRuleName()
DNetworkPolicyManagerService.java53 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;
3734 setUidFirewallRule(chain, uid, FIREWALL_RULE_DEFAULT); in updateRulesForWhitelistedPowerSaveUL()
3783 setUidFirewallRule(FIREWALL_CHAIN_STANDBY, uid, FIREWALL_RULE_DEFAULT); in updateRuleForAppIdleUL()
4813 mNetworkManager.setFirewallUidRule(FIREWALL_CHAIN_DOZABLE, uid, FIREWALL_RULE_DEFAULT); in resetUidFirewallRules()
4814 mNetworkManager.setFirewallUidRule(FIREWALL_CHAIN_STANDBY, uid, FIREWALL_RULE_DEFAULT); in resetUidFirewallRules()
4816 .setFirewallUidRule(FIREWALL_CHAIN_POWERSAVE, uid, FIREWALL_RULE_DEFAULT); in resetUidFirewallRules()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java94 public static final int FIREWALL_RULE_DEFAULT = 0; field in NetworkPolicyManager
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java34 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT;
1811 rulesToRemove.put(uid, FIREWALL_RULE_DEFAULT); in setFirewallUidRules()
1817 updateFirewallUidRuleLocked(chain, uid, FIREWALL_RULE_DEFAULT); in setFirewallUidRules()
1865 final int oldUidFirewallRule = uidFirewallRules.get(uid, FIREWALL_RULE_DEFAULT); in updateFirewallUidRuleLocked()
1879 if (rule == NetworkPolicyManager.FIREWALL_RULE_DEFAULT) { in updateFirewallUidRuleLocked()
1923 if (rule == NetworkPolicyManager.FIREWALL_RULE_DEFAULT) { in getFirewallRuleType()