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.java76 for (ZenRule automaticRule : config.automaticRules.values()) { in evaluateConfig()
77 if (automaticRule.component != null) { in evaluateConfig()
78 evaluateRule(automaticRule, current, trigger, processSubscriptions); in evaluateConfig()
79 updateSnoozing(automaticRule); in evaluateConfig()
DZenModeHelper.java427 for (ZenRule automaticRule : config.automaticRules.values()) { in findMatchingRule()
428 if (ruleMatches(id, condition, automaticRule)) { in findMatchingRule()
429 return automaticRule; in findMatchingRule()
597 for (ZenRule automaticRule : newConfig.automaticRules.values()) { in setManualZenMode()
598 if (automaticRule.isAutomaticActive()) { in setManualZenMode()
599 automaticRule.snoozing = true; in setManualZenMode()
690 for (ZenRule automaticRule : config.automaticRules.values()) { in readXml()
693 automaticRule.snoozing = false; in readXml()
694 automaticRule.condition = null; in readXml()
695 automaticRule.creationTime = time; in readXml()
[all …]
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java569 final ZenRule automaticRule = readRuleXml(parser); in readXml() local
570 if (id != null && automaticRule != null) { in readXml()
571 automaticRule.id = id; in readXml()
572 rt.automaticRules.put(id, automaticRule); in readXml()
619 final ZenRule automaticRule = automaticRules.valueAt(i); in writeXml() local
622 writeRuleXml(automaticRule, out); in writeXml()
1619 for (ZenRule automaticRule : config.automaticRules.values()) { in getConditionLine()
1620 if (automaticRule.isAutomaticActive()) { in getConditionLine()
1622 summary = automaticRule.name; in getConditionLine()
1626 automaticRule.name); in getConditionLine()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java400 for (ZenRule automaticRule : config.automaticRules.values()) { in updatePanel()
401 if (automaticRule.isAutomaticActive()) { in updatePanel()
404 automaticRule.name); in updatePanel()