Searched refs:allowMessagesFrom (Results 1 – 12 of 12) sorted by relevance
/aosp14/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeDiff.java | 284 if (from.allowMessagesFrom != to.allowMessagesFrom) { in ConfigDiff() 286 new FieldDiff<>(from.allowMessagesFrom, to.allowMessagesFrom)); in ConfigDiff()
|
H A D | ZenModeConfig.java | 191 public int allowMessagesFrom = DEFAULT_SOURCE; field in ZenModeConfig 213 allowMessagesFrom = source.readInt(); in ZenModeConfig() 243 dest.writeInt(allowMessagesFrom); in writeToParcel() 375 && other.allowMessagesFrom == allowMessagesFrom in equals() 391 allowCallsFrom, allowMessagesFrom, allowReminders, allowEvents, in hashCode() 481 rt.allowMessagesFrom = messagesFrom; in readXml() 485 rt.allowMessagesFrom = from; in readXml() 488 rt.allowMessagesFrom = DEFAULT_SOURCE; in readXml() 561 out.attributeInt(null, ALLOW_ATT_MESSAGES_FROM, allowMessagesFrom); in writeXml() 922 ? ZenModeConfig.getZenPolicySenders(allowMessagesFrom) in toZenPolicy() [all …]
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ZenModeDiffTest.java | 158 c1.allowMessagesFrom = ZenModeConfig.SOURCE_STAR; in testConfigDiff_specialSenders() 159 c2.allowMessagesFrom = ZenModeConfig.SOURCE_CONTACT; in testConfigDiff_specialSenders()
|
H A D | ZenModeConfigTest.java | 135 config.allowMessagesFrom = Policy.PRIORITY_SENDERS_STARRED; in testZenConfigToZenPolicy() 392 config.allowMessagesFrom = ZenModeConfig.SOURCE_ANYONE; in getCustomConfig()
|
H A D | ZenPolicyTest.java | 679 assertEquals(policy.getPriorityMessageSenders(), proto.allowMessagesFrom); in assertProtoMatches()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ZenModeEventLogger.java | 502 ZenModeConfig.getZenPolicySenders(mNewPolicy.allowMessagesFrom())); in getDNDPolicyProto()
|
H A D | ZenModeFiltering.java | 261 return shouldInterceptAudience(policy.allowMessagesFrom(), record); in shouldIntercept()
|
H A D | ZenModeHelper.java | 778 ZenModeConfig.sourceToString(config.allowMessagesFrom), in dump()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
H A D | PeopleSpaceWidgetManagerTest.java | 293 when(mNotificationPolicy.allowMessagesFrom()).thenReturn(ZenModeConfig.SOURCE_ANYONE); in setUp() 1396 when(mNotificationPolicy.allowMessagesFrom()).thenReturn(ZenModeConfig.SOURCE_CONTACT); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowContactMessages() 1411 when(mNotificationPolicy.allowMessagesFrom()).thenReturn(ZenModeConfig.SOURCE_STAR); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowStarredContactMessages()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | NotificationManager.java | 2444 public int allowMessagesFrom() { in allowMessagesFrom() method in NotificationManager.Policy
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
H A D | PeopleSpaceWidgetManager.java | 1195 switch (policy.allowMessagesFrom()) { in getNotificationPolicyState()
|
/aosp14/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 49905 Landroid/service/notification/ZenModeConfig;->allowMessagesFrom:I
|