Searched refs:hasRule (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 4296 if (hasRule(newRule, RULE_TEMPORARY_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner() 4307 } else if (hasRule(oldRule, RULE_TEMPORARY_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner() 4320 } else if (hasRule(newRule, RULE_REJECT_METERED) in updateRulesForDataUsageRestrictionsULInner() 4321 || hasRule(oldRule, RULE_REJECT_METERED)) { in updateRulesForDataUsageRestrictionsULInner() 4324 if (hasRule(oldRule, RULE_REJECT_METERED) && isWhitelisted) { in updateRulesForDataUsageRestrictionsULInner() 4330 } else if (hasRule(newRule, RULE_ALLOW_METERED) in updateRulesForDataUsageRestrictionsULInner() 4331 || hasRule(oldRule, RULE_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner() 4446 if (newRule == RULE_NONE || hasRule(newRule, RULE_ALLOW_ALL)) { in updateRulesForPowerRestrictionsULInner() 4448 } else if (hasRule(newRule, RULE_REJECT_ALL)) { in updateRulesForPowerRestrictionsULInner() 5135 else if (hasRule(uidRules, RULE_REJECT_ALL)) { in isUidNetworkingBlockedInternal() [all …]
|