Searched refs:oldRule (Results 1 – 2 of 2) sorted by relevance
267 final ZenRule oldRule = mConfig != null ? mConfig.manualRule : null; in updateZenModeConfig()273 if (!Objects.equals(oldRule, newRule)) { in updateZenModeConfig()
4255 final int oldRule = oldUidRules & MASK_METERED_NETWORKS; in updateRulesForDataUsageRestrictionsULInner() local4282 + ", 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() local4438 + ", oldRule=" + uidRulesToString(oldRule) in updateRulesForPowerRestrictionsULInner()4445 if (newRule != oldRule) { in updateRulesForPowerRestrictionsULInner()