Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java205 assertEquals(ZenPolicy.PEOPLE_TYPE_NONE, contactsAllowed.getPriorityMessageSenders()); in testZenPolicyApplyMoreSevereMessageSenders()
317 assertThat(p1OverwrittenWithP2.getPriorityMessageSenders()) in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()
331 assertThat(p2OverwrittenWithP1.getPriorityMessageSenders()) in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()
350 assertEquals(ZenPolicy.PEOPLE_TYPE_UNSET, policy.getPriorityMessageSenders()); in testZenPolicyMessagesInvalid()
431 assertEquals(ZenPolicy.PEOPLE_TYPE_ANYONE, policy.getPriorityMessageSenders()); in testAllowMessages()
439 assertEquals(ZenPolicy.PEOPLE_TYPE_CONTACTS, policy.getPriorityMessageSenders()); in testAllowMessages()
447 assertEquals(ZenPolicy.PEOPLE_TYPE_STARRED, policy.getPriorityMessageSenders()); in testAllowMessages()
455 assertEquals(ZenPolicy.PEOPLE_TYPE_NONE, policy.getPriorityMessageSenders()); in testAllowMessages()
887 assertEquals(policy.getPriorityMessageSenders(), proto.allowMessagesFrom); in assertProtoMatches()
DZenModeConfigTest.java310 assertEquals(expected.getPriorityMessageSenders(), actual.getPriorityMessageSenders()); in testZenConfigToZenPolicy_classic()
358 assertEquals(expected.getPriorityMessageSenders(), actual.getPriorityMessageSenders()); in testZenConfigToZenPolicy()
805 assertEquals(policy.getPriorityMessageSenders(), fromXml.getPriorityMessageSenders()); in testZenPolicyXml_classic()
855 assertEquals(policy.getPriorityMessageSenders(), fromXml.getPriorityMessageSenders()); in testZenPolicyXml()
DZenModeHelperTest.java2441 assertThat(rule2InConfig.zenPolicy.getPriorityMessageSenders()) in testAddAutomaticZenRule_modesApi_fillsInDefaultValues()
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java409 public @PeopleType int getPriorityMessageSenders() { in getPriorityMessageSenders() method in ZenPolicy
1515 proto.write(ZenPolicyProto.PRIORITY_MESSAGES, getPriorityMessageSenders()); in dumpDebug()
1548 proto.write(DNDPolicyProto.ALLOW_MESSAGES_FROM, getPriorityMessageSenders()); in toProto()
DZenModeConfig.java1379 writeZenPolicyState(ALLOW_ATT_MESSAGES_FROM, policy.getPriorityMessageSenders(), out); in writeZenPolicyXml()
1676 zenPolicy.getPriorityMessageSenders(), messageSenders); in toNotificationPolicy()
1840 manualRule.zenPolicy.getPriorityMessageSenders(), DEFAULT_SOURCE); in toNotificationPolicy()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1320 if (oldPolicy.getPriorityMessageSenders() != newPolicy.getPriorityMessageSenders()) { in updatePolicy()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt41330 method public int getPriorityMessageSenders();