Searched refs:allowMedia (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 140 assertTrue(mZenModeHelperSpy.mConfig.allowMedia); in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied() 152 mZenModeHelperSpy.mConfig.allowMedia = false; in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied() 155 assertFalse(mZenModeHelperSpy.mConfig.allowMedia); in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied() 193 mZenModeHelperSpy.mConfig.allowMedia = false; in testAlarmsOnly_alarmMediaMuteNotApplied() 195 assertFalse(mZenModeHelperSpy.mConfig.allowMedia); in testAlarmsOnly_alarmMediaMuteNotApplied() 234 mZenModeHelperSpy.mConfig.allowMedia = false; in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied() 242 assertFalse(mZenModeHelperSpy.mConfig.allowMedia); in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied() 260 mZenModeHelperSpy.mConfig.allowMedia = false; in testZenAllCannotBypass() 268 assertFalse(mZenModeHelperSpy.mConfig.allowMedia); in testZenAllCannotBypass() 568 mZenModeHelperSpy.mConfig.allowMedia = false; in testParcelConfig() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 149 public boolean allowMedia = DEFAULT_ALLOW_MEDIA; field in ZenModeConfig 189 allowMedia = source.readInt() == 1; in ZenModeConfig() 221 dest.writeInt(allowMedia ? 1 : 0); in writeToParcel() 232 .append(",allowMedia=").append(allowMedia) in toString() 259 if (allowMedia != to.allowMedia) { in diff() 260 d.addLine("allowMedia", allowMedia, to.allowMedia); in diff() 386 && other.allowMedia == allowMedia in equals() 404 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode() 493 rt.allowMedia = safeBoolean(parser, ALLOW_ATT_MEDIA, in readXml() 559 out.attribute(null, ALLOW_ATT_MEDIA, Boolean.toString(allowMedia)); in writeXml() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 190 if (!config.allowMedia) { in shouldIntercept()
|
D | ZenModeHelper.java | 586 config.allowAlarms, config.allowMedia, config.allowSystem, in dump() 860 final boolean muteMedia = zenPriorityOnly && !mConfig.allowMedia; in applyRestrictions()
|