Home
last modified time | relevance | path

Searched refs:getPriorityMessageSenders (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java186 assertEquals(ZenPolicy.PEOPLE_TYPE_NONE, contactsAllowed.getPriorityMessageSenders()); in testZenPolicyApplyMoreSevereMessageSenders()
196 assertEquals(ZenPolicy.PEOPLE_TYPE_UNSET, policy.getPriorityMessageSenders()); in testZenPolicyMessagesInvalid()
268 assertEquals(ZenPolicy.PEOPLE_TYPE_ANYONE, policy.getPriorityMessageSenders()); in testAllowMessages()
276 assertEquals(ZenPolicy.PEOPLE_TYPE_CONTACTS, policy.getPriorityMessageSenders()); in testAllowMessages()
284 assertEquals(ZenPolicy.PEOPLE_TYPE_STARRED, policy.getPriorityMessageSenders()); in testAllowMessages()
292 assertEquals(ZenPolicy.PEOPLE_TYPE_NONE, policy.getPriorityMessageSenders()); in testAllowMessages()
614 assertEquals(policy.getPriorityMessageSenders(), proto.allowMessagesFrom); in assertProtoMatches()
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java222 public @PeopleType int getPriorityMessageSenders() { in getPriorityMessageSenders() method in ZenPolicy
1109 proto.write(ZenPolicyProto.PRIORITY_MESSAGES, getPriorityMessageSenders()); in dumpDebug()
1141 proto.write(DNDPolicyProto.ALLOW_MESSAGES_FROM, getPriorityMessageSenders()); in toProto()
DZenModeConfig.java849 writeZenPolicyState(ALLOW_ATT_MESSAGES_FROM, policy.getPriorityMessageSenders(), out); in writeZenPolicyXml()
1029 messageSenders = getNotificationPolicySenders(zenPolicy.getPriorityMessageSenders(), in toNotificationPolicy()
/frameworks/base/api/
Dcurrent.txt43932 method public int getPriorityMessageSenders();