Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementInternalTest.java20 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_POWERSAVE;
109 expected.put(FIREWALL_CHAIN_POWERSAVE, isRestrictedForPowerSave); in testIsNetworkRestrictedForUid()
119 FIREWALL_CHAIN_POWERSAVE, in testIsNetworkRestrictedForUid()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java30 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_POWERSAVE;
718 syncFirewallChainLocked(FIREWALL_CHAIN_POWERSAVE, "powersave "); in prepareNativeDaemon()
721 {FIREWALL_CHAIN_STANDBY, FIREWALL_CHAIN_DOZABLE, FIREWALL_CHAIN_POWERSAVE}; in prepareNativeDaemon()
2118 case FIREWALL_CHAIN_POWERSAVE: in setFirewallChainEnabled()
2148 case FIREWALL_CHAIN_POWERSAVE: in getFirewallType()
2191 case FIREWALL_CHAIN_POWERSAVE: in setFirewallUidRules()
2275 case FIREWALL_CHAIN_POWERSAVE: in getUidFirewallRulesLR()
2290 case FIREWALL_CHAIN_POWERSAVE: in getFirewallChainName()
2417 getFirewallChainState(FIREWALL_CHAIN_POWERSAVE)); in dump()
2710 if (getFirewallChainState(FIREWALL_CHAIN_POWERSAVE) in isNetworkRestrictedInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java22 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_POWERSAVE;
284 case FIREWALL_CHAIN_POWERSAVE: in getFirewallChainName()
DNetworkPolicyManagerService.java49 import static android.net.NetworkPolicyManager.FIREWALL_CHAIN_POWERSAVE;
3540 updateRulesForWhitelistedPowerSaveUL(mRestrictPower, FIREWALL_CHAIN_POWERSAVE, in updateRulesForPowerSaveUL()
3548 updateRulesForWhitelistedPowerSaveUL(uid, mRestrictPower, FIREWALL_CHAIN_POWERSAVE); in updateRuleForRestrictPowerUL()
3579 if (chain == FIREWALL_CHAIN_POWERSAVE) { in updateRulesForWhitelistedPowerSaveUL()
4586 } else if (chain == FIREWALL_CHAIN_POWERSAVE) { in setUidFirewallRule()
4631 .setFirewallUidRule(FIREWALL_CHAIN_POWERSAVE, uid, FIREWALL_RULE_DEFAULT); in resetUidFirewallRules()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java102 public static final int FIREWALL_CHAIN_POWERSAVE = 3; field in NetworkPolicyManager