Searched refs:RULE_ALLOW_ALL (Results 1 – 3 of 3) sorted by relevance
24 import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL;51 uidRulesToStringTest(RULE_ALLOW_ALL, "32 (ALLOW_ALL)"); in testUidRulesToString()54 uidRulesToStringTest(RULE_ALLOW_METERED | RULE_ALLOW_ALL, in testUidRulesToString()60 uidRulesToStringTest(RULE_TEMPORARY_ALLOW_METERED | RULE_ALLOW_ALL, in testUidRulesToString()66 uidRulesToStringTest(RULE_REJECT_METERED | RULE_ALLOW_ALL, in testUidRulesToString()99 & (RULE_ALLOW_METERED | RULE_ALLOW_ALL)); in testMeteredNetworksMask()106 & (RULE_TEMPORARY_ALLOW_METERED | RULE_ALLOW_ALL)); in testMeteredNetworksMask()113 & (RULE_REJECT_METERED | RULE_ALLOW_ALL)); in testMeteredNetworksMask()123 assertEquals(RULE_ALLOW_ALL, MASK_ALL_NETWORKS in testAllNetworksMask()124 & RULE_ALLOW_ALL); in testAllNetworksMask()[all …]
132 public static final int RULE_ALLOW_ALL = 1 << 5; field in NetworkPolicyManager
101 import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL;7077 uidRule |= RULE_ALLOW_ALL;7091 uidRule |= RULE_ALLOW_ALL;