Home
last modified time | relevance | path

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

/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/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/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/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeMessage.java630 final MimeBodyPart bodyPart = new MimeBodyPart(); in startBodyPart() local
631 ((MimeMultipart)stack.peek()).addBodyPart(bodyPart); in startBodyPart()
632 stack.push(bodyPart); in startBodyPart()
DMimeMultipart.java94 BodyPart bodyPart = mParts.get(i); in writeTo() local
97 bodyPart.writeTo(out); in writeTo()