Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DZenModeConfigTest.java78 assertEquals(config.toNotificationPolicy(), config.toNotificationPolicy(zenPolicy)); in testZenPolicyNothingSetToNotificationPolicy()
96 Policy originalPolicy = config.toNotificationPolicy(); in testZenPolicyToNotificationPolicy()
111 assertEquals(expectedPolicy, config.toNotificationPolicy(zenPolicy)); in testZenPolicyToNotificationPolicy()
H A DZenModeHelperTest.java2116 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), Process.SYSTEM_UID, in testZenModeEventLog_policyChanges()
2127 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), Process.SYSTEM_UID, in testZenModeEventLog_policyChanges()
2394 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), Process.SYSTEM_UID, in testZenModeEventLog_channelsBypassingChanges()
2399 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), Process.SYSTEM_UID, in testZenModeEventLog_channelsBypassingChanges()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeHelper.java170 mConsolidatedPolicy = mConfig.toNotificationPolicy(); in ZenModeHelper()
739 mConfig.toNotificationPolicy().dumpDebug(proto, ZenModeProto.POLICY); in dump()
875 return config == null ? null : config.toNotificationPolicy(); in getNotificationPolicy()
1128 Policy newPolicy = mConfig.toNotificationPolicy(policy); in updateConsolidatedPolicy()
/aosp14/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java957 public Policy toNotificationPolicy(ZenPolicy zenPolicy) { in toNotificationPolicy() method in ZenModeConfig
958 NotificationManager.Policy defaultPolicy = toNotificationPolicy(); in toNotificationPolicy()
1126 public Policy toNotificationPolicy() { in toNotificationPolicy() method in ZenModeConfig
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt50026 Landroid/service/notification/ZenModeConfig;->toNotificationPolicy()Landroid/app/NotificationManage…