Home
last modified time | relevance | path

Searched refs:getPriorityCategoryMessages (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java181 assertEquals(ZenPolicy.STATE_DISALLOW, contactsAllowed.getPriorityCategoryMessages()); in testZenPolicyApplyMoreSevereMessageSenders()
191 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryMessages()); in testZenPolicyMessagesInvalid()
256 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryMessages()); in testAllowMessages()
263 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryMessages()); in testAllowMessages()
270 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryMessages()); in testAllowMessages()
277 assertEquals(ZenPolicy.STATE_DISALLOW, policy.getPriorityCategoryMessages()); in testAllowMessages()
403 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryMessages()); in assertAllPriorityCategoriesUnsetExcept()
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java217 public @State int getPriorityCategoryMessages() { in getPriorityCategoryMessages() method in ZenPolicy
871 return getPriorityCategoryMessages(); in getZenPolicyPriorityCategoryState()
981 proto.write(ZenPolicyProto.MESSAGES, getPriorityCategoryMessages()); in writeToProto()