Home
last modified time | relevance | path

Searched refs:hasRule (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4341 if (hasRule(newRule, RULE_TEMPORARY_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner()
4352 } else if (hasRule(oldRule, RULE_TEMPORARY_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner()
4365 } else if (hasRule(newRule, RULE_REJECT_METERED) in updateRulesForDataUsageRestrictionsULInner()
4366 || hasRule(oldRule, RULE_REJECT_METERED)) { in updateRulesForDataUsageRestrictionsULInner()
4369 if (hasRule(oldRule, RULE_REJECT_METERED) && isWhitelisted) { in updateRulesForDataUsageRestrictionsULInner()
4375 } else if (hasRule(newRule, RULE_ALLOW_METERED) in updateRulesForDataUsageRestrictionsULInner()
4376 || hasRule(oldRule, RULE_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner()
4494 if (newRule == RULE_NONE || hasRule(newRule, RULE_ALLOW_ALL)) { in updateRulesForPowerRestrictionsULInner()
4496 } else if (hasRule(newRule, RULE_REJECT_ALL)) { in updateRulesForPowerRestrictionsULInner()
5185 else if (hasRule(uidRules, RULE_REJECT_ALL)) { in isUidNetworkingBlockedInternal()
[all …]
/frameworks/base/services/
Dart-profile20392 HSPLcom/android/server/net/NetworkPolicyManagerService;->hasRule(II)Z