Home
last modified time | relevance | path

Searched refs:addMessage (Results 1 – 25 of 34) sorted by relevance

12

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
H A DNotificationHelperTest.java77 .addMessage(new Notification.MessagingStyle.Message(
79 .addMessage(new Notification.MessagingStyle.Message(
81 .addMessage(new Notification.MessagingStyle.Message(
91 .addMessage(new Notification.MessagingStyle.Message(
216 .setStyle(new Notification.MessagingStyle(PERSON).addMessage(message)) in testGetSenderIfGroupConversation_notGroup()
234 .addMessage(message)) in testGetSenderIfGroupConversation_group()
251 .setStyle(new Notification.MessagingStyle(PERSON).addMessage(message)) in testGetSenderIfGroupConversation_groupNoName()
H A DPeopleSpaceUtilsTest.java138 .addMessage(new Notification.MessagingStyle.Message(
140 .addMessage(new Notification.MessagingStyle.Message(
142 .addMessage(new Notification.MessagingStyle.Message(
151 .addMessage(new Notification.MessagingStyle.Message(
274 .addMessage(new Notification.MessagingStyle.Message( in testAugmentTileFromNotificationGroupWithSender()
276 .addMessage(new Notification.MessagingStyle.Message( in testAugmentTileFromNotificationGroupWithSender()
278 .addMessage(new Notification.MessagingStyle.Message( in testAugmentTileFromNotificationGroupWithSender()
311 .addMessage(new Notification.MessagingStyle.Message( in testAugmentTileFromNotificationGroupWithImageUri()
344 .addMessage(new Notification.MessagingStyle.Message( in testAugmentTileFromNotificationGroupWithAudioUri()
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraErrorCollector.java68 public void addMessage(String message) { in addMessage() method in CameraErrorCollector
131 addMessage(msg); in expectTrue()
153 addMessage(String.format("%s (expected = %s, actual = %s) ", msg, expected, in expectEquals()
171 addMessage(String.format("%s (expected = %s, actual = %s) ", msg, expected, in expectNotEquals()
195 addMessage(String.format("%s (expected = %s, actual = %s) ", msg, in expectEquals()
220 addMessage(String.format("%s (expected = %s, actual = %s) ", msg, in expectNotEquals()
603 addMessage(msg); in expectNull()
645 addMessage("Key " + key.getName() + " shouldn't be null"); in expectKeyValueNotNull()
664 addMessage("Key " + key.getName() + " shouldn't be null"); in expectKeyValueNotNull()
681 addMessage("Key " + key.getName() + " shouldn't be null"); in expectKeyValueNotNull()
[all …]
H A DStaticMetadata.java2411 mCollector.addMessage(failureCause); in failKeyCheck()
/aosp12/system/timezone/input_tools/android/common/src/main/java/com/android/libcore/timezone/util/
H A DErrors.java103 addMessage(msg); in addInternal()
108 addMessage(out.toString()); in addInternal()
116 private void addMessage(String msg) { in addMessage() method in Errors
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationTest.java162 .addMessage(new Notification.MessagingStyle.Message( in testMessagingChange_text()
166 .addMessage(new Notification.MessagingStyle.Message( in testMessagingChange_text()
168 .addMessage(new Notification.MessagingStyle.Message( in testMessagingChange_text()
179 .addMessage(new Notification.MessagingStyle.Message( in testMessagingChange_data()
184 .addMessage(new Notification.MessagingStyle.Message( in testMessagingChange_data()
198 .addMessage(new Notification.MessagingStyle.Message("a", 100, b))); in testMessagingChange_sender()
201 .addMessage(new Notification.MessagingStyle.Message("a", 100, a))); in testMessagingChange_sender()
214 .addMessage(new Notification.MessagingStyle.Message("a", 100, a))); in testMessagingChange_key()
217 .addMessage(new Notification.MessagingStyle.Message("a", 100, b))); in testMessagingChange_key()
226 .addMessage(new Notification.MessagingStyle.Message( in testMessagingChange_ignoreTimeChange()
[all …]
H A DBubbleExtractorTest.java121 .addMessage("Hello?", in getNotificationRecord()
123 .addMessage("Is it me you're looking for?", in getNotificationRecord()
H A DNotificationManagerServiceTest.java849 .addMessage("Hello?", in getMessageStyleNotifBuilder()
851 .addMessage("Is it me you're looking for?", in getMessageStyleNotifBuilder()
4257 .addMessage(message1) in updateUriPermissions_update()
4258 .addMessage(message2)); in updateUriPermissions_update()
4277 .setStyle(new Notification.MessagingStyle("").addMessage(message2)); in updateUriPermissions_update()
4317 .addMessage(message1)); in updateUriPermissions_posterDoesNotOwnUri()
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/utils/
H A DMockMessageNotificationBuilder.java299 return builder.addMessage(mPostSpecificMessage); in buildStyle()
301 return builder.addMessage(OLD_MESSAGE, /* timestamp= */ connectionTimeMs - 100, in buildStyle()
304 return builder.addMessage(FIRST_MESSAGE, /* timestamp= */ connectionTimeMs + 100, in buildStyle()
305 mSender).addMessage(SECOND_MESSAGE, /* timestamp= */ connectionTimeMs + 100, in buildStyle()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
H A DNotificationFragment.java296 messagingStyle.addMessage( in initCustomizableMessageButton()
351 .addMessage( in initMessagingStyleButtonForDiffPerson()
356 .addMessage( in initMessagingStyleButtonForDiffPerson()
361 .addMessage( in initMessagingStyleButtonForDiffPerson()
430 builder.setStyle(messagingStyle.addMessage( in initMessagingStyleButtonForSamePerson()
478 builder.setStyle(messagingStyle.addMessage( in initMessagingStyleButtonForLongMessageSamePerson()
526 builder.setStyle(messagingStyle.addMessage( in initMessagingStyleButtonWithMuteAction()
572 builder.setStyle(messagingStyle.addMessage( in initTestMessagesButton()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/
H A DBubbleHelper.java136 .addMessage("Hello? This is bubble: " + id, in getNotificationBuilder()
138 .addMessage("Is it me, " + id + ", you're looking for?", in getNotificationBuilder()
/aosp12/frameworks/base/core/java/android/provider/
H A DTelephony.java622 public static Uri addMessage(ContentResolver resolver, in addMessage() method in Telephony.Sms.Inbox
643 public static Uri addMessage(int subId, ContentResolver resolver, in addMessage() method in Telephony.Sms.Inbox
684 public static Uri addMessage(ContentResolver resolver, in addMessage() method in Telephony.Sms.Sent
703 public static Uri addMessage(int subId, ContentResolver resolver, in addMessage() method in Telephony.Sms.Sent
731 public static Uri addMessage(ContentResolver resolver, in addMessage() method in Telephony.Sms.Draft
750 public static Uri addMessage(int subId, ContentResolver resolver, in addMessage() method in Telephony.Sms.Draft
797 public static Uri addMessage(ContentResolver resolver, in addMessage() method in Telephony.Sms.Outbox
818 public static Uri addMessage(int subId, ContentResolver resolver, in addMessage() method in Telephony.Sms.Outbox
/aosp12/frameworks/base/tools/incident_report/
H A Dgeneric_message.h58 GenericMessage* addMessage(int32_t fieldId);
H A Dgeneric_message.cpp46 GenericMessage::addMessage(int32_t fieldId) in addMessage() function in GenericMessage
H A Dmain.cpp58 GenericMessage* child = message->addMessage(fieldId); in read_length_delimited()
/aosp12/packages/apps/Dialer/java/com/android/dialer/postcall/
H A DPostCall.java122 String addMessage = activity.getString(R.string.view); in promptUserToViewSentMessage() local
135 .setAction(addMessage, onClickListener) in promptUserToViewSentMessage()
/aosp12/packages/apps/Car/libs/car-assist-lib/src/com/android/car/assist/payloadhandlers/
H A DConversationPayloadHandler.java136 messagingStyle.addMessage( in getMessagingStyle()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/
H A DIconManagerTest.kt180 .addMessage(Notification.MessagingStyle.Message(
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationShellCmd.java628 messagingStyle.addMessage(parts[1], System.currentTimeMillis(), in doNotify()
631 messagingStyle.addMessage(parts[0], System.currentTimeMillis(), in doNotify()
/aosp12/frameworks/base/core/java/android/view/
H A DScrollCaptureResponse.java365 public @NonNull Builder addMessage(@NonNull String value) { in addMessage() method in ScrollCaptureResponse.Builder
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManagerTest.java431 .addMessage(new Notification.MessagingStyle.Message("text3", 10, PERSON)) in testDoNotUpdateAppWidgetIfNoShortcutInfo()
846 .addMessage( in testDoNotUpdateMissedCallNotificationWithContentPostedIfNoPersonsAttached()
1618 .addMessage( in createMessagingStyleNotification()
1637 .addMessage( in createMessagingStyleNotificationWithoutExtras()
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DCat.java279 .addMessage(mFirstMessage, System.currentTimeMillis(), createPerson())
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2RecordingTest.java564 mCollector.addMessage("Video size " + videoSz.toString() + " for profile ID " + in videoSnapshotTestByCamera()
/aosp12/frameworks/base/core/java/android/app/
H A DNotification.java7928 public MessagingStyle addMessage(CharSequence text, long timestamp, CharSequence sender) { in addMessage() method in Notification.Builder.MessagingStyle
7929 return addMessage(text, timestamp, in addMessage()
7946 public MessagingStyle addMessage(@NonNull CharSequence text, long timestamp, in addMessage() method in Notification.Builder.MessagingStyle
7948 return addMessage(new Message(text, timestamp, sender)); in addMessage()
7960 public MessagingStyle addMessage(Message message) { in addMessage() method in Notification.Builder.MessagingStyle
11728 public Builder addMessage(String message) { in addMessage() method in Notification.Builder.CarExtender.Builder
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotificationConversationInfoTest.java204 .addMessage(new Notification.MessagingStyle.Message( in setUp()

12