Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DINotificationManager.aidl220 ZenPolicy getDefaultZenPolicy(); in getDefaultZenPolicy() method
DNotificationManager.java1824 public @NonNull ZenPolicy getDefaultZenPolicy() { in getDefaultZenPolicy() method in NotificationManager
1827 return service.getDefaultZenPolicy(); in getDefaultZenPolicy()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java1940 customRule.zenPolicy = mZenModeHelper.getDefaultZenPolicy().overwrittenWith(policy); in testReadXml_onModesApi_noUpgrade()
2252 assertThat(rule.zenPolicy).isEqualTo(mZenModeHelper.getDefaultZenPolicy()); in testDefaultRulesFromConfig_modesApi_getPolicies()
2432 assertThat(rule1InConfig.zenPolicy).isEqualTo(mZenModeHelper.getDefaultZenPolicy()); in testAddAutomaticZenRule_modesApi_fillsInDefaultValues()
3862 ? mZenModeHelper.getDefaultZenPolicy() in testUpdateConsolidatedPolicy_modesApiDefaultRulesOnly_takesDefault()
4260 assertEquals(mZenModeHelper.getDefaultZenPolicy().overwrittenWith(POLICY), in automaticZenRuleToZenRule_allFields()
4585 mZenModeHelper.getDefaultZenPolicy().overwrittenWith(POLICY)); in updateAutomaticZenRule_nullPolicyUpdate()
6101 ZenPolicy defaultZenPolicy = mZenModeHelper.getDefaultZenPolicy(); in setNotificationPolicy_updatesRulePolicies_ifRulePolicyIsDefaultOrGlobalPolicy()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1781 || rule.zenPolicy.equals(getDefaultZenPolicy()))) { in setNotificationPolicy()
1862 protected ZenPolicy getDefaultZenPolicy() { in getDefaultZenPolicy() method in ZenModeHelper
DNotificationManagerService.java6095 public ZenPolicy getDefaultZenPolicy() {
6099 return mZenModeHelper.getDefaultZenPolicy();
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java378 public static ZenPolicy getDefaultZenPolicy() { in getDefaultZenPolicy() method in ZenModeConfig
439 newRule.zenPolicy = getDefaultZenPolicy(); in ensureManualZenRule()
/frameworks/base/core/api/
Dtest-current.txt393 …droid.app.modes_api") @NonNull public android.service.notification.ZenPolicy getDefaultZenPolicy();