Home
last modified time | relevance | path

Searched refs:getMessageText (Results 1 – 18 of 18) 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.java96 assertEquals("Draft text changed", draftMessage, actual.getMessageText()); in testWriteDraft()
156 assertEquals("Draft message text differs", draftMessage, draft.message.getMessageText()); in testReadDraft()
215 assertEquals("Draft message text differs", "", draft.message.getMessageText()); in testReadDraftForNewConversation()
268 … assertEquals("Draft message text differs", draftMessage, draft.message.getMessageText()); in testWriteAndReadDraft()
303 assertEquals("Initial text mismatch", initialMessage, initial.getMessageText()); in testUpdateDraft()
324 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/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.java677 public final String getMessageText() { in getMessageText() method in MessageData
822 !TextUtils.isEmpty(getMessageText()); in hasContent()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DInsertNewMessageAction.java306 final String messageText = message.getMessageText(); in insertBroadcastSmsMessage()
376 final String messageText = content.getMessageText(); in insertSendingSmsMessage()
DBugleActionToasts.java110 (message == null) ? "" : message.getMessageText()); in onMessageReceived()
DSendMessageAction.java210 final String messageText = message.getMessageText(); in doBackgroundWork()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DMessage.java190 public String getMessageText() { in getMessageText() method in Message
DBaseNotificationDelegate.java232 message.getMessageText(), in postNotification()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBar.java245 public String getMessageText() { in getMessageText() method in SnackBar
DSnackBarManager.java212 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.java1257 final String failedMessgeSnippet = messageData.getMessageText(); in checkFailedMessages()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java485 final String message = data.getMessageText(); in onDraftChanged()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java386 final String text = message.getMessageText(); in makePduBody()