Home
last modified time | relevance | path

Searched refs:snoozing (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DZenModeConditions.java176 if (rule != null && rule.snoozing && !rule.isTrueOrUnknown()) { in updateSnoozing()
177 rule.snoozing = false; in updateSnoozing()
DZenModeHelper.java444 if (rule != null && rule.snoozing && !rule.isTrueOrUnknown()) { in updateSnoozing()
445 rule.snoozing = false; in updateSnoozing()
560 rule.snoozing = false; in populateZenRule()
599 automaticRule.snoozing = true; in setManualZenMode()
622 && !rule.snoozing) { in dump()
693 automaticRule.snoozing = false; in readXml()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java170 rule.snoozing = true; in testRuleXml()
189 assertFalse(fromXml.snoozing); in testRuleXml()
DZenModeHelperTest.java702 mZenModeHelperSpy.mConfig.manualRule.snoozing = true; in testParcelConfig()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java1638 public boolean snoozing; // user manually disabled this instance field in ZenModeConfig.ZenRule
1661 snoozing = source.readInt() == 1; in ZenRule()
1690 dest.writeInt(snoozing ? 1 : 0); in writeToParcel()
1725 .append(",snoozing=").append(snoozing) in toString()
1750 proto.write(ZenRuleProto.IS_SNOOZING, snoozing); in writeToProto()
1787 if (snoozing != to.snoozing) { in appendDiff()
1788 d.addLine(item, "snoozing", snoozing, to.snoozing); in appendDiff()
1834 && other.snoozing == snoozing in equals()
1850 return Objects.hash(enabled, snoozing, name, zenMode, conditionId, condition, in hashCode()
1855 return enabled && !snoozing && pkg != null && isTrueOrUnknown(); in isAutomaticActive()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto3757 // updated. TYPE_DISMISS: snoozing canceled due to data being cleared on package