Searched refs:manualRule (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeConditions.java | 69 if (config.manualRule != null && config.manualRule.condition != null in evaluateConfig() 70 && !config.manualRule.isTrueOrUnknown()) { in evaluateConfig() 72 config.manualRule = null; in evaluateConfig() 75 evaluateRule(config.manualRule, current, null, processSubscriptions); in evaluateConfig()
|
D | ZenModeHelper.java | 424 if (ruleMatches(id, condition, config.manualRule)) { in findMatchingRule() 425 return config.manualRule; in findMatchingRule() 596 newConfig.manualRule = null; in setManualZenMode() 608 newConfig.manualRule = newRule; in setManualZenMode() 617 if (mConfig.manualRule != null) { in dump() 618 mConfig.manualRule.writeToProto(proto, ZenModeProto.ENABLED_ACTIVE_CONDITIONS); in dump() 663 pw.print(prefix); pw.print(" manualRule="); pw.println(config.manualRule); in dump() 680 config.manualRule = null; // don't restore the manual rule in readXml() 925 if (mConfig.manualRule != null) return mConfig.manualRule.zenMode; in computeZenMode() 964 if (mConfig.manualRule != null) { in updateConsolidatedPolicy() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 178 public ZenRule manualRule; field in ZenModeConfig 194 manualRule = source.readParcelable(null); in ZenModeConfig() 222 dest.writeParcelable(manualRule, 0); in writeToParcel() 261 .append(",\nmanualRule=").append(manualRule) in toString() 335 ZenRule.appendDiff(d, "manualRule", manualRule, to.manualRule); in diff() 364 if (!isValidManualRule(manualRule)) return false; in isValid() 432 && Objects.equals(other.manualRule, manualRule) in equals() 442 user, automaticRules, manualRule, in hashCode() 566 rt.manualRule = readRuleXml(parser); in readXml() 611 if (manualRule != null) { in writeXml() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 699 mZenModeHelperSpy.mConfig.manualRule = new ZenModeConfig.ZenRule(); in testParcelConfig() 700 mZenModeHelperSpy.mConfig.manualRule.component = new ComponentName("a", "a"); in testParcelConfig() 701 mZenModeHelperSpy.mConfig.manualRule.enabled = true; in testParcelConfig() 702 mZenModeHelperSpy.mConfig.manualRule.snoozing = true; in testParcelConfig() 721 mZenModeHelperSpy.mConfig.manualRule = new ZenModeConfig.ZenRule(); in testWriteXml() 722 mZenModeHelperSpy.mConfig.manualRule.zenMode = in testWriteXml() 724 mZenModeHelperSpy.mConfig.manualRule.component = new ComponentName("a", "a"); in testWriteXml() 725 mZenModeHelperSpy.mConfig.manualRule.pkg = "a"; in testWriteXml() 726 mZenModeHelperSpy.mConfig.manualRule.enabled = true; in testWriteXml() 1221 mZenModeHelperSpy.mConfig.manualRule = new ZenModeConfig.ZenRule(); in testCountdownConditionSubscription() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ZenModeControllerImpl.java | 157 return mConfig == null ? null : mConfig.manualRule; in getManualRule() 267 final ZenRule oldRule = mConfig != null ? mConfig.manualRule : null; in updateZenModeConfig() 272 final ZenRule newRule = config != null ? config.manualRule : null; in updateZenModeConfig()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DndTile.java | 397 if (config.manualRule != null && config.manualRule.enabler != null) { in updatePanel() 398 summary = getOwnerCaption(config.manualRule.enabler); in updatePanel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | ZenModePanel.java | 292 ZenRule manualRule = mController.getManualRule(); in onAttach() local 293 mExitCondition = manualRule != null ? manualRule.condition : null; in onAttach() 294 if (DEBUG) Log.d(mTag, "onAttach " + mAttachedZen + " " + manualRule); in onAttach() 295 handleUpdateManualRule(manualRule); in onAttach()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 63895 Landroid/service/notification/ZenModeConfig;->manualRule:Landroid/service/notification/ZenModeConfi…
|