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.java223 final ZenRule oldRule = mConfig != null ? mConfig.manualRule : null; in updateZenModeConfig()
227 if (Objects.equals(oldRule, newRule)) return; in updateZenModeConfig()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2862 final int oldRule = oldUidRules & MASK_METERED_NETWORKS; in updateRulesForDataUsageRestrictionsLocked() local
2886 + ", 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() local
3012 + ", oldRule=" + uidRulesToString(oldRule) in updateRulesForPowerRestrictionsLocked()
3025 if (newRule != oldRule) { in updateRulesForPowerRestrictionsLocked()