Searched refs:MASK_ALL_NETWORKS (Results 1 – 3 of 3) sorted by relevance
18 import static android.net.NetworkPolicyManager.MASK_ALL_NETWORKS;86 assertEquals(RULE_NONE, MASK_ALL_NETWORKS in testAllNetworksMask()89 assertEquals(RULE_ALLOW_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()91 assertEquals(RULE_ALLOW_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()93 assertEquals(RULE_ALLOW_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()95 assertEquals(RULE_ALLOW_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()98 assertEquals(RULE_REJECT_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()100 assertEquals(RULE_REJECT_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()102 assertEquals(RULE_REJECT_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()104 assertEquals(RULE_REJECT_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()
84 public static final int MASK_ALL_NETWORKS = 0b11110000; field in NetworkPolicyManager
54 import static android.net.NetworkPolicyManager.MASK_ALL_NETWORKS;2879 final int newUidRules = newRule | (oldUidRules & MASK_ALL_NETWORKS); in updateRulesForDataUsageRestrictionsLocked()2988 final int oldRule = oldUidRules & MASK_ALL_NETWORKS; in updateRulesForPowerRestrictionsLocked()