Home
last modified time | relevance | path

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

/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DComposeMessageViewTest.java106 Mockito.when(mockDraftMessageData.getMessageText()).thenReturn(message.getMessageText()); in testSend()
135 assertEquals(message.getMessageText(), composeEditText.getText().toString()); in testSend()
142 assertEquals(message.getMessageText(), ((MessageData) 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/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/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()