Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/service/notification/
H A DZenModeDiff.java284 if (from.allowMessagesFrom != to.allowMessagesFrom) { in ConfigDiff()
286 new FieldDiff<>(from.allowMessagesFrom, to.allowMessagesFrom)); in ConfigDiff()
H A DZenModeConfig.java191 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 DZenModeDiffTest.java158 c1.allowMessagesFrom = ZenModeConfig.SOURCE_STAR; in testConfigDiff_specialSenders()
159 c2.allowMessagesFrom = ZenModeConfig.SOURCE_CONTACT; in testConfigDiff_specialSenders()
H A DZenModeConfigTest.java135 config.allowMessagesFrom = Policy.PRIORITY_SENDERS_STARRED; in testZenConfigToZenPolicy()
392 config.allowMessagesFrom = ZenModeConfig.SOURCE_ANYONE; in getCustomConfig()
H A DZenPolicyTest.java679 assertEquals(policy.getPriorityMessageSenders(), proto.allowMessagesFrom); in assertProtoMatches()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeEventLogger.java502 ZenModeConfig.getZenPolicySenders(mNewPolicy.allowMessagesFrom())); in getDNDPolicyProto()
H A DZenModeFiltering.java261 return shouldInterceptAudience(policy.allowMessagesFrom(), record); in shouldIntercept()
H A DZenModeHelper.java778 ZenModeConfig.sourceToString(config.allowMessagesFrom), in dump()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManagerTest.java293 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 DNotificationManager.java2444 public int allowMessagesFrom() { in allowMessagesFrom() method in NotificationManager.Policy
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManager.java1195 switch (policy.allowMessagesFrom()) { in getNotificationPolicyState()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt49905 Landroid/service/notification/ZenModeConfig;->allowMessagesFrom:I