Home
last modified time | relevance | path

Searched refs:allowMessages (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java172 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testZenPolicyApplyMoreSevereMessageSenders()
176 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_NONE); in testZenPolicyApplyMoreSevereMessageSenders()
189 builder.allowMessages(20); // invalid #, won't change policy in testZenPolicyMessagesInvalid()
253 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE); in testAllowMessages()
260 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testAllowMessages()
267 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_STARRED); in testAllowMessages()
274 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_NONE); in testAllowMessages()
281 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_UNSET); in testAllowMessages()
DZenModeConfigTest.java213 config.allowMessages = false; in getMutedNotificationsConfig()
231 config.allowMessages = false; in getCustomConfig()
250 config.allowMessages = false; in getMutedAllConfig()
DZenModeHelperTest.java453 mZenModeHelperSpy.mConfig.allowMessages = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
510 mZenModeHelperSpy.mConfig.allowMessages = false; in testRingerAffectedStreamsPriorityOnly()
695 mZenModeHelperSpy.mConfig.allowMessages = true; in testParcelConfig()
717 mZenModeHelperSpy.mConfig.allowMessages = true; in testWriteXml()
833 .allowMessages(ZenPolicy.PEOPLE_TYPE_CONTACTS) in testWriteXmlWithZenPolicy()
1109 .allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlOnlyOneDefaultRuleExists()
1160 .allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlDefaultRulesExist()
1174 .allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlDefaultRulesExist()
1356 mZenModeHelperSpy.mConfig.allowMessages = true; in setupZenConfig()
1370 assertTrue(mZenModeHelperSpy.mConfig.allowMessages); in setupZenConfigMaintained()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java168 public boolean allowMessages = DEFAULT_ALLOW_MESSAGES; field in ZenModeConfig
188 allowMessages = source.readInt() == 1; in ZenModeConfig()
216 dest.writeInt(allowMessages ? 1 : 0); in writeToParcel()
255 .append(",allowMessages=").append(allowMessages) in toString()
312 if (allowMessages != to.allowMessages) { in diff()
313 d.addLine("allowMessages", allowMessages, to.allowMessages); in diff()
425 && other.allowMessages == allowMessages in equals()
440 allowRepeatCallers, allowMessages, in hashCode()
517 rt.allowMessages = safeBoolean(parser, ALLOW_ATT_MESSAGES, in readXml()
597 out.attribute(null, ALLOW_ATT_MESSAGES, Boolean.toString(allowMessages)); in writeXml()
[all …]
DZenPolicy.java487 public @NonNull Builder allowMessages(@PeopleType int audienceType) { in allowMessages() method in ZenPolicy.Builder
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java172 if (!policy.allowMessages()) { in shouldIntercept()
DZenModeHelper.java659 config.allowRepeatCallers, config.allowMessages, in dump()
/frameworks/base/core/java/android/app/
DNotificationManager.java1922 public boolean allowMessages() { in allowMessages() method in NotificationManager.Policy
/frameworks/base/config/
Dboot-image-profile.txt1957 HPLandroid/app/NotificationManager$Policy;->allowMessages()Z
Dhiddenapi-greylist-max-o.txt63816 Landroid/service/notification/ZenModeConfig;->allowMessages:Z
/frameworks/base/non-updatable-api/
Dcurrent.txt42081 method @NonNull public android.service.notification.ZenPolicy.Builder allowMessages(int);
/frameworks/base/api/
Dcurrent.txt42225 method @NonNull public android.service.notification.ZenPolicy.Builder allowMessages(int);