Home
last modified time | relevance | path

Searched refs:allowConversations (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenAdapters.java39 .allowConversations( in notificationPolicyToZenPolicy()
40 policy.allowConversations() in notificationPolicyToZenPolicy()
DZenModeConfig.java319 public boolean allowConversations = DEFAULT_ALLOW_CONV; field in ZenModeConfig
370 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() argument
593 this.allowConversations = allowConversations; in setAllowConversations()
601 return allowConversations; in isAllowConversations()
848 && other.allowConversations == allowConversations in equals()
867 suppressedVisualEffects, areChannelsBypassingDnd, allowConversations, in hashCode()
[all …]
DZenModeDiff.java283 if (from.allowConversations != to.allowConversations) { in ConfigDiff()
285 new FieldDiff<>(from.allowConversations, to.allowConversations)); in ConfigDiff()
DZenPolicy.java768 public @NonNull Builder allowConversations(@ConversationSenders int audienceType) { in allowConversations() method in ZenPolicy.Builder
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java190 .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()
DZenModeHelperTest.java723 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 …]
DZenPolicyTest.java306 .allowConversations(ZenPolicy.CONVERSATION_SENDERS_IMPORTANT) in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java299 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()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeEventLogger.java574 proto.write(DNDPolicyProto.CONVERSATIONS, toState(mNewPolicy.allowConversations())); in getDNDPolicyProto()
DZenModeFiltering.java244 if (policy.allowConversations()) { in shouldIntercept()
/frameworks/base/core/java/android/app/
DNotificationManager.java2647 public boolean allowConversations() { in allowConversations() method in NotificationManager.Policy
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java1216 if (policy.allowConversations()) { in getNotificationPolicyState()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt41359 method @NonNull public android.service.notification.ZenPolicy.Builder allowConversations(int);