Searched refs:bodyPart (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | MimeUtilityTest.java | 314 final Part cid1bp = MessageTestUtils.bodyPart("image/gif", cid1); in testFindPartByContentIdTestCase() 316 final Part cid2bp = MessageTestUtils.bodyPart("image/gif", "<" + cid2 + ">"); in testFindPartByContentIdTestCase() 320 .addBodyPart(MessageTestUtils.bodyPart("text/html", null)) in testFindPartByContentIdTestCase() 330 .addBodyPart(MessageTestUtils.bodyPart("image/tiff", "cid.4@android.com")) in testFindPartByContentIdTestCase() 333 .addBodyPart(MessageTestUtils.bodyPart("text/plain", null)) in testFindPartByContentIdTestCase() 334 .addBodyPart(MessageTestUtils.bodyPart("text/html", null)) in testFindPartByContentIdTestCase() 338 .addBodyPart(MessageTestUtils.bodyPart("image/gif", "cid.3@android.com")) in testFindPartByContentIdTestCase() 355 final Part cid1bp = MessageTestUtils.bodyPart("image/gif; name=\"im1.gif\"", cid1); in testCollectParts() 357 final Part cid2bp = MessageTestUtils.bodyPart("image/gif", cid2); in testCollectParts() 360 final Part cid3bp = MessageTestUtils.bodyPart("image/gif", cid3); in testCollectParts() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | MimeUtility.java | 222 BodyPart bodyPart = multipart.getBodyPart(i); in findFirstPartByMimeType() local 223 Part ret = findFirstPartByMimeType(bodyPart, mimeType); in findFirstPartByMimeType() 239 BodyPart bodyPart = multipart.getBodyPart(i); in findPartByContentId() local 240 Part ret = findPartByContentId(bodyPart, contentId); in findPartByContentId()
|
D | MimeMessage.java | 585 MimeBodyPart bodyPart = new MimeBodyPart(); in startBodyPart() local 586 ((MimeMultipart)stack.peek()).addBodyPart(bodyPart); in startBodyPart() 587 stack.push(bodyPart); in startBodyPart()
|
D | MimeMultipart.java | 93 BodyPart bodyPart = mParts.get(i); in writeTo() local 96 bodyPart.writeTo(out); in writeTo()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | LegacyConversionsTests.java | 261 attachmentPart = MessageTestUtils.bodyPart("image/jpg", null); in testAttachmentDispositions() 270 attachmentPart = MessageTestUtils.bodyPart("image/gif", null); in testAttachmentDispositions() 279 attachmentPart = MessageTestUtils.bodyPart("text/calendar", null); in testAttachmentDispositions() 355 BodyPart attachmentPart = MessageTestUtils.bodyPart("image/jpg", null); in prepareLegacyMessageWithAttachments() 385 .addBodyPart(MessageTestUtils.bodyPart("text/html", null)) in prepareLegacyMessageWithAttachments()
|
/packages/apps/Email/src/org/apache/james/mime4j/message/ |
D | Multipart.java | 141 public void addBodyPart(BodyPart bodyPart) { in addBodyPart() argument 142 bodyParts.add(bodyPart); in addBodyPart() 143 bodyPart.setParent(parent); in addBodyPart()
|
D | Message.java | 208 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/ |
D | MessageTestUtils.java | 77 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()
|