Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java82 .allowAlarms(true) in testZenPolicyToNotificationPolicy()
122 config.allowAlarms = true; in testPriorityOnlyMutingAll()
125 config.allowAlarms = false; in testPriorityOnlyMutingAll()
206 config.allowAlarms = true; in getMutedNotificationsConfig()
226 config.allowAlarms = true; in getCustomConfig()
245 config.allowAlarms = false; in getMutedAllConfig()
DZenModeHelperTest.java491 mZenModeHelperSpy.mConfig.allowAlarms = true; in testRingerAffectedStreamsPriorityOnly()
690 mZenModeHelperSpy.mConfig.allowAlarms = false; in testParcelConfig()
712 mZenModeHelperSpy.mConfig.allowAlarms = false; in testWriteXml()
744 config10.allowAlarms = true; in testWriteXml_onlyBackupsTargetUser()
749 config11.allowAlarms = false; in testWriteXml_onlyBackupsTargetUser()
829 .allowAlarms(false) in testWriteXmlWithZenPolicy()
1187 .allowAlarms(false) in testReadXmlDefaultRulesExist()
1351 mZenModeHelperSpy.mConfig.allowAlarms = false; in setupZenConfig()
1365 assertFalse(mZenModeHelperSpy.mConfig.allowAlarms); in setupZenConfigMaintained()
DZenPolicyTest.java346 builder.allowAlarms(true); in testAllowAlarms()
352 builder.allowAlarms(false); in testAllowAlarms()
DNotificationManagerServiceTest.java4981 ZenPolicy zenPolicy = new ZenPolicy.Builder().allowAlarms(true).build(); in testAutomaticZenRuleValidation_policyFilterAgreement()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java163 public boolean allowAlarms = DEFAULT_ALLOW_ALARMS; field in ZenModeConfig
205 allowAlarms = source.readInt() == 1; in ZenModeConfig()
237 dest.writeInt(allowAlarms ? 1 : 0); in writeToParcel()
248 .append(",allowAlarms=").append(allowAlarms) in toString()
291 if (allowAlarms != to.allowAlarms) { in diff()
292 d.addLine("allowAlarms", allowAlarms, to.allowAlarms); in diff()
420 return other.allowAlarms == allowAlarms in equals()
439 return Objects.hash(allowAlarms, allowMedia, allowSystem, allowCalls, in hashCode()
536 rt.allowAlarms = safeBoolean(parser, ALLOW_ATT_ALARMS, DEFAULT_ALLOW_ALARMS); in readXml()
602 out.attribute(null, ALLOW_ATT_ALARMS, Boolean.toString(allowAlarms)); in writeXml()
[all …]
DZenPolicy.java546 public @NonNull Builder allowAlarms(boolean allow) { in allowAlarms() method in ZenPolicy.Builder
580 allowAlarms(allow); in allowCategory()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java657 config.allowAlarms, config.allowMedia, config.allowSystem, in dump()
952 .allowAlarms(true) in applyCustomPolicy()
1003 final boolean allowAlarms = mConsolidatedPolicy.allowAlarms(); in applyRestrictions()
1013 final boolean muteAlarms = zenPriorityOnly && !allowAlarms; in applyRestrictions()
DZenModeFiltering.java153 if (!policy.allowAlarms()) { in shouldIntercept()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java464 boolean allowAlarms = (mNotificationManager.getNotificationPolicy().priorityCategories in computeAlarmWarningText()
468 if (allowAlarms) { in computeAlarmWarningText()
/frameworks/base/core/java/android/app/
DNotificationManager.java1897 public boolean allowAlarms() { in allowAlarms() method in NotificationManager.Policy
/frameworks/base/config/
Dboot-image-profile.txt1954 HSPLandroid/app/NotificationManager$Policy;->allowAlarms()Z
/frameworks/base/non-updatable-api/
Dcurrent.txt42076 method @NonNull public android.service.notification.ZenPolicy.Builder allowAlarms(boolean);
/frameworks/base/api/
Dcurrent.txt42220 method @NonNull public android.service.notification.ZenPolicy.Builder allowAlarms(boolean);