Searched refs:getPriorityMessageSenders (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenPolicyTest.java | 186 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/ |
D | ZenPolicy.java | 222 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()
|
D | ZenModeConfig.java | 849 writeZenPolicyState(ALLOW_ATT_MESSAGES_FROM, policy.getPriorityMessageSenders(), out); in writeZenPolicyXml() 1029 messageSenders = getNotificationPolicySenders(zenPolicy.getPriorityMessageSenders(), in toNotificationPolicy()
|
/frameworks/base/api/ |
D | current.txt | 43932 method public int getPriorityMessageSenders();
|