Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java175 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()
DZenModeDiffTest.java239 NotificationManager.Policy c1Policy = c1.toNotificationPolicy(); in testConfigDiff_specialSenders()
245 NotificationManager.Policy c2Policy = c1.toNotificationPolicy(); in testConfigDiff_specialSenders()
DZenModeFilteringTest.java549 Policy policy = config.toNotificationPolicy(new ZenPolicy.Builder() in testAllowChannels_priorityPackage()
555 policy = config.toNotificationPolicy(new ZenPolicy.Builder() in testAllowChannels_priorityPackage()
DZenModeHelperTest.java3571 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()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java234 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()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java1654 public Policy toNotificationPolicy(ZenPolicy zenPolicy) { in toNotificationPolicy() method in ZenModeConfig
1655 NotificationManager.Policy defaultPolicy = toNotificationPolicy(); in toNotificationPolicy()
1795 public Policy toNotificationPolicy() { in toNotificationPolicy() method in ZenModeConfig
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt49383 Landroid/service/notification/ZenModeConfig;->toNotificationPolicy()Landroid/app/NotificationManage…