Home
last modified time | relevance | path

Searched refs:messageBody (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java96 final String[] messageBody = new String[] { body.mTextContent, body.mHtmlContent }; in buildBodyText() local
99 if (messageBody[0] != null) { in buildBodyText()
100 if (pos < messageBody[0].length()) { in buildBodyText()
101 messageBody[0] = messageBody[0].substring(0, pos); in buildBodyText()
103 } else if (messageBody[1] != null) { in buildBodyText()
104 if (pos < messageBody[1].length()) { in buildBodyText()
105 messageBody[1] = messageBody[1].substring(0, pos); in buildBodyText()
109 return messageBody; in buildBodyText()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java681 String messageBody = null; in gsmParseSubmitPdu() local
757 messageBody = null; in gsmParseSubmitPdu()
761 messageBody = GsmAlphabet.gsm7BitPackedToString(pdu.getData(), in gsmParseSubmitPdu()
765 Log.i(TAG, "Decoded as 7BIT: " + messageBody); in gsmParseSubmitPdu()
770 messageBody = new String(pdu.getData(), pdu.getUserDataMsgOffset(), in gsmParseSubmitPdu()
772 Log.i(TAG, "Decoded as 16BIT: " + messageBody); in gsmParseSubmitPdu()
776 messageBody = new String(pdu.getData(), pdu.getUserDataMsgOffset(), in gsmParseSubmitPdu()
778 Log.i(TAG, "Decoded as KSC5601: " + messageBody); in gsmParseSubmitPdu()
786 return messageBody; in gsmParseSubmitPdu()
DBluetoothMapbMessageMime.java757 String messageBody = null; in parseMime() local
762 messageBody = message; in parseMime()
767 messageBody = remaining + messageParts[1]; in parseMime()
772 messageBody = messageParts[1]; in parseMime()
778 parseMimeBody(messageBody); in parseMime()
785 mimeParts = messageBody.split("--" + mBoundary); in parseMime()
/packages/apps/Email/src/com/android/email/activity/
DComposeActivityEmail.java60 final SpannableStringBuilder messageBody = in onQuickResponseSelected() local
64 messageBody.replace(replaceStart, replaceEnd, quickResponse); in onQuickResponseSelected()
65 mBodyView.setText(messageBody); in onQuickResponseSelected()
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DSmsMessageReceiver.java45 String messageBody = message.getMessageBody().toString(); in onReceive() local
47 Log.i(LOG_TAG, "From: " + fromAddress + " message: " + messageBody); in onReceive()
49 addNotification(context, fromAddress, messageBody); in onReceive()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java622 String messageBody = message.getMessageBody(); in openEmergencyAlertNotification() local
625 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, messageBody); in openEmergencyAlertNotification()
666 String messageBody = message.getMessageBody(); in addToNotificationBar() local
723 .setContentText(messageBody) in addToNotificationBar()
725 .bigText(messageBody)); in addToNotificationBar()
DCellBroadcastDatabaseHelper.java175 String messageBody = cursor.getString(COLUMN_V1_MESSAGE_BODY); in upgradeMessageV1ToV2() local
187 cv.put(Telephony.CellBroadcasts.MESSAGE_BODY, messageBody); in upgradeMessageV1ToV2()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DMessageHeaderViewTest.java80 final String messageBody) { in assertSnippetEquals() argument
81 assertEquals(expectedSnippet, MessageHeaderView.makeSnippet(messageBody)); in assertSnippetEquals()
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSmsReceiver.java347 final String messageBody = messages[0].getDisplayMessageBody(); in getMessagesFromIntent() local
348 if (messageBody != null) { in getMessagesFromIntent()
355 if (pattern.matcher(messageBody).matches()) { in getMessagesFromIntent()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageHeaderView.java1368 static String makeSnippet(final String messageBody) { in makeSnippet() argument
1369 if (TextUtils.isEmpty(messageBody)) { in makeSnippet()
1375 final StringReader reader = new StringReader(messageBody); in makeSnippet()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java3268 final SpannableString messageBody = new SpannableString(body);
3269 BaseInputConnection.removeComposingSpans(messageBody);
3276 removeSpansOfType(messageBody, SpanWatcher.class);
3277 removeSpansOfType(messageBody, TextWatcher.class);
3279 return messageBody;