Home
last modified time | relevance | path

Searched refs:RULE_ALLOW_ALL (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyManagerTest.java24 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 …]
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java132 public static final int RULE_ALLOW_ALL = 1 << 5; field in NetworkPolicyManager
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java101 import static android.net.NetworkPolicyManager.RULE_ALLOW_ALL;
7077 uidRule |= RULE_ALLOW_ALL;
7091 uidRule |= RULE_ALLOW_ALL;