Home
last modified time | relevance | path

Searched refs:MASK_METERED_NETWORKS (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyManagerTest.java20 import static android.net.NetworkPolicyManager.MASK_METERED_NETWORKS;
93 assertEquals(RULE_NONE, MASK_METERED_NETWORKS in testMeteredNetworksMask()
96 assertEquals(RULE_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()
98 assertEquals(RULE_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()
100 assertEquals(RULE_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()
103 assertEquals(RULE_TEMPORARY_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()
105 assertEquals(RULE_TEMPORARY_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()
107 assertEquals(RULE_TEMPORARY_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()
110 assertEquals(RULE_REJECT_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()
112 assertEquals(RULE_REJECT_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()
[all …]
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java130 public static final int MASK_METERED_NETWORKS = 0b00001111; field in NetworkPolicyManager
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java59 import static android.net.NetworkPolicyManager.MASK_METERED_NETWORKS;
3903 oldRules &= MASK_METERED_NETWORKS; in updateRulesForAppIdleParoleUL()
4255 final int oldRule = oldUidRules & MASK_METERED_NETWORKS; in updateRulesForDataUsageRestrictionsULInner()
4429 final int newUidRules = (oldUidRules & MASK_METERED_NETWORKS) | newRule; in updateRulesForPowerRestrictionsULInner()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44541 Landroid/net/NetworkPolicyManager;->MASK_METERED_NETWORKS:I