Searched refs:allowMessages (Results 1 – 15 of 15) sorted by relevance
46 .allowMessages( in notificationPolicyToZenPolicy()47 policy.allowMessages() in notificationPolicyToZenPolicy()
314 public boolean allowMessages = DEFAULT_ALLOW_MESSAGES; field in ZenModeConfig350 allowMessages = source.readInt() == 1; in ZenModeConfig()384 .allowMessages(PEOPLE_TYPE_STARRED) in getDefaultZenPolicy()463 dest.writeInt(allowMessages ? 1 : 0); in writeToParcel()520 .append(",allowMessages=").append(allowMessages) in toString()619 public void setAllowMessages(boolean allowMessages) { in setAllowMessages() argument623 this.allowMessages = allowMessages; in setAllowMessages()686 return allowMessages; in isAllowMessages()838 && other.allowMessages == allowMessages in equals()864 allowRepeatCallers, allowMessages, in hashCode()[all …]
279 if (from.allowMessages != to.allowMessages) { in ConfigDiff()281 new FieldDiff<>(from.allowMessages, to.allowMessages)); in ConfigDiff()
792 public @NonNull Builder allowMessages(@PeopleType int audienceType) { in allowMessages() method in ZenPolicy.Builder
195 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testZenPolicyApplyMoreSevereMessageSenders()199 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_NONE); in testZenPolicyApplyMoreSevereMessageSenders()299 .allowMessages(ZenPolicy.PEOPLE_TYPE_STARRED) in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()307 .allowMessages(ZenPolicy.PEOPLE_TYPE_NONE) in testZenPolicyOverwrite_someOverlappingFields_takeNewPolicy()347 builder.allowMessages(20); // invalid #, won't change policy in testZenPolicyMessagesInvalid()427 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE); in testAllowMessages()435 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_CONTACTS); in testAllowMessages()443 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_STARRED); in testAllowMessages()451 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_NONE); in testAllowMessages()459 builder.allowMessages(ZenPolicy.PEOPLE_TYPE_UNSET); in testAllowMessages()
278 .allowMessages(ZenPolicy.PEOPLE_TYPE_STARRED) in testZenConfigToZenPolicy_classic()323 .allowMessages(ZenPolicy.PEOPLE_TYPE_STARRED) in testZenConfigToZenPolicy()784 .allowMessages(ZenPolicy.PEOPLE_TYPE_NONE) in testZenPolicyXml_classic()833 .allowMessages(ZenPolicy.PEOPLE_TYPE_NONE) in testZenPolicyXml()
722 assertThat(policy.allowMessages()).isFalse(); in testTotalSilence_consolidatedPolicyDisallowsAll()756 assertThat(policy.allowMessages()).isFalse(); in testAlarmsOnly_consolidatedPolicyOnlyAllowsAlarmsAndMedia()1498 .allowMessages(PEOPLE_TYPE_CONTACTS) in testWriteXmlWithZenPolicy()1805 .allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlOnlyOneDefaultRuleExists()1857 .allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlDefaultRulesExist()1871 .allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE) in testReadXmlDefaultRulesExist()2418 .allowMessages(PEOPLE_TYPE_CONTACTS) in testAddAutomaticZenRule_modesApi_fillsInDefaultValues()3833 assertTrue(mZenModeHelper.mConsolidatedPolicy.allowMessages()); in testUpdateConsolidatedPolicy_preModesApiDefaultRulesOnly_takesGlobalDefault()3905 assertTrue(mZenModeHelper.mConsolidatedPolicy.allowMessages()); // default in testUpdateConsolidatedPolicy_preModesApiCustomPolicyOnly_fillInWithGlobal()3953 assertThat(mZenModeHelper.mConsolidatedPolicy.allowMessages()).isTrue(); // default in testUpdateConsolidatedPolicy_modesApiCustomPolicyOnly_fillInWithDefault()[all …]
573 proto.write(DNDPolicyProto.MESSAGES, toState(mNewPolicy.allowMessages())); in getDNDPolicyProto()
272 if (!policy.allowMessages()) { in shouldIntercept()
301 when(mNotificationPolicy.allowMessages()).thenReturn(false); in setUp()1410 when(mNotificationPolicy.allowMessages()).thenReturn(true); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowContactMessages()1425 when(mNotificationPolicy.allowMessages()).thenReturn(true); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowStarredContactMessages()
2652 public boolean allowMessages() { in allowMessages() method in NotificationManager.Policy
1227 if (policy.allowMessages()) { in getNotificationPolicyState()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
41362 method @NonNull public android.service.notification.ZenPolicy.Builder allowMessages(int);
49261 Landroid/service/notification/ZenModeConfig;->allowMessages:Z