Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DZenModeDiff.java291 if (from.allowMessagesFrom != to.allowMessagesFrom) { in ConfigDiff()
293 new FieldDiff<>(from.allowMessagesFrom, to.allowMessagesFrom)); in ConfigDiff()
DZenModeConfig.java318 public int allowMessagesFrom = DEFAULT_SOURCE; field in ZenModeConfig
354 allowMessagesFrom = source.readInt(); in ZenModeConfig()
467 dest.writeInt(allowMessagesFrom); in writeToParcel()
523 .append(",allowMessagesFrom=").append(sourceToString(allowMessagesFrom)) in toString()
608 return allowMessagesFrom; in getAllowMessagesFrom()
611 public void setAllowMessagesFrom(@Policy.PrioritySenders int allowMessagesFrom) { in setAllowMessagesFrom() argument
615 this.allowMessagesFrom = allowMessagesFrom; in setAllowMessagesFrom()
840 && other.allowMessagesFrom == allowMessagesFrom in equals()
865 allowCallsFrom, allowMessagesFrom, allowReminders, allowEvents, in hashCode()
872 allowCallsFrom, allowMessagesFrom, allowReminders, allowEvents, in hashCode()
[all …]
DZenAdapters.java49 policy.allowMessagesFrom()) in notificationPolicyToZenPolicy()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeEventLogger.java599 mNewPolicy.allowMessagesFrom())); in getDNDPolicyProto()
DZenModeFiltering.java276 return shouldInterceptAudience(policy.allowMessagesFrom(), record); in shouldIntercept()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java300 when(mNotificationPolicy.allowMessagesFrom()).thenReturn(ZenModeConfig.SOURCE_ANYONE); in setUp()
1409 when(mNotificationPolicy.allowMessagesFrom()).thenReturn(ZenModeConfig.SOURCE_CONTACT); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowContactMessages()
1424 when(mNotificationPolicy.allowMessagesFrom()).thenReturn(ZenModeConfig.SOURCE_STAR); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowStarredContactMessages()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java887 assertEquals(policy.getPriorityMessageSenders(), proto.allowMessagesFrom); in assertProtoMatches()
/frameworks/base/core/java/android/app/
DNotificationManager.java2674 public int allowMessagesFrom() { in allowMessagesFrom() method in NotificationManager.Policy
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java1228 switch (policy.allowMessagesFrom()) { in getNotificationPolicyState()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt49262 Landroid/service/notification/ZenModeConfig;->allowMessagesFrom:I