Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DMultipart.java141 public void addBodyPart(BodyPart bodyPart) { in addBodyPart() argument
142 bodyParts.add(bodyPart); in addBodyPart()
143 bodyPart.setParent(parent); in addBodyPart()
DMessage.java208 BodyPart bodyPart = new BodyPart(); in startBodyPart() local
209 ((Multipart) stack.peek()).addBodyPart(bodyPart); in startBodyPart()
210 stack.push(bodyPart); in startBodyPart()
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
DMessageTestUtils.java77 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException { in bodyPart() method in MessageTestUtils
136 public MultipartBuilder addBodyPart(final BodyPart bodyPart) { in addBodyPart() argument
137 mParts.add(bodyPart); in addBodyPart()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java349 final ContentValues bodyPart = new ContentValues(); in createBodyCursor() local
350 bodyPart.put(Telephony.Mms.Part.SEQ, 0); in createBodyCursor()
351 bodyPart.put(Telephony.Mms.Part.CONTENT_TYPE, TEXT_PLAIN); in createBodyCursor()
352 bodyPart.put(Telephony.Mms.Part.NAME, srcName); in createBodyCursor()
353 bodyPart.put(Telephony.Mms.Part.CONTENT_ID, "<"+srcName+">"); in createBodyCursor()
354 bodyPart.put(Telephony.Mms.Part.CONTENT_LOCATION, srcName); in createBodyCursor()
355 bodyPart.put(Telephony.Mms.Part.CHARSET, charset); in createBodyCursor()
356 bodyPart.put(Telephony.Mms.Part.TEXT, body); in createBodyCursor()
357 table.add(bodyPart); in createBodyCursor()
358 mMmsAllContentValues.add(bodyPart); in createBodyCursor()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeUtilityTest.java315 final Part cid1bp = MessageTestUtils.bodyPart("image/gif; name=\"im1.gif\"", cid1); in brokentestCollectParts()
317 final Part cid2bp = MessageTestUtils.bodyPart("image/gif", cid2); in brokentestCollectParts()
320 final Part cid3bp = MessageTestUtils.bodyPart("image/gif", cid3); in brokentestCollectParts()
324 final Part cid4bp = MessageTestUtils.bodyPart("image/gif", cid4); // no name attr in brokentestCollectParts()
326 final Part cid5bp = MessageTestUtils.bodyPart("image/gif", cid5); in brokentestCollectParts()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/
DImapHelper.java469 BodyPart bodyPart = multipart.getBodyPart(i); in getMessageOrNull() local
470 String bodyPartMimeType = bodyPart.getMimeType().toLowerCase(); in getMessageOrNull()
476 messageStructureWrapper.transcriptionBodyPart = bodyPart; in getMessageOrNull()
517 BodyPart bodyPart = multipart.getBodyPart(i); in getVoicemailPayloadFromMessage() local
518 String bodyPartMimeType = bodyPart.getMimeType().toLowerCase(); in getVoicemailPayloadFromMessage()
522 byte[] bytes = getDataFromBody(bodyPart.getBody()); in getVoicemailPayloadFromMessage()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java150 attachmentPart = MessageTestUtils.bodyPart("image/jpg", null); in brokentestAttachmentDispositions()
159 attachmentPart = MessageTestUtils.bodyPart("image/gif", null); in brokentestAttachmentDispositions()
168 attachmentPart = MessageTestUtils.bodyPart("text/calendar", null); in brokentestAttachmentDispositions()
244 BodyPart attachmentPart = MessageTestUtils.bodyPart("image/jpg", null); in prepareLegacyMessageWithAttachments()
274 .addBodyPart(MessageTestUtils.bodyPart("text/html", null)) in prepareLegacyMessageWithAttachments()
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeMultipart.java93 BodyPart bodyPart = mParts.get(i); in writeTo() local
96 bodyPart.writeTo(out); in writeTo()
DMimeMessage.java629 final MimeBodyPart bodyPart = new MimeBodyPart(); in startBodyPart() local
630 ((MimeMultipart)stack.peek()).addBodyPart(bodyPart); in startBodyPart()
631 stack.push(bodyPart); in startBodyPart()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeMultipart.java94 BodyPart bodyPart = mParts.get(i); in writeTo() local
97 bodyPart.writeTo(out); in writeTo()
DMimeMessage.java630 final MimeBodyPart bodyPart = new MimeBodyPart(); in startBodyPart() local
631 ((MimeMultipart)stack.peek()).addBodyPart(bodyPart); in startBodyPart()
632 stack.push(bodyPart); in startBodyPart()