Searched refs:allowAlarms (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 126 assertTrue(mZenModeHelperSpy.mConfig.allowAlarms); in testZenOff_NoMuteApplied() 139 assertTrue(mZenModeHelperSpy.mConfig.allowAlarms); in testZenOn_AllowAlarmsMedia_NoAlarmMediaMuteApplied() 151 mZenModeHelperSpy.mConfig.allowAlarms = false; in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied() 154 assertFalse(mZenModeHelperSpy.mConfig.allowAlarms); in testZenOn_DisallowAlarmsMedia_AlarmMediaMuteApplied() 191 mZenModeHelperSpy.mConfig.allowAlarms = false; in testAlarmsOnly_alarmMediaMuteNotApplied() 194 assertFalse(mZenModeHelperSpy.mConfig.allowAlarms); in testAlarmsOnly_alarmMediaMuteNotApplied() 233 mZenModeHelperSpy.mConfig.allowAlarms = false; in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied() 241 assertFalse(mZenModeHelperSpy.mConfig.allowAlarms); in testAlarmsOnly_allZenConfigToggledCannotBypass_alarmMuteNotApplied() 259 mZenModeHelperSpy.mConfig.allowAlarms = false; in testZenAllCannotBypass() 267 assertFalse(mZenModeHelperSpy.mConfig.allowAlarms); in testZenAllCannotBypass() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 148 public boolean allowAlarms = DEFAULT_ALLOW_ALARMS; field in ZenModeConfig 188 allowAlarms = source.readInt() == 1; in ZenModeConfig() 220 dest.writeInt(allowAlarms ? 1 : 0); in writeToParcel() 231 .append(",allowAlarms=").append(allowAlarms) in toString() 256 if (allowAlarms != to.allowAlarms) { in diff() 257 d.addLine("allowAlarms", allowAlarms, to.allowAlarms); in diff() 385 return other.allowAlarms == allowAlarms in equals() 404 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode() 492 rt.allowAlarms = safeBoolean(parser, ALLOW_ATT_ALARMS, DEFAULT_ALLOW_ALARMS); in readXml() 558 out.attribute(null, ALLOW_ATT_ALARMS, Boolean.toString(allowAlarms)); in writeXml() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | EnableZenModeDialog.java | 464 boolean allowAlarms = (mNotificationManager.getNotificationPolicy().priorityCategories in computeAlarmWarningText() 468 if (allowAlarms) { in computeAlarmWarningText()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 150 if (!config.allowAlarms) { in shouldIntercept()
|
D | ZenModeHelper.java | 586 config.allowAlarms, config.allowMedia, config.allowSystem, in dump() 858 final boolean muteAlarms = zenPriorityOnly && !mConfig.allowAlarms; in applyRestrictions()
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 5187 Landroid/service/notification/ZenModeConfig;->allowAlarms:Z
|