Searched refs:notificationPolicyToZenPolicy (Results 1 – 5 of 5) sorted by relevance
19 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 …]
3860 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()
31 public static ZenPolicy notificationPolicyToZenPolicy(@NonNull Policy policy) { in notificationPolicyToZenPolicy() method in ZenAdapters
1993 manualRule.zenPolicy = ZenAdapters.notificationPolicyToZenPolicy(policy); in applyNotificationPolicy()
688 ZenPolicy newZenPolicy = ZenAdapters.notificationPolicyToZenPolicy(policy); in applyGlobalPolicyAsImplicitZenRule()1770 ZenPolicy previousPolicy = ZenAdapters.notificationPolicyToZenPolicy( in setNotificationPolicy()1772 ZenPolicy newPolicy = ZenAdapters.notificationPolicyToZenPolicy(policy); in setNotificationPolicy()