Home
last modified time | relevance | path

Searched refs:RULE_NONE (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyManagerTest.java26 import static android.net.NetworkPolicyManager.RULE_NONE;
47 uidRulesToStringTest(RULE_NONE, "0 (NONE)"); in testUidRulesToString()
93 assertEquals(RULE_NONE, MASK_METERED_NETWORKS in testMeteredNetworksMask()
94 & RULE_NONE); in testMeteredNetworksMask()
120 assertEquals(RULE_NONE, MASK_ALL_NETWORKS in testAllNetworksMask()
121 & RULE_NONE); in testAllNetworksMask()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java98 public static final int RULE_NONE = 0; field in NetworkPolicyManager
499 if (uidRules == RULE_NONE) {
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java65 import static android.net.NetworkPolicyManager.RULE_NONE;
3575 final int uidRules = mUidRules.get(uid, RULE_NONE); in dump()
3589 final int uidRules = mUidRules.get(uid, RULE_NONE); in dump()
3909 if (newUidRules == RULE_NONE) { in updateRulesForAppIdleParoleUL()
4249 final int oldUidRules = mUidRules.get(uid, RULE_NONE); in updateRulesForDataUsageRestrictionsULInner()
4256 int newRule = RULE_NONE; in updateRulesForDataUsageRestrictionsULInner()
4288 if (newUidRules == RULE_NONE) { in updateRulesForDataUsageRestrictionsULInner()
4370 final int oldUidRules = mUidRules.get(uid, RULE_NONE); in updateRulesForPowerRestrictionsUL()
4374 if (newUidRules == RULE_NONE) { in updateRulesForPowerRestrictionsUL()
4406 return RULE_NONE; in updateRulesForPowerRestrictionsULInner()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java31 import static android.net.NetworkPolicyManager.RULE_NONE;
1748 expectedBlockedStates.add(new Pair<>(true, RULE_NONE)); in testIsUidNetworkingBlocked()
1759 expectedBlockedStates.add(new Pair<>(false, RULE_NONE)); in testIsUidNetworkingBlocked()
1770 expectedBlockedStates.add(new Pair<>(false, RULE_NONE)); in testIsUidNetworkingBlocked()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java53 import static android.net.NetworkPolicyManager.RULE_NONE;
2002 final int oldRules = mUidRules.get(uid, RULE_NONE); in handleUidRulesChanged()
2007 if (newRules == RULE_NONE) { in handleUidRulesChanged()
2554 final int uidRules = mUidRules.get(uid, RULE_NONE); in doDump()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java74 import static android.net.NetworkPolicyManager.RULE_NONE;
5910 setUidRulesChanged(RULE_NONE); in testNetworkBlockedStatus()
5927 setUidRulesChanged(RULE_NONE); in testNetworkBlockedStatus()
5949 setUidRulesChanged(RULE_NONE); in testNetworkBlockedStatusBeforeAndAfterConnect()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44553 Landroid/net/NetworkPolicyManager;->RULE_NONE:I