Home
last modified time | relevance | path

Searched refs:automaticRule (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DZenModeConditions.java71 for (ZenRule automaticRule : config.automaticRules.values()) { in evaluateConfig()
72 evaluateRule(automaticRule, current, processSubscriptions); in evaluateConfig()
73 updateSnoozing(automaticRule); in evaluateConfig()
114 for (ZenRule automaticRule : config.automaticRules.values()) { in onConditionChanged()
115 updated |= updateCondition(id, condition, automaticRule); in onConditionChanged()
116 updated |= updateSnoozing(automaticRule); in onConditionChanged()
DZenModeHelper.java527 for (ZenRule automaticRule : newConfig.automaticRules.values()) { in setManualZenMode()
528 if (automaticRule.isAutomaticActive()) { in setManualZenMode()
529 automaticRule.snoozing = true; in setManualZenMode()
618 for (ZenRule automaticRule : config.automaticRules.values()) { in readXml()
621 automaticRule.snoozing = false; in readXml()
622 automaticRule.condition = null; in readXml()
623 automaticRule.creationTime = time; in readXml()
625 resetToDefaultRules &= !automaticRule.enabled; in readXml()
819 for (ZenRule automaticRule : mConfig.automaticRules.values()) { in computeZenMode()
820 if (automaticRule.isAutomaticActive()) { in computeZenMode()
[all …]
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java525 final ZenRule automaticRule = readRuleXml(parser); in readXml() local
526 if (id != null && automaticRule != null) { in readXml()
527 automaticRule.id = id; in readXml()
528 rt.automaticRules.put(id, automaticRule); in readXml()
575 final ZenRule automaticRule = automaticRules.valueAt(i); in writeXml() local
578 writeRuleXml(automaticRule, out); in writeXml()
1240 for (ZenRule automaticRule : config.automaticRules.values()) { in getConditionLine()
1241 if (automaticRule.isAutomaticActive()) { in getConditionLine()
1243 summary = automaticRule.name; in getConditionLine()
1247 automaticRule.name); in getConditionLine()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java393 for (ZenRule automaticRule : config.automaticRules.values()) { in updatePanel()
394 if (automaticRule.isAutomaticActive()) { in updatePanel()
397 automaticRule.name); in updatePanel()