Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java153 mZenModeHelperSpy.mConfig.allowSystem = false; in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied()
156 assertFalse(mZenModeHelperSpy.mConfig.allowSystem); in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied()
192 mZenModeHelperSpy.mConfig.allowSystem = false; in testAlarmsOnly_alarmMediaMuteNotApplied()
235 mZenModeHelperSpy.mConfig.allowSystem = false; in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied()
261 mZenModeHelperSpy.mConfig.allowSystem = false; in testZenAllCannotBypass()
569 mZenModeHelperSpy.mConfig.allowSystem = false; in testParcelConfig()
591 mZenModeHelperSpy.mConfig.allowSystem = false; in testWriteXml()
820 mZenModeHelperSpy.mConfig.allowSystem = false; in setupZenConfig()
839 assertFalse(mZenModeHelperSpy.mConfig.allowSystem); in setupZenConfigMaintained()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java150 public boolean allowSystem = DEFAULT_ALLOW_SYSTEM; field in ZenModeConfig
190 allowSystem = source.readInt() == 1; in ZenModeConfig()
222 dest.writeInt(allowSystem ? 1 : 0); in writeToParcel()
233 .append(",allowSystem=").append(allowSystem) in toString()
262 if (allowSystem != to.allowSystem) { in diff()
263 d.addLine("allowSystem", allowSystem, to.allowSystem); in diff()
387 && other.allowSystem == allowSystem in equals()
404 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode()
495 rt.allowSystem = safeBoolean(parser, ALLOW_ATT_SYSTEM, DEFAULT_ALLOW_SYSTEM); in readXml()
560 out.attribute(null, ALLOW_ATT_SYSTEM, Boolean.toString(allowSystem)); in writeXml()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java197 if (!config.allowSystem) { in shouldIntercept()
DZenModeHelper.java586 config.allowAlarms, config.allowMedia, config.allowSystem, in dump()
862 final boolean muteSystem = zenAlarmsOnly || (zenPriorityOnly && !mConfig.allowSystem); in applyRestrictions()