Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java160 ZenPolicy contactsAllowed = builder.build(); in testZenPolicyApplyMoreSevereCallSenders() local
167 contactsAllowed.apply(starredAllowed); in testZenPolicyApplyMoreSevereCallSenders()
168 assertEquals(ZenPolicy.STATE_ALLOW, contactsAllowed.getPriorityCategoryCalls()); in testZenPolicyApplyMoreSevereCallSenders()
169 assertEquals(ZenPolicy.PEOPLE_TYPE_STARRED, contactsAllowed.getPriorityCallSenders()); in testZenPolicyApplyMoreSevereCallSenders()
178 ZenPolicy contactsAllowed = builder.build(); in testZenPolicyApplyLessSevereCallSenders() local
185 contactsAllowed.apply(anyoneAllowed); in testZenPolicyApplyLessSevereCallSenders()
186 assertEquals(ZenPolicy.STATE_ALLOW, contactsAllowed.getPriorityCategoryCalls()); in testZenPolicyApplyLessSevereCallSenders()
187 assertEquals(ZenPolicy.PEOPLE_TYPE_CONTACTS, contactsAllowed.getPriorityCallSenders()); in testZenPolicyApplyLessSevereCallSenders()
196 ZenPolicy contactsAllowed = builder.build(); in testZenPolicyApplyMoreSevereMessageSenders() local
203 contactsAllowed.apply(noneAllowed); in testZenPolicyApplyMoreSevereMessageSenders()
[all …]