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.java176 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testZenPolicyApplyMoreSevereMessageSenders()
180 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_NONE); in testZenPolicyApplyMoreSevereMessageSenders()
193 builder.allowMessages(20); // invalid #, won't change policy in testZenPolicyMessagesInvalid()
264 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE); in testAllowMessages()
272 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testAllowMessages()
280 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_STARRED); in testAllowMessages()
288 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_NONE); in testAllowMessages()
296 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_UNSET); in testAllowMessages()
DZenModeConfigTest.java322 config.allowMessages = false; in getMutedRingerConfig()
340 config.allowMessages = false; in getCustomConfig()
361 config.allowMessages = false; in getMutedAllConfig()
DZenModeHelperTest.java581 mZenModeHelperSpy.mConfig.allowMessages = false; in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted()
641 mZenModeHelperSpy.mConfig.allowMessages = false; in testRingerAffectedStreamsPriorityOnly()
828 mZenModeHelperSpy.mConfig.allowMessages = true; in testParcelConfig()
852 mZenModeHelperSpy.mConfig.allowMessages = true; in testWriteXml()
1106 .allowMessages(ZenPolicy.PEOPLE_TYPE_CONTACTS) in testWriteXmlWithZenPolicy()
1382 .allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlOnlyOneDefaultRuleExists()
1433 .allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlDefaultRulesExist()
1447 .allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlDefaultRulesExist()
1781 mZenModeHelperSpy.mConfig.allowMessages = true; in setupZenConfig()
1795 assertTrue(mZenModeHelperSpy.mConfig.allowMessages); in setupZenConfigMaintained()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java181 public boolean allowMessages = DEFAULT_ALLOW_MESSAGES; field in ZenModeConfig
203 allowMessages = source.readInt() == 1; in ZenModeConfig()
233 dest.writeInt(allowMessages ? 1 : 0); in writeToParcel()
274 .append(",allowMessages=").append(allowMessages) in toString()
334 if (allowMessages != to.allowMessages) { in diff()
335 d.addLine("allowMessages", allowMessages, to.allowMessages); in diff()
447 && other.allowMessages == allowMessages in equals()
464 allowRepeatCallers, allowMessages, in hashCode()
542 rt.allowMessages = safeBoolean(parser, ALLOW_ATT_MESSAGES, in readXml()
625 out.attributeBoolean(null, ALLOW_ATT_MESSAGES, allowMessages); in writeXml()
[all …]
DZenPolicy.java572 public @NonNull Builder allowMessages(@PeopleType int audienceType) { in allowMessages() method in ZenPolicy.Builder
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java216 if (!policy.allowMessages()) { in shouldIntercept()
DZenModeHelper.java708 config.allowRepeatCallers, config.allowMessages, in dump()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java295 when(mNotificationPolicy.allowMessages()).thenReturn(false); in setUp()
1383 when(mNotificationPolicy.allowMessages()).thenReturn(true); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowContactMessages()
1398 when(mNotificationPolicy.allowMessages()).thenReturn(true); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowStarredContactMessages()
/frameworks/base/core/java/android/app/
DNotificationManager.java2398 public boolean allowMessages() { in allowMessages() method in NotificationManager.Policy
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java1192 if (policy.allowMessages()) { in getNotificationPolicyState()
/frameworks/base/core/api/
Dcurrent.txt38761 method @NonNull public android.service.notification.ZenPolicy.Builder allowMessages(int);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt53227 Landroid/service/notification/ZenModeConfig;->allowMessages:Z