Searched refs:MASK_METERED_NETWORKS (Results 1 – 3 of 3) sorted by relevance
19 import static android.net.NetworkPolicyManager.MASK_METERED_NETWORKS;60 assertEquals(RULE_NONE, MASK_METERED_NETWORKS in testMeteredNetworksMask()63 assertEquals(RULE_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()65 assertEquals(RULE_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()67 assertEquals(RULE_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()70 assertEquals(RULE_TEMPORARY_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()72 assertEquals(RULE_TEMPORARY_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()74 assertEquals(RULE_TEMPORARY_ALLOW_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()77 assertEquals(RULE_REJECT_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()79 assertEquals(RULE_REJECT_METERED, MASK_METERED_NETWORKS in testMeteredNetworksMask()[all …]
82 public static final int MASK_METERED_NETWORKS = 0b00001111; field in NetworkPolicyManager
53 import static android.net.NetworkPolicyManager.MASK_METERED_NETWORKS;2862 final int oldRule = oldUidRules & MASK_METERED_NETWORKS; in updateRulesForDataUsageRestrictionsLocked()3003 final int newUidRules = (oldUidRules & MASK_METERED_NETWORKS) | newRule; in updateRulesForPowerRestrictionsLocked()