Searched refs:FIREWALL_RULE_DEFAULT (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkManagementInternalTest.java | 24 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/ |
D | NetworkPolicyLogger.java | 26 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT; 306 case FIREWALL_RULE_DEFAULT: in getFirewallRuleName()
|
D | NetworkPolicyManagerService.java | 53 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/ |
D | NetworkPolicyManager.java | 94 public static final int FIREWALL_RULE_DEFAULT = 0; field in NetworkPolicyManager
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 34 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()
|