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/ |
D | NetworkManagementService.java | 34 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT; 1746 rulesToRemove.put(uid, FIREWALL_RULE_DEFAULT); in setFirewallUidRules() 1752 updateFirewallUidRuleLocked(chain, uid, FIREWALL_RULE_DEFAULT); in setFirewallUidRules() 1800 final int oldUidFirewallRule = uidFirewallRules.get(uid, FIREWALL_RULE_DEFAULT); in updateFirewallUidRuleLocked() 1814 if (rule == NetworkPolicyManager.FIREWALL_RULE_DEFAULT) { in updateFirewallUidRuleLocked() 1858 if (rule == NetworkPolicyManager.FIREWALL_RULE_DEFAULT) { in getFirewallRuleType()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyLogger.java | 26 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT; 349 case FIREWALL_RULE_DEFAULT: in getFirewallRuleName()
|
D | NetworkPolicyManagerService.java | 57 import static android.net.NetworkPolicyManager.FIREWALL_RULE_DEFAULT; 3848 setUidFirewallRule(chain, uid, FIREWALL_RULE_DEFAULT); in updateRulesForWhitelistedPowerSaveUL() 3897 setUidFirewallRule(FIREWALL_CHAIN_STANDBY, uid, FIREWALL_RULE_DEFAULT); in updateRuleForAppIdleUL() 3938 mUidFirewallStandbyRules.put(uid, FIREWALL_RULE_DEFAULT); in updateRulesForAppIdleParoleUL() 4994 mNetworkManager.setFirewallUidRule(FIREWALL_CHAIN_DOZABLE, uid, FIREWALL_RULE_DEFAULT); in resetUidFirewallRules() 4995 mNetworkManager.setFirewallUidRule(FIREWALL_CHAIN_STANDBY, uid, FIREWALL_RULE_DEFAULT); in resetUidFirewallRules() 4997 .setFirewallUidRule(FIREWALL_CHAIN_POWERSAVE, uid, FIREWALL_RULE_DEFAULT); in resetUidFirewallRules()
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 138 public static final int FIREWALL_RULE_DEFAULT = 0; field in NetworkPolicyManager
|