Searched refs:getDefaultZenPolicy (Results 1 – 7 of 7) sorted by relevance
220 ZenPolicy getDefaultZenPolicy(); in getDefaultZenPolicy() method
1824 public @NonNull ZenPolicy getDefaultZenPolicy() { in getDefaultZenPolicy() method in NotificationManager1827 return service.getDefaultZenPolicy(); in getDefaultZenPolicy()
1940 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()
1781 || rule.zenPolicy.equals(getDefaultZenPolicy()))) { in setNotificationPolicy()1862 protected ZenPolicy getDefaultZenPolicy() { in getDefaultZenPolicy() method in ZenModeHelper
6095 public ZenPolicy getDefaultZenPolicy() {6099 return mZenModeHelper.getDefaultZenPolicy();
378 public static ZenPolicy getDefaultZenPolicy() { in getDefaultZenPolicy() method in ZenModeConfig439 newRule.zenPolicy = getDefaultZenPolicy(); in ensureManualZenRule()
393 …droid.app.modes_api") @NonNull public android.service.notification.ZenPolicy getDefaultZenPolicy();