Home
last modified time | relevance | path

Searched refs:getBody (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java227 if (part != null && part.getBody() != null) { in getTextFromPart()
228 InputStream in = part.getBody().getInputStream(); in getTextFromPart()
381 if (part.getBody() instanceof Multipart) { in collectParts()
385 MimeMultipart mp = (MimeMultipart)part.getBody(); in collectParts()
404 } else if (part.getBody() instanceof Message) { in collectParts()
407 Message message = (Message)part.getBody(); in collectParts()
DMimeBodyPart.java84 public Body getBody() throws MessagingException { in getBody() method in MimeBodyPart
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeUtility.java226 if (part != null && part.getBody() != null) { in getTextFromPart()
227 InputStream in = part.getBody().getInputStream(); in getTextFromPart()
380 if (part.getBody() instanceof Multipart) { in collectParts()
384 MimeMultipart mp = (MimeMultipart)part.getBody(); in collectParts()
403 } else if (part.getBody() instanceof Message) { in collectParts()
406 Message message = (Message)part.getBody(); in collectParts()
DMimeBodyPart.java83 public Body getBody() throws MessagingException { in getBody() method in MimeBodyPart
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java174 assertTrue(contentType.getBody().contains("multipart/alternative")); in testWriteToAlternativePart()
175 Multipart multipart = (Multipart)mimeMessage.getBody(); in testWriteToAlternativePart()
218 assertTrue(contentType.getBody().contains("multipart/mixed")); in testWriteToMixedPart()
219 Multipart multipart = (Multipart)mimeMessage.getBody(); in testWriteToMixedPart()
297 assertTrue(contentType.getBody().equals("1.0")); in checkMimeVersion()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DLaunchConversationActivity.java77 mSmsBody = getBody(intent.getData()); in onCreate()
101 private String getBody(final Uri uri) { in getBody() method in LaunchConversationActivity
/packages/apps/Contacts/src/com/android/contacts/interactions/
DSmsInteraction.java62 String body = getBody(); in getViewHeader()
102 public String getBody() { in getBody() method in SmsInteraction
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/
DImapHelper.java467 Multipart multipart = (Multipart) message.getBody(); in getMessageOrNull()
515 Multipart multipart = (Multipart) message.getBody(); in getVoicemailPayloadFromMessage()
522 byte[] bytes = getDataFromBody(bodyPart.getBody()); in getVoicemailPayloadFromMessage()
548 mVoicemailTranscription = new String(getDataFromBody(message.getBody())); in messageRetrieved()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DBodyPart.java40 getBody().writeTo(out); in writeTo()
DEntity.java83 public Body getBody() { in getBody() method in Entity
DMessage.java89 Body body = getBody(); in writeTo()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DAction.java30 public CharSequence getBody(); in getBody() method
DDataAction.java259 public CharSequence getBody() { in getBody() method in DataAction
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DPart.java29 public Body getBody() throws MessagingException; in getBody() method
/packages/services/Telephony/src/com/android/phone/common/mail/
DPart.java28 public Body getBody() throws MessagingException; in getBody() method
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DMultimediaMessagePdu.java61 public PduBody getBody() { in getBody() method in MultimediaMessagePdu
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DMultimediaMessagePdu.java63 public PduBody getBody() { in getBody() method in MultimediaMessagePdu
/packages/services/Telephony/src/org/apache/james/mime4j/field/
DField.java142 public String getBody() { in getBody() method in Field
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
DField.java142 public String getBody() { in getBody() method in Field
/packages/apps/Email/
Dproguard-test.flags68 *** getBody();
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceStub.java224 if (storePart.getBody() == null) { in loadAttachment()
229 AttachmentUtilities.saveAttachment(mContext, storePart.getBody().getInputStream(), in loadAttachment()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java322 if (part.getBody() != null) { in saveAttachmentBody()
337 in = part.getBody().getInputStream(); in saveAttachmentBody()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java871 final Body body = message.getBody(); in testFetchBodyStructureMultipart()
951 final Body part4body = part4.getBody(); in testFetchBodyStructureMultipart()
1034 Body body = message.getBody(); in testFetchAttachment()
1055 Utility.fromUtf8(IOUtils.toByteArray(mimePart1.getBody().getInputStream()))); in testFetchAttachment()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTest.java255 final Multipart inBody = (Multipart) inMessage.getBody(); in testAttachmentRoundTrip()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/
DComposeActivityTest.java1070 "Bye%Bye", activity.getBody().getText().toString()); in testInitFromMailTo0()
1085 assertEquals(query, activity.getBody().getText().toString()); in testInitFromMailTo1()
1100 assertEquals(query, activity.getBody().getText().toString()); in testInitFromMailTo2()

12