Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeControllerImpl.java267 final ZenRule oldRule = mConfig != null ? mConfig.manualRule : null; in updateZenModeConfig()
273 if (!Objects.equals(oldRule, newRule)) { in updateZenModeConfig()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4255 final int oldRule = oldUidRules & MASK_METERED_NETWORKS; in updateRulesForDataUsageRestrictionsULInner() local
4282 + ", oldRule=" + uidRulesToString(oldRule) in updateRulesForDataUsageRestrictionsULInner()
4295 if (newRule != oldRule) { in updateRulesForDataUsageRestrictionsULInner()
4307 } else if (hasRule(oldRule, RULE_TEMPORARY_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner()
4321 || hasRule(oldRule, RULE_REJECT_METERED)) { in updateRulesForDataUsageRestrictionsULInner()
4324 if (hasRule(oldRule, RULE_REJECT_METERED) && isWhitelisted) { in updateRulesForDataUsageRestrictionsULInner()
4331 || hasRule(oldRule, RULE_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner()
4414 final int oldRule = oldUidRules & MASK_ALL_NETWORKS; in updateRulesForPowerRestrictionsULInner() local
4438 + ", oldRule=" + uidRulesToString(oldRule) in updateRulesForPowerRestrictionsULInner()
4445 if (newRule != oldRule) { in updateRulesForPowerRestrictionsULInner()