Searched refs:RULE_REJECT_ALL (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkPolicyManagerTest.java | 27 import static android.net.NetworkPolicyManager.RULE_REJECT_ALL; 52 uidRulesToStringTest(RULE_REJECT_ALL, "64 (REJECT_ALL)"); in testUidRulesToString() 57 uidRulesToStringTest(RULE_ALLOW_METERED | RULE_REJECT_ALL, in testUidRulesToString() 63 uidRulesToStringTest(RULE_TEMPORARY_ALLOW_METERED | RULE_REJECT_ALL, in testUidRulesToString() 69 uidRulesToStringTest(RULE_REJECT_METERED | RULE_REJECT_ALL, in testUidRulesToString() 101 & (RULE_ALLOW_METERED | RULE_REJECT_ALL)); in testMeteredNetworksMask() 108 & (RULE_TEMPORARY_ALLOW_METERED | RULE_REJECT_ALL)); in testMeteredNetworksMask() 115 & (RULE_REJECT_METERED | RULE_REJECT_ALL)); in testMeteredNetworksMask() 132 assertEquals(RULE_REJECT_ALL, MASK_ALL_NETWORKS in testAllNetworksMask() 133 & RULE_REJECT_ALL); in testAllNetworksMask() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 124 public static final int RULE_REJECT_ALL = 1 << 6; field in NetworkPolicyManager
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 32 import static android.net.NetworkPolicyManager.RULE_REJECT_ALL; 1753 expectedBlockedStates.add(new Pair<>(true, RULE_REJECT_ALL)); in testIsUidNetworkingBlocked() 1764 expectedBlockedStates.add(new Pair<>(true, RULE_REJECT_ALL)); in testIsUidNetworkingBlocked() 1775 expectedBlockedStates.add(new Pair<>(true, RULE_REJECT_ALL)); in testIsUidNetworkingBlocked()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 66 import static android.net.NetworkPolicyManager.RULE_REJECT_ALL; 4426 newRule = isWhitelisted ? RULE_ALLOW_ALL : RULE_REJECT_ALL; in updateRulesForPowerRestrictionsULInner() 4448 } else if (hasRule(newRule, RULE_REJECT_ALL)) { in updateRulesForPowerRestrictionsULInner() 5135 else if (hasRule(uidRules, RULE_REJECT_ALL)) { in isUidNetworkingBlockedInternal()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 75 import static android.net.NetworkPolicyManager.RULE_REJECT_ALL; 5903 setUidRulesChanged(RULE_REJECT_ALL); in testNetworkBlockedStatus() 5948 setUidRulesChanged(RULE_REJECT_ALL); in testNetworkBlockedStatusBeforeAndAfterConnect()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 44554 Landroid/net/NetworkPolicyManager;->RULE_REJECT_ALL:I
|