Searched refs:allowMessages (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 176 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()
|
D | ZenModeConfigTest.java | 322 config.allowMessages = false; in getMutedRingerConfig() 340 config.allowMessages = false; in getCustomConfig() 361 config.allowMessages = false; in getMutedAllConfig()
|
D | ZenModeHelperTest.java | 581 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/ |
D | ZenModeConfig.java | 181 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 …]
|
D | ZenPolicy.java | 572 public @NonNull Builder allowMessages(@PeopleType int audienceType) { in allowMessages() method in ZenPolicy.Builder
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 216 if (!policy.allowMessages()) { in shouldIntercept()
|
D | ZenModeHelper.java | 708 config.allowRepeatCallers, config.allowMessages, in dump()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManagerTest.java | 295 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/ |
D | NotificationManager.java | 2398 public boolean allowMessages() { in allowMessages() method in NotificationManager.Policy
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManager.java | 1192 if (policy.allowMessages()) { in getNotificationPolicyState()
|
/frameworks/base/core/api/ |
D | current.txt | 38761 method @NonNull public android.service.notification.ZenPolicy.Builder allowMessages(int);
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 53227 Landroid/service/notification/ZenModeConfig;->allowMessages:Z
|