Searched refs:allowConversations (Results 1 – 14 of 14) sorted by relevance
39 .allowConversations( in notificationPolicyToZenPolicy()40 policy.allowConversations() in notificationPolicyToZenPolicy()
319 public boolean allowConversations = DEFAULT_ALLOW_CONV; field in ZenModeConfig370 allowConversations = source.readBoolean(); in ZenModeConfig()388 .allowConversations(CONVERSATION_SENDERS_IMPORTANT) in getDefaultZenPolicy()483 dest.writeBoolean(allowConversations); in writeToParcel()521 .append(",allowConversations=").append(allowConversations) in toString()589 public void setAllowConversations(boolean allowConversations) { in setAllowConversations() argument593 this.allowConversations = allowConversations; in setAllowConversations()601 return allowConversations; in isAllowConversations()848 && other.allowConversations == allowConversations in equals()867 suppressedVisualEffects, areChannelsBypassingDnd, allowConversations, in hashCode()[all …]
283 if (from.allowConversations != to.allowConversations) { in ConfigDiff()285 new FieldDiff<>(from.allowConversations, to.allowConversations)); in ConfigDiff()
768 public @NonNull Builder allowConversations(@ConversationSenders int audienceType) { in allowConversations() method in ZenPolicy.Builder
190 .allowConversations(CONVERSATION_SENDERS_IMPORTANT) in testZenPolicyToNotificationPolicy_classic()226 .allowConversations(CONVERSATION_SENDERS_IMPORTANT) in testZenPolicyToNotificationPolicy()279 .allowConversations(ZenPolicy.CONVERSATION_SENDERS_NONE) in testZenConfigToZenPolicy_classic()324 .allowConversations(ZenPolicy.CONVERSATION_SENDERS_NONE) in testZenConfigToZenPolicy()785 .allowConversations(ZenPolicy.CONVERSATION_SENDERS_IMPORTANT) in testZenPolicyXml_classic()834 .allowConversations(ZenPolicy.CONVERSATION_SENDERS_IMPORTANT) in testZenPolicyXml()998 .allowConversations(CONVERSATION_SENDERS_IMPORTANT) in getCustomConfig()
723 assertThat(policy.allowConversations()).isFalse(); in testTotalSilence_consolidatedPolicyDisallowsAll()757 assertThat(policy.allowConversations()).isFalse(); in testAlarmsOnly_consolidatedPolicyOnlyAllowsAlarmsAndMedia()3834 assertTrue(mZenModeHelper.mConsolidatedPolicy.allowConversations()); in testUpdateConsolidatedPolicy_preModesApiDefaultRulesOnly_takesGlobalDefault()3906 assertTrue(mZenModeHelper.mConsolidatedPolicy.allowConversations()); // default in testUpdateConsolidatedPolicy_preModesApiCustomPolicyOnly_fillInWithGlobal()4014 assertTrue(mZenModeHelper.mConsolidatedPolicy.allowConversations()); // default in testUpdateConsolidatedPolicy_preModesApiDefaultAndCustomActive_mergesWithGlobal()4077 assertThat(mZenModeHelper.mConsolidatedPolicy.allowConversations()).isTrue(); // default in testUpdateConsolidatedPolicy_modesApiDefaultAndCustomActive_mergesWithDefault()4182 assertThat(mZenModeHelper.mConsolidatedPolicy.allowConversations()).isTrue(); // default in testUpdateConsolidatedPolicy_ignoresActiveRulesWithInterruptionFilterAll()4608 .allowConversations(ZenPolicy.CONVERSATION_SENDERS_IMPORTANT) in automaticZenRuleToZenRule_nullToNonNullPolicyUpdate()5916 .allowConversations(CONVERSATION_SENDERS_IMPORTANT) in applyGlobalPolicyAsImplicitZenRule_createsImplicitRule()5947 .allowConversations(CONVERSATION_SENDERS_IMPORTANT) in applyGlobalPolicyAsImplicitZenRule_updatesImplicitRule()[all …]
306 .allowConversations(ZenPolicy.CONVERSATION_SENDERS_IMPORTANT) in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()
299 when(mNotificationPolicy.allowConversations()).thenReturn(false); in setUp()1362 when(mNotificationPolicy.allowConversations()).thenReturn(true); in testUpdateWidgetsFromBroadcastInBackgroundAllConversations()1378 when(mNotificationPolicy.allowConversations()).thenReturn(true); in testUpdateWidgetsFromBroadcastInBackgroundAllowOnlyImportantConversations()1394 when(mNotificationPolicy.allowConversations()).thenReturn(false); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversations()1408 when(mNotificationPolicy.allowConversations()).thenReturn(false); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowContactMessages()1423 when(mNotificationPolicy.allowConversations()).thenReturn(false); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowStarredContactMessages()
574 proto.write(DNDPolicyProto.CONVERSATIONS, toState(mNewPolicy.allowConversations())); in getDNDPolicyProto()
244 if (policy.allowConversations()) { in shouldIntercept()
2647 public boolean allowConversations() { in allowConversations() method in NotificationManager.Policy
1216 if (policy.allowConversations()) { in getNotificationPolicyState()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
41359 method @NonNull public android.service.notification.ZenPolicy.Builder allowConversations(int);