Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenAdaptersTest.java19 import static android.service.notification.ZenAdapters.notificationPolicyToZenPolicy;
50 ZenPolicy zenPolicy = notificationPolicyToZenPolicy(policy); in notificationPolicyToZenPolicy_allCallers()
61 ZenPolicy zenPolicy = notificationPolicyToZenPolicy(policy); in notificationPolicyToZenPolicy_starredCallers()
71 ZenPolicy zenPolicy = notificationPolicyToZenPolicy(policy); in notificationPolicyToZenPolicy_repeatCallers()
82 ZenPolicy zenPolicy = notificationPolicyToZenPolicy(policy); in notificationPolicyToZenPolicy_noCallers()
92 ZenPolicy zenPolicy = notificationPolicyToZenPolicy(policy); in notificationPolicyToZenPolicy_conversationsAllowedSendersUnset()
101 ZenPolicy zenPolicy = notificationPolicyToZenPolicy(policy); in notificationPolicyToZenPolicy_conversationsNotAllowedSendersUnset()
112 ZenPolicy zenPolicy = notificationPolicyToZenPolicy(policy); in notificationPolicyToZenPolicy_setEffects()
128 ZenPolicy zenPolicy = notificationPolicyToZenPolicy(policy); in notificationPolicyToZenPolicy_unsetEffects()
145 ZenPolicy zenPolicy = notificationPolicyToZenPolicy(policy); in notificationPolicyToZenPolicy_modesApi_priorityChannels()
[all …]
DZenModeHelperTest.java3860 assertThat(ZenAdapters.notificationPolicyToZenPolicy(mZenModeHelper.mConsolidatedPolicy)) in testUpdateConsolidatedPolicy_modesApiDefaultRulesOnly_takesDefault()
6103 ZenPolicy previousManualZenPolicy = ZenAdapters.notificationPolicyToZenPolicy( in setNotificationPolicy_updatesRulePolicies_ifRulePolicyIsDefaultOrGlobalPolicy()
6124 ZenPolicy newManualZenPolicy = ZenAdapters.notificationPolicyToZenPolicy(newManualPolicy); in setNotificationPolicy_updatesRulePolicies_ifRulePolicyIsDefaultOrGlobalPolicy()
/frameworks/base/core/java/android/service/notification/
DZenAdapters.java31 public static ZenPolicy notificationPolicyToZenPolicy(@NonNull Policy policy) { in notificationPolicyToZenPolicy() method in ZenAdapters
DZenModeConfig.java1993 manualRule.zenPolicy = ZenAdapters.notificationPolicyToZenPolicy(policy); in applyNotificationPolicy()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java688 ZenPolicy newZenPolicy = ZenAdapters.notificationPolicyToZenPolicy(policy); in applyGlobalPolicyAsImplicitZenRule()
1770 ZenPolicy previousPolicy = ZenAdapters.notificationPolicyToZenPolicy( in setNotificationPolicy()
1772 ZenPolicy newPolicy = ZenAdapters.notificationPolicyToZenPolicy(policy); in setNotificationPolicy()