Home
last modified time | relevance | path

Searched refs:allowAlarms (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java85 .allowAlarms(true) in testZenPolicyToNotificationPolicy()
112 .allowAlarms(true) in testZenConfigToZenPolicy()
121 config.allowAlarms = true; in testZenConfigToZenPolicy()
154 config.allowAlarms = true; in testPriorityOnlyMutingAll()
157 config.allowAlarms = false; in testPriorityOnlyMutingAll()
315 config.allowAlarms = true; in getMutedRingerConfig()
335 config.allowAlarms = true; in getCustomConfig()
356 config.allowAlarms = false; in getMutedAllConfig()
DZenModeHelperTest.java620 mZenModeHelperSpy.mConfig.allowAlarms = true; in testRingerAffectedStreamsPriorityOnly()
823 mZenModeHelperSpy.mConfig.allowAlarms = false; in testParcelConfig()
847 mZenModeHelperSpy.mConfig.allowAlarms = false; in testWriteXml()
1017 config10.allowAlarms = true; in testWriteXml_onlyBackupsTargetUser()
1022 config11.allowAlarms = false; in testWriteXml_onlyBackupsTargetUser()
1102 .allowAlarms(false) in testWriteXmlWithZenPolicy()
1460 .allowAlarms(false) in testReadXmlDefaultRulesExist()
1776 mZenModeHelperSpy.mConfig.allowAlarms = false; in setupZenConfig()
1790 assertFalse(mZenModeHelperSpy.mConfig.allowAlarms); in setupZenConfigMaintained()
DZenPolicyTest.java369 builder.allowAlarms(true); in testAllowAlarms()
376 builder.allowAlarms(false); in testAllowAlarms()
DNotificationManagerServiceTest.java6497 ZenPolicy zenPolicy = new ZenPolicy.Builder().allowAlarms(true).build(); in testAutomaticZenRuleValidation_policyFilterAgreement()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java176 public boolean allowAlarms = DEFAULT_ALLOW_ALARMS; field in ZenModeConfig
220 allowAlarms = source.readInt() == 1; in ZenModeConfig()
254 dest.writeInt(allowAlarms ? 1 : 0); in writeToParcel()
267 .append(",allowAlarms=").append(allowAlarms) in toString()
313 if (allowAlarms != to.allowAlarms) { in diff()
314 d.addLine("allowAlarms", allowAlarms, to.allowAlarms); in diff()
442 return other.allowAlarms == allowAlarms in equals()
463 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode()
564 rt.allowAlarms = safeBoolean(parser, ALLOW_ATT_ALARMS, DEFAULT_ALLOW_ALARMS); in readXml()
630 out.attributeBoolean(null, ALLOW_ATT_ALARMS, allowAlarms); in writeXml()
[all …]
DZenPolicy.java630 public @NonNull Builder allowAlarms(boolean allow) { in allowAlarms() method in ZenPolicy.Builder
664 allowAlarms(allow); in allowCategory()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java706 config.allowAlarms, config.allowMedia, config.allowSystem, in dump()
1001 .allowAlarms(true) in applyCustomPolicy()
1054 final boolean allowAlarms = mConsolidatedPolicy.allowAlarms(); in applyRestrictions()
1064 final boolean muteAlarms = zenPriorityOnly && !allowAlarms; in applyRestrictions()
DZenModeFiltering.java154 if (!policy.allowAlarms()) { in shouldIntercept()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java466 boolean allowAlarms = (mNotificationManager.getNotificationPolicy().priorityCategories in computeAlarmWarningText()
470 if (allowAlarms) { in computeAlarmWarningText()
/frameworks/base/core/java/android/app/
DNotificationManager.java2368 public boolean allowAlarms() { in allowAlarms() method in NotificationManager.Policy
/frameworks/base/core/api/
Dcurrent.txt38755 method @NonNull public android.service.notification.ZenPolicy.Builder allowAlarms(boolean);