Home
last modified time | relevance | path

Searched refs:newRule (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeControllerImpl.java272 final ZenRule newRule = config != null ? config.manualRule : null; in updateZenModeConfig() local
273 if (!Objects.equals(oldRule, newRule)) { in updateZenModeConfig()
274 fireManualRuleChanged(newRule); in updateZenModeConfig()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4301 int newRule = RULE_NONE; in updateRulesForDataUsageRestrictionsULInner() local
4305 newRule = RULE_REJECT_METERED; in updateRulesForDataUsageRestrictionsULInner()
4308 newRule = RULE_TEMPORARY_ALLOW_METERED; in updateRulesForDataUsageRestrictionsULInner()
4310 newRule = RULE_ALLOW_METERED; in updateRulesForDataUsageRestrictionsULInner()
4314 newRule = RULE_REJECT_METERED; in updateRulesForDataUsageRestrictionsULInner()
4316 newRule = RULE_ALLOW_METERED; in updateRulesForDataUsageRestrictionsULInner()
4319 final int newUidRules = newRule | (oldUidRules & MASK_ALL_NETWORKS); in updateRulesForDataUsageRestrictionsULInner()
4328 + ", newRule=" + uidRulesToString(newRule) in updateRulesForDataUsageRestrictionsULInner()
4340 if (newRule != oldRule) { in updateRulesForDataUsageRestrictionsULInner()
4341 if (hasRule(newRule, RULE_TEMPORARY_ALLOW_METERED)) { in updateRulesForDataUsageRestrictionsULInner()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java625 final ZenRule newRule = new ZenRule(); in setManualZenMode() local
626 newRule.enabled = true; in setManualZenMode()
627 newRule.zenMode = zenMode; in setManualZenMode()
628 newRule.conditionId = conditionId; in setManualZenMode()
629 newRule.enabler = caller; in setManualZenMode()
630 newConfig.manualRule = newRule; in setManualZenMode()