Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementInternalTest.java22 import static android.net.INetd.FIREWALL_RULE_ALLOW;
102 isRestrictedForDozable.put(FIREWALL_RULE_ALLOW, false); in testIsNetworkRestrictedForUid()
108 isRestrictedForPowerSave.put(FIREWALL_RULE_ALLOW, false); in testIsNetworkRestrictedForUid()
114 isRestrictedForStandby.put(FIREWALL_RULE_ALLOW, false); in testIsNetworkRestrictedForUid()
124 FIREWALL_RULE_ALLOW, in testIsNetworkRestrictedForUid()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java28 import static android.net.INetd.FIREWALL_RULE_ALLOW;
1597 allow ? INetd.FIREWALL_RULE_ALLOW : INetd.FIREWALL_RULE_DENY); in setFirewallInterfaceRule()
1623 if (rules.valueAt(i) == FIREWALL_RULE_ALLOW) { in closeSocketsForFirewallChainLocked()
1826 if (rule == FIREWALL_RULE_ALLOW) { in getFirewallRuleName()
1860 ? INetd.FIREWALL_RULE_DENY : INetd.FIREWALL_RULE_ALLOW; in getFirewallRuleType()
2119 && mUidFirewallDozableRules.get(uid) != FIREWALL_RULE_ALLOW) { in isNetworkRestrictedInternal()
2124 && mUidFirewallPowerSaveRules.get(uid) != FIREWALL_RULE_ALLOW) { in isNetworkRestrictedInternal()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java21 import static android.net.INetd.FIREWALL_RULE_ALLOW;
308 case FIREWALL_RULE_ALLOW: in getFirewallRuleName()
DNetworkPolicyManagerService.java48 import static android.net.INetd.FIREWALL_RULE_ALLOW;
3778 uidRules.put(mUidState.keyAt(i), FIREWALL_RULE_ALLOW); in updateRulesForWhitelistedPowerSaveUL() local
3793 uidRules.put(uid, FIREWALL_RULE_ALLOW); in updateRulesForWhitelistedAppIds()
3825 setUidFirewallRule(chain, uid, FIREWALL_RULE_ALLOW); in updateRulesForWhitelistedPowerSaveUL()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44531 Landroid/net/NetworkPolicyManager;->FIREWALL_RULE_ALLOW:I