Home
last modified time | relevance | path

Searched refs:getMessageText (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DComposeMessageViewTest.java109 Mockito.when(mockDraftMessageData.getMessageText()).thenReturn(message.getMessageText()); in testSend()
138 assertEquals(message.getMessageText(), composeEditText.getText().toString()); in testSend()
143 assertEquals(message.getMessageText(), o.getMessageText()); in testSend()
160 Mockito.when(mockDraftMessageData.getMessageText()).thenReturn(message.getMessageText()); in testNotDefaultSms()
178 assertEquals(message.getMessageText(), composeEditText.getText().toString()); in testNotDefaultSms()
DConversationMessageViewTest.java76 verifyContent(view, TestDataFactory.getMessageText(cursor, 0), true, Dates in testBind()
89 verifyContent(view, TestDataFactory.getMessageText(cursor, 1), true, Dates in testBindTwice()
101 verifyContent(view, TestDataFactory.getMessageText(cursor, lastPos), true, Dates in testBindLast()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java97 assertEquals("Draft text changed", draftMessage, actual.getMessageText()); in testWriteDraft()
157 assertEquals("Draft message text differs", draftMessage, draft.message.getMessageText()); in testReadDraft()
216 assertEquals("Draft message text differs", "", draft.message.getMessageText()); in testReadDraftForNewConversation()
269 … assertEquals("Draft message text differs", draftMessage, draft.message.getMessageText()); in testWriteAndReadDraft()
304 assertEquals("Initial text mismatch", initialMessage, initial.getMessageText()); in testUpdateDraft()
325 assertEquals("Draft text mismatch", draftMessage, actual.getMessageText()); in testUpdateDraft()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DConversationMessageDataTest.java54 assertEquals(TestDataFactory.getMessageText(testCursor, 1), data.getText()); in testBindTwice()
65 assertEquals(TestDataFactory.getMessageText(testCursor, 2), data.getText()); in testBindTwice()
DTestDataFactory.java152 public static String getMessageText(final FakeCursor messageCursor, final int row) { in getMessageText() method in TestDataFactory
/packages/apps/Car/Messenger/src/com/android/car/messenger/
DSmsDatabaseHandler.java164 newMessage.put(Telephony.Sms.BODY, DatabaseUtils.sqlEscapeString(message.getMessageText())); in buildMessageContentValues()
176 String sqlFriendlyMessageText = DatabaseUtils.sqlEscapeString(message.getMessageText()); in createSmsSelectionArgs()
DMapMessage.java149 public String getMessageText() { in getMessageText() method in MapMessage
DMessengerDelegate.java339 message.getMessageText(), in createNotification()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DDraftMessageData.java144 if (isDraftEmpty() || (TextUtils.equals(mMessageText, message.getMessageText()) && in updateFromMessageData()
148 setMessageText(message.getMessageText(), false /* notify */); in updateFromMessageData()
216 public String getMessageText() { in getMessageText() method in DraftMessageData
DMessageData.java671 public final String getMessageText() { in getMessageText() method in MessageData
816 !TextUtils.isEmpty(getMessageText()); in hasContent()
/packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/
DMessengerDelegateTest.java237 && expected.getMessageText().equals(observed.getMessageText()); in mapMessageEquals()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DInsertNewMessageAction.java305 final String messageText = message.getMessageText(); in insertBroadcastSmsMessage()
375 final String messageText = content.getMessageText(); in insertSendingSmsMessage()
DBugleActionToasts.java110 (message == null) ? "" : message.getMessageText()); in onMessageReceived()
DSendMessageAction.java202 final String messageText = message.getMessageText(); in doBackgroundWork()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBar.java245 public String getMessageText() { in getMessageText() method in SnackBar
DSnackBarManager.java193 String snackBarText = snackBar.getMessageText(); in show()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleDatabaseOperations.java621 values.put(ConversationColumns.SNIPPET_TEXT, message.getMessageText()); in addSnippetTextAndPreviewToContentValues()
751 values.put(ConversationColumns.DRAFT_SNIPPET_TEXT, draftMessage.getMessageText()); in updateConversationDraftSnippetAndPreviewInTransaction()
DMessageNotificationState.java1252 final String failedMessgeSnippet = messageData.getMessageText(); in checkFailedMessages()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java481 final String message = data.getMessageText(); in onDraftChanged()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java381 final String text = message.getMessageText(); in makePduBody()