Searched refs:showBadges (Results 1 – 10 of 10) sorted by relevance
56 zenPolicyBuilder.showBadges(policy.showBadges()) in notificationPolicyToZenPolicy()
948 public @NonNull Builder showBadges(boolean show) { in showBadges() method in ZenPolicy.Builder995 showBadges(show); in showVisualEffect()
1355 builder.showBadges(badges == STATE_ALLOW); in readZenPolicyXml()1636 builder.showBadges( in toZenPolicy()
301 .showBadges(true) in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()308 .showBadges(false) in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()649 builder.showBadges(true); in tesShowBadges()654 builder.showBadges(false); in tesShowBadges()723 .showLights(true).showBadges(false) in testPolicyBuilder_constructFromPolicy()
275 .showBadges(false) in testZenConfigToZenPolicy_classic()320 .showBadges(false) in testZenConfigToZenPolicy()
3836 assertFalse(mZenModeHelper.mConsolidatedPolicy.showBadges()); in testUpdateConsolidatedPolicy_preModesApiDefaultRulesOnly_takesGlobalDefault()3879 .showBadges(true) // more lenient in testUpdateConsolidatedPolicy_preModesApiCustomPolicyOnly_fillInWithGlobal()3908 assertTrue(mZenModeHelper.mConsolidatedPolicy.showBadges()); // custom in testUpdateConsolidatedPolicy_preModesApiCustomPolicyOnly_fillInWithGlobal()3925 .showBadges(false) // more restrictive in testUpdateConsolidatedPolicy_modesApiCustomPolicyOnly_fillInWithDefault()3955 assertThat(mZenModeHelper.mConsolidatedPolicy.showBadges()).isFalse(); // custom in testUpdateConsolidatedPolicy_modesApiCustomPolicyOnly_fillInWithDefault()3988 .showBadges(true) // more lenient in testUpdateConsolidatedPolicy_preModesApiDefaultAndCustomActive_mergesWithGlobal()4016 assertFalse(mZenModeHelper.mConsolidatedPolicy.showBadges()); // default stricter in testUpdateConsolidatedPolicy_preModesApiDefaultAndCustomActive_mergesWithGlobal()4049 .showBadges(false) // more restrictive in testUpdateConsolidatedPolicy_modesApiDefaultAndCustomActive_mergesWithDefault()4080 assertThat(mZenModeHelper.mConsolidatedPolicy.showBadges()).isFalse(); // custom stricter in testUpdateConsolidatedPolicy_modesApiDefaultAndCustomActive_mergesWithDefault()4619 .showBadges(true) in automaticZenRuleToZenRule_nullToNonNullPolicyUpdate()
585 proto.write(DNDPolicyProto.BADGE, toState(mNewPolicy.showBadges())); in getDNDPolicyProto()
2710 public boolean showBadges() { in showBadges() method in NotificationManager.Policy
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
41371 method @NonNull public android.service.notification.ZenPolicy.Builder showBadges(boolean);