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.java487 public @NonNull Builder allowMessages(@PeopleType int audienceType) { in allowMessages() argument
488 if (audienceType == STATE_UNSET) { in allowMessages()
492 if (audienceType == PEOPLE_TYPE_NONE) { in allowMessages()
494 } else if (audienceType == PEOPLE_TYPE_ANYONE || audienceType == PEOPLE_TYPE_CONTACTS in allowMessages()
495 || audienceType == PEOPLE_TYPE_STARRED) { in allowMessages()
501 mZenPolicy.mPriorityMessages = audienceType; in allowMessages()
511 public @NonNull Builder allowCalls(@PeopleType int audienceType) { in allowCalls() argument
512 if (audienceType == STATE_UNSET) { in allowCalls()
516 if (audienceType == PEOPLE_TYPE_NONE) { in allowCalls()
518 } else if (audienceType == PEOPLE_TYPE_ANYONE || audienceType == PEOPLE_TYPE_CONTACTS in allowCalls()
[all …]