Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java153 public boolean allowMessages = DEFAULT_ALLOW_MESSAGES; field in ZenModeConfig
171 allowMessages = source.readInt() == 1; in ZenModeConfig()
199 dest.writeInt(allowMessages ? 1 : 0); in writeToParcel()
238 .append(",allowMessages=").append(allowMessages) in toString()
277 if (allowMessages != to.allowMessages) { in diff()
278 d.addLine("allowMessages", allowMessages, to.allowMessages); in diff()
390 && other.allowMessages == allowMessages in equals()
405 allowRepeatCallers, allowMessages, in hashCode()
473 rt.allowMessages = safeBoolean(parser, ALLOW_ATT_MESSAGES, in readXml()
553 out.attribute(null, ALLOW_ATT_MESSAGES, Boolean.toString(allowMessages)); in writeXml()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java238 mZenModeHelperSpy.mConfig.allowMessages = false; in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied()
245 assertFalse(mZenModeHelperSpy.mConfig.allowMessages); in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied()
264 mZenModeHelperSpy.mConfig.allowMessages = false; in testZenAllCannotBypass()
271 assertFalse(mZenModeHelperSpy.mConfig.allowMessages); in testZenAllCannotBypass()
331 mZenModeHelperSpy.mConfig.allowMessages = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
388 mZenModeHelperSpy.mConfig.allowMessages = false; in testRingerAffectedStreamsPriorityOnly()
572 mZenModeHelperSpy.mConfig.allowMessages = true; in testParcelConfig()
594 mZenModeHelperSpy.mConfig.allowMessages = true; in testWriteXml()
823 mZenModeHelperSpy.mConfig.allowMessages = true; in setupZenConfig()
842 assertTrue(mZenModeHelperSpy.mConfig.allowMessages); in setupZenConfigMaintained()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java169 if (!config.allowMessages) { in shouldIntercept()
DZenModeHelper.java588 config.allowRepeatCallers, config.allowMessages, in dump()