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.java4300 final int oldRule = oldUidRules & MASK_METERED_NETWORKS; in updateRulesForDataUsageRestrictionsULInner() local
4327 + ", oldRule=" + uidRulesToString(oldRule) in updateRulesForDataUsageRestrictionsULInner()
4340 if (newRule != oldRule) { in updateRulesForDataUsageRestrictionsULInner()
4352 } else if (hasRule(oldRule, RULE_TEMPORARY_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner()
4366 || hasRule(oldRule, RULE_REJECT_METERED)) { in updateRulesForDataUsageRestrictionsULInner()
4369 if (hasRule(oldRule, RULE_REJECT_METERED) && isWhitelisted) { in updateRulesForDataUsageRestrictionsULInner()
4376 || hasRule(oldRule, RULE_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner()
4462 final int oldRule = oldUidRules & MASK_ALL_NETWORKS; in updateRulesForPowerRestrictionsULInner() local
4486 + ", oldRule=" + uidRulesToString(oldRule) in updateRulesForPowerRestrictionsULInner()
4493 if (newRule != oldRule) { in updateRulesForPowerRestrictionsULInner()