Searched refs:hasRule (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 4203 if (hasRule(newRule, RULE_TEMPORARY_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner() 4214 } else if (hasRule(oldRule, RULE_TEMPORARY_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner() 4227 } else if (hasRule(newRule, RULE_REJECT_METERED) in updateRulesForDataUsageRestrictionsULInner() 4228 || hasRule(oldRule, RULE_REJECT_METERED)) { in updateRulesForDataUsageRestrictionsULInner() 4231 if (hasRule(oldRule, RULE_REJECT_METERED) && isWhitelisted) { in updateRulesForDataUsageRestrictionsULInner() 4237 } else if (hasRule(newRule, RULE_ALLOW_METERED) in updateRulesForDataUsageRestrictionsULInner() 4238 || hasRule(oldRule, RULE_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner() 4353 if (newRule == RULE_NONE || hasRule(newRule, RULE_ALLOW_ALL)) { in updateRulesForPowerRestrictionsULInner() 4355 } else if (hasRule(newRule, RULE_REJECT_ALL)) { in updateRulesForPowerRestrictionsULInner() 5000 else if (hasRule(uidRules, RULE_REJECT_ALL)) { in isUidNetworkingBlockedInternal() [all …]
|