Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyManagerTest.java25 import static android.net.NetworkPolicyManager.RULE_NONE;
46 uidRulesToStringTest(RULE_NONE, "0 (NONE)"); in testUidRulesToString()
92 assertEquals(RULE_NONE, MASK_METERED_NETWORKS in testMeteredNetworksMask()
93 & RULE_NONE); in testMeteredNetworksMask()
119 assertEquals(RULE_NONE, MASK_ALL_NETWORKS in testAllNetworksMask()
120 & RULE_NONE); in testAllNetworksMask()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java75 public static final int RULE_NONE = 0; field in NetworkPolicyManager
326 if (uidRules == RULE_NONE) {
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java61 import static android.net.NetworkPolicyManager.RULE_NONE;
3394 final int uidRules = mUidRules.get(uid, RULE_NONE); in dump()
3408 final int uidRules = mUidRules.get(uid, RULE_NONE); in dump()
3707 if (newUidRules == RULE_NONE) { in updateRulesForAppIdleParoleUL()
3985 final int oldUidRules = mUidRules.get(uid, RULE_NONE); in updateRulesForDataUsageRestrictionsULInner()
3992 int newRule = RULE_NONE; in updateRulesForDataUsageRestrictionsULInner()
4024 if (newUidRules == RULE_NONE) { in updateRulesForDataUsageRestrictionsULInner()
4105 final int oldUidRules = mUidRules.get(uid, RULE_NONE); in updateRulesForPowerRestrictionsUL()
4109 if (newUidRules == RULE_NONE) { in updateRulesForPowerRestrictionsUL()
4141 return RULE_NONE; in updateRulesForPowerRestrictionsULInner()
[all …]