Searched refs:toNotificationPolicy (Results 1 – 7 of 7) sorted by relevance
175 assertEquals(config.toNotificationPolicy(), config.toNotificationPolicy(zenPolicy)); in testZenPolicyNothingSetToNotificationPolicy()195 Policy originalPolicy = config.toNotificationPolicy(); in testZenPolicyToNotificationPolicy_classic()210 assertEquals(expectedPolicy, config.toNotificationPolicy(zenPolicy)); in testZenPolicyToNotificationPolicy_classic()232 Policy originalPolicy = config.toNotificationPolicy(); in testZenPolicyToNotificationPolicy()248 assertEquals(expectedPolicy, config.toNotificationPolicy(zenPolicy)); in testZenPolicyToNotificationPolicy()261 Policy policy = config.toNotificationPolicy(zenPolicy); in testZenPolicyToNotificationPolicy_unsetChannelsTakesDefault()
239 NotificationManager.Policy c1Policy = c1.toNotificationPolicy(); in testConfigDiff_specialSenders()245 NotificationManager.Policy c2Policy = c1.toNotificationPolicy(); in testConfigDiff_specialSenders()
549 Policy policy = config.toNotificationPolicy(new ZenPolicy.Builder() in testAllowChannels_priorityPackage()555 policy = config.toNotificationPolicy(new ZenPolicy.Builder() in testAllowChannels_priorityPackage()
3571 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), in testZenModeEventLog_channelsBypassingChanges()3577 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), in testZenModeEventLog_channelsBypassingChanges()3639 Policy oldPolicy = newConfig.toNotificationPolicy(); in testZenModeEventLog_policyAllowChannels()6102 Policy previousManualPolicy = mZenModeHelper.mConfig.toNotificationPolicy(); in setNotificationPolicy_updatesRulePolicies_ifRulePolicyIsDefaultOrGlobalPolicy()
234 mConsolidatedPolicy = mConfig.toNotificationPolicy(); in ZenModeHelper()736 return mConfig.toNotificationPolicy(implicitRule.zenPolicy); in getNotificationPolicyFromImplicitZenRule()1608 mConfig.toNotificationPolicy().dumpDebug(proto, ZenModeProto.POLICY); in dump()1756 return config == null ? null : config.toNotificationPolicy(); in getNotificationPolicy()1771 newConfig.toNotificationPolicy()); in setNotificationPolicy()2121 Policy newPolicy = mConfig.toNotificationPolicy(policy); in updateAndApplyConsolidatedPolicyAndDeviceEffects()
1654 public Policy toNotificationPolicy(ZenPolicy zenPolicy) { in toNotificationPolicy() method in ZenModeConfig1655 NotificationManager.Policy defaultPolicy = toNotificationPolicy(); in toNotificationPolicy()1795 public Policy toNotificationPolicy() { in toNotificationPolicy() method in ZenModeConfig
49383 Landroid/service/notification/ZenModeConfig;->toNotificationPolicy()Landroid/app/NotificationManage…