/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
H A D | NotificationHelperTest.java | 76 .setStyle(new Notification.MessagingStyle(PERSON) 77 .addMessage(new Notification.MessagingStyle.Message( 90 .setStyle(new Notification.MessagingStyle(PERSON) 100 .setStyle(new Notification.MessagingStyle(PERSON)) 108 .setStyle(new Notification.MessagingStyle(PERSON)) 151 List<Notification.MessagingStyle.Message> messages = in testGetMessagingStyleMessagesNoMessage() 163 List<Notification.MessagingStyle.Message> messages = in testGetMessagingStyleMessages() 210 Notification.MessagingStyle.Message message = new Notification.MessagingStyle.Message( in testGetSenderIfGroupConversation_notGroup() 225 Notification.MessagingStyle.Message message = new Notification.MessagingStyle.Message( in testGetSenderIfGroupConversation_group() 232 .setStyle(new Notification.MessagingStyle(PERSON) in testGetSenderIfGroupConversation_group() [all …]
|
H A D | PeopleSpaceUtilsTest.java | 136 .setStyle(new Notification.MessagingStyle(PERSON) 137 .addMessage(new Notification.MessagingStyle.Message( 139 .addMessage(new Notification.MessagingStyle.Message( 141 .addMessage(new Notification.MessagingStyle.Message( 149 .setStyle(new Notification.MessagingStyle(PERSON) 150 .addMessage(new Notification.MessagingStyle.Message( 158 .setStyle(new Notification.MessagingStyle(PERSON)) 267 .setStyle(new Notification.MessagingStyle(PERSON) in testAugmentTileFromNotificationGroupWithSender() 269 .addMessage(new Notification.MessagingStyle.Message( in testAugmentTileFromNotificationGroupWithSender() 305 .setStyle(new Notification.MessagingStyle(PERSON) in testAugmentTileFromNotificationGroupWithImageUri() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
H A D | NotificationHelper.java | 82 List<Notification.MessagingStyle.Message> messages1 = 84 List<Notification.MessagingStyle.Message> messages2 = 88 Notification.MessagingStyle.Message message1 = messages1.get(0); 89 Notification.MessagingStyle.Message message2 = messages2.get(0); 118 List<Notification.MessagingStyle.Message> messages = in hasContent() 177 List<Notification.MessagingStyle.Message> messages = in getContactUri() 180 Notification.MessagingStyle.Message message = messages.get(0); in getContactUri() 196 public static List<Notification.MessagingStyle.Message> getMessagingStyleMessages( in getMessagingStyleMessages() 201 if (notification.isStyle(Notification.MessagingStyle.class) in getMessagingStyleMessages() 205 List<Notification.MessagingStyle.Message> sortedMessages = in getMessagingStyleMessages() [all …]
|
H A D | PeopleSpaceUtils.java | 196 List<Notification.MessagingStyle.Message> messages = in getMessagesCount() 257 List<Notification.MessagingStyle.Message> messages = in augmentTileFromNotification() 266 Notification.MessagingStyle.Message message = messages != null ? messages.get(0) : null; in augmentTileFromNotification()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | MessagingMessage.java | 37 Notification.MessagingStyle.Message m, ImageResolver resolver, in createMessage() 51 static boolean hasImage(Notification.MessagingStyle.Message m) { in hasImage() 62 default boolean setMessage(Notification.MessagingStyle.Message message, in setMessage() 68 default Notification.MessagingStyle.Message getMessage() { in getMessage() 72 default boolean sameAs(Notification.MessagingStyle.Message message) { in sameAs() 73 Notification.MessagingStyle.Message ownMessage = getMessage(); in sameAs()
|
H A D | MessagingMessageState.java | 29 private Notification.MessagingStyle.Message mMessage; 38 public void setMessage(Notification.MessagingStyle.Message message) { in setMessage() 42 public Notification.MessagingStyle.Message getMessage() { in getMessage()
|
H A D | MessagingLayout.java | 166 List<Notification.MessagingStyle.Message> newMessages in setData() 167 = Notification.MessagingStyle.Message.getMessagesFromBundleArray(messages); in setData() 169 List<Notification.MessagingStyle.Message> newHistoricMessages in setData() 170 = Notification.MessagingStyle.Message.getMessagesFromBundleArray(histMessages); in setData() 205 List<Notification.MessagingStyle.Message> newMessages, in addRemoteInputHistoryToMessages() 212 Notification.MessagingStyle.Message message = new Notification.MessagingStyle.Message( in addRemoteInputHistoryToMessages() 521 List<Notification.MessagingStyle.Message> newMessages, boolean isHistoric, in createMessages() 525 Notification.MessagingStyle.Message m = newMessages.get(i); in createMessages() 537 private MessagingMessage findAndRemoveMatchingMessage(Notification.MessagingStyle.Message m) { in findAndRemoveMatchingMessage()
|
H A D | MessagingTextMessage.java | 71 public boolean setMessage(Notification.MessagingStyle.Message message, in setMessage() 85 Notification.MessagingStyle.Message m, boolean usePrecomputedText) { in createMessage()
|
H A D | ConversationLayout.java | 393 List<Notification.MessagingStyle.Message> newMessages in setData() 394 = Notification.MessagingStyle.Message.getMessagesFromBundleArray(messages); in setData() 396 List<Notification.MessagingStyle.Message> newHistoricMessages in setData() 397 = Notification.MessagingStyle.Message.getMessagesFromBundleArray(histMessages); in setData() 447 List<Notification.MessagingStyle.Message> newMessages, in addRemoteInputHistoryToMessages() 454 Notification.MessagingStyle.Message message = new Notification.MessagingStyle.Message( in addRemoteInputHistoryToMessages() 986 List<Notification.MessagingStyle.Message> newMessages, boolean isHistoric, in createMessages() 990 Notification.MessagingStyle.Message m = newMessages.get(i); in createMessages() 1002 private MessagingMessage findAndRemoveMatchingMessage(Notification.MessagingStyle.Message m) { in findAndRemoveMatchingMessage()
|
H A D | MessagingImageMessage.java | 96 public boolean setMessage(Notification.MessagingStyle.Message message, in setMessage() 125 Notification.MessagingStyle.Message m, ImageResolver resolver, in createMessage()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationInlineImageResolver.java | 184 List<Notification.MessagingStyle.Message> messageList; in retrieveWantedUriSet() 185 List<Notification.MessagingStyle.Message> historicList; in retrieveWantedUriSet() 195 Notification.MessagingStyle.Message.getMessagesFromBundleArray(messages); in retrieveWantedUriSet() 197 for (Notification.MessagingStyle.Message message : messageList) { in retrieveWantedUriSet() 206 Notification.MessagingStyle.Message.getMessagesFromBundleArray(historicMessages); in retrieveWantedUriSet() 208 for (Notification.MessagingStyle.Message historic : historicList) { in retrieveWantedUriSet()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | NotificationTest.java | 324 Notification.MessagingStyle messagingStyle = new Notification.MessagingStyle("self name") in messagingStyle_isGroupConversation() 340 Notification.MessagingStyle messagingStyle = new Notification.MessagingStyle("self name") in messagingStyle_isGroupConversation_noConversationTitle() 357 Notification.MessagingStyle messagingStyle = new Notification.MessagingStyle("self name") in messagingStyle_isGroupConversation_withConversationTitle_legacy() 374 Notification.MessagingStyle messagingStyle = new Notification.MessagingStyle("self name") in messagingStyle_isGroupConversation_withoutConversationTitle_legacy() 640 Notification.MessagingStyle style = new Notification.MessagingStyle( in testBuild_ensureMessagingUserIsNotTooBig_resizesIcon() 673 Notification.MessagingStyle style = new Notification.MessagingStyle( in testBuild_ensureMessagingShortcutIconIsNotTooBig_resizesIcon() 1141 .setStyle(new Notification.MessagingStyle("") in testMessagingChange_text() 1145 .setStyle(new Notification.MessagingStyle("") in testMessagingChange_text() 1158 .setStyle(new Notification.MessagingStyle("") in testMessagingChange_data() 1163 .setStyle(new Notification.MessagingStyle("") in testMessagingChange_data() [all …]
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationShellCmdTest.java | 250 assertSame(Notification.MessagingStyle.class, captured.getNotificationStyle()); in testMessaging() 253 final Notification.MessagingStyle messagingStyle = in testMessaging() 254 (Notification.MessagingStyle) (builder.getStyle()); in testMessaging() 257 final List<Notification.MessagingStyle.Message> messages = messagingStyle.getMessages(); in testMessaging() 259 final Notification.MessagingStyle.Message m = messages.get(i); in testMessaging()
|
H A D | NotificationChannelExtractorTest.java | 87 .setStyle(new Notification.MessagingStyle("name")) in testInvalidShortcutFlagEnabled_looksUpCorrectChannel() 115 .setStyle(new Notification.MessagingStyle("name")) in testInvalidShortcutFlagDisabled_looksUpCorrectChannel()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/ |
H A D | NotificationMemoryMeter.kt | 10 import android.app.Notification.MessagingStyle 107 Notification.MessagingStyle.Message.getMessagesFromBundleArray( 113 Notification.MessagingStyle.Message.getMessagesFromBundleArray( 180 MessagingStyle::class.java.name -> NotificationEnums.STYLE_MESSAGING
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/ |
H A D | BubbleTest.java | 136 doReturn(Notification.MessagingStyle.class).when(mNotif).getNotificationStyle(); in testGetUpdateMessage_messagingStyle() 140 new Notification.MessagingStyle.Message( in testGetUpdateMessage_messagingStyle() 142 new Notification.MessagingStyle.Message( in testGetUpdateMessage_messagingStyle()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | ConversationNotifications.kt | 56 val messagingStyle = recoveredBuilder.style as? Notification.MessagingStyle ?: return 59 Notification.MessagingStyle.CONVERSATION_TYPE_IMPORTANT 61 Notification.MessagingStyle.CONVERSATION_TYPE_NORMAL
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
H A D | NotificationMemoryMeterTest.kt | 202 val message = Notification.MessagingStyle.Message("Message!", 4323, person) 208 Notification.MessagingStyle.Message("Historic message!", 5848, historicPerson) 213 Notification.MessagingStyle(person)
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/ |
H A D | IconManagerTest.kt | 179 n.style = Notification.MessagingStyle("") 180 .addMessage(Notification.MessagingStyle.Message(
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | Bubble.java | 1025 } else if (Notification.MessagingStyle.class.equals(style)) { in extractFlyoutMessage() 1026 final List<Notification.MessagingStyle.Message> messages = in extractFlyoutMessage() 1027 Notification.MessagingStyle.Message.getMessagesFromBundleArray( in extractFlyoutMessage() 1031 final Notification.MessagingStyle.Message latestMessage = in extractFlyoutMessage() 1032 Notification.MessagingStyle.findLatestIncomingMessage(messages); in extractFlyoutMessage()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
H A D | HighPriorityProviderTest.java | 157 .setStyle(new Notification.MessagingStyle("")) in messagingStyle() 194 .setStyle(new Notification.MessagingStyle("")) in userChangeTrumpsHighPriorityCharacteristics()
|
H A D | NotificationEntryTest.java | 293 Bundle[] messagesBundle = new Bundle[]{new Notification.MessagingStyle.Message( in notificationDataEntry_testIsLastMessageFromReply() 325 Bundle[] messagesBundle = new Bundle[]{new Notification.MessagingStyle.Message( in notificationDataEntry_testIsLastMessageFromReply_invalidPerson_noCrash()
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationMessagingUtil.java | 96 return sbn.getNotification().isStyle(Notification.MessagingStyle.class); in hasMessagingStyle()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
H A D | HighPriorityProvider.java | 157 return entry.getSbn().getNotification().isStyle(Notification.MessagingStyle.class); in isMessagingStyle()
|
/aosp14/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
H A D | BubbleHelper.java | 129 .setStyle(new Notification.MessagingStyle(chatBot) in getNotificationBuilder()
|