Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyManagerTest.java19 import static android.net.NetworkPolicyManager.MASK_ALL_NETWORKS;
120 assertEquals(RULE_NONE, MASK_ALL_NETWORKS in testAllNetworksMask()
123 assertEquals(RULE_ALLOW_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()
125 assertEquals(RULE_ALLOW_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()
127 assertEquals(RULE_ALLOW_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()
129 assertEquals(RULE_ALLOW_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()
132 assertEquals(RULE_REJECT_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()
134 assertEquals(RULE_REJECT_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()
136 assertEquals(RULE_REJECT_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()
138 assertEquals(RULE_REJECT_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java135 public static final int MASK_ALL_NETWORKS = 0b11110000; field in NetworkPolicyManager
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java58 import static android.net.NetworkPolicyManager.MASK_ALL_NETWORKS;
3906 if ((oldRules & MASK_ALL_NETWORKS) == 0) continue; in updateRulesForAppIdleParoleUL()
4274 final int newUidRules = newRule | (oldUidRules & MASK_ALL_NETWORKS); in updateRulesForDataUsageRestrictionsULInner()
4414 final int oldRule = oldUidRules & MASK_ALL_NETWORKS; in updateRulesForPowerRestrictionsULInner()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44540 Landroid/net/NetworkPolicyManager;->MASK_ALL_NETWORKS:I