Searched refs:oldRule (Results 1 – 2 of 2) sorted by relevance
223 final ZenRule oldRule = mConfig != null ? mConfig.manualRule : null; in updateZenModeConfig()227 if (Objects.equals(oldRule, newRule)) return; in updateZenModeConfig()
2862 final int oldRule = oldUidRules & MASK_METERED_NETWORKS; in updateRulesForDataUsageRestrictionsLocked() local2886 + ", oldRule=" + uidRulesToString(oldRule) in updateRulesForDataUsageRestrictionsLocked()2901 if (newRule != oldRule) { in updateRulesForDataUsageRestrictionsLocked()2915 } else if ((oldRule & RULE_TEMPORARY_ALLOW_METERED) != 0) { in updateRulesForDataUsageRestrictionsLocked()2929 || (oldRule & RULE_REJECT_METERED) != 0) { in updateRulesForDataUsageRestrictionsLocked()2932 if ((oldRule & RULE_REJECT_METERED) != 0 && isWhitelisted) { in updateRulesForDataUsageRestrictionsLocked()2939 || (oldRule & RULE_ALLOW_METERED) != 0) { in updateRulesForDataUsageRestrictionsLocked()2988 final int oldRule = oldUidRules & MASK_ALL_NETWORKS; in updateRulesForPowerRestrictionsLocked() local3012 + ", oldRule=" + uidRulesToString(oldRule) in updateRulesForPowerRestrictionsLocked()3025 if (newRule != oldRule) { in updateRulesForPowerRestrictionsLocked()