Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java547 public @NonNull Builder allowConversations(@ConversationSenders int audienceType) { in allowConversations() argument
548 if (audienceType == STATE_UNSET) { in allowConversations()
552 if (audienceType == CONVERSATION_SENDERS_NONE) { in allowConversations()
554 } else if (audienceType == CONVERSATION_SENDERS_ANYONE in allowConversations()
555 || audienceType == CONVERSATION_SENDERS_IMPORTANT) { in allowConversations()
561 mZenPolicy.mConversationSenders = audienceType; in allowConversations()
571 public @NonNull Builder allowMessages(@PeopleType int audienceType) { in allowMessages() argument
572 if (audienceType == STATE_UNSET) { in allowMessages()
576 if (audienceType == PEOPLE_TYPE_NONE) { in allowMessages()
578 } else if (audienceType == PEOPLE_TYPE_ANYONE || audienceType == PEOPLE_TYPE_CONTACTS in allowMessages()
[all …]