Searched refs:allowAlarms (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeConfigTest.java | 82 .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()
|
D | ZenModeHelperTest.java | 491 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()
|
D | ZenPolicyTest.java | 346 builder.allowAlarms(true); in testAllowAlarms() 352 builder.allowAlarms(false); in testAllowAlarms()
|
D | NotificationManagerServiceTest.java | 4912 ZenPolicy zenPolicy = new ZenPolicy.Builder().allowAlarms(true).build(); in testAutomaticZenRuleValidation_policyFilterAgreement()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 163 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 …]
|
D | ZenPolicy.java | 546 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/ |
D | ZenModeHelper.java | 657 config.allowAlarms, config.allowMedia, config.allowSystem, in dump() 953 .allowAlarms(true) in applyCustomPolicy() 1004 final boolean allowAlarms = mConsolidatedPolicy.allowAlarms(); in applyRestrictions() 1014 final boolean muteAlarms = zenPriorityOnly && !allowAlarms; in applyRestrictions()
|
D | ZenModeFiltering.java | 153 if (!policy.allowAlarms()) { in shouldIntercept()
|
/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/core/java/android/app/ |
D | NotificationManager.java | 1878 public boolean allowAlarms() { in allowAlarms() method in NotificationManager.Policy
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 1954 HSPLandroid/app/NotificationManager$Policy;->allowAlarms()Z
|
/frameworks/base/api/ |
D | current.txt | 41636 method @NonNull public android.service.notification.ZenPolicy.Builder allowAlarms(boolean);
|