Home
last modified time | relevance | path

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

/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java421 final ContentValues bodyPart = new ContentValues(); in createBodyCursor() local
422 bodyPart.put(Telephony.Mms.Part.SEQ, 0); in createBodyCursor()
423 bodyPart.put(Telephony.Mms.Part.CONTENT_TYPE, TEXT_PLAIN); in createBodyCursor()
424 bodyPart.put(Telephony.Mms.Part.NAME, srcName); in createBodyCursor()
425 bodyPart.put(Telephony.Mms.Part.CONTENT_ID, "<"+srcName+">"); in createBodyCursor()
426 bodyPart.put(Telephony.Mms.Part.CONTENT_LOCATION, srcName); in createBodyCursor()
427 bodyPart.put(Telephony.Mms.Part.CHARSET, charset); in createBodyCursor()
428 bodyPart.put(Telephony.Mms.Part.TEXT, body); in createBodyCursor()
429 table.add(bodyPart); in createBodyCursor()
430 rowsContainer.add(bodyPart); in createBodyCursor()
/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/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/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/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/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java568 BodyPart bodyPart = multipart.getBodyPart(i); in getMessageOrNull() local
569 String bodyPartMimeType = bodyPart.getMimeType().toLowerCase(); in getMessageOrNull()
575 messageStructureWrapper.transcriptionBodyPart = bodyPart; in getMessageOrNull()
618 BodyPart bodyPart = multipart.getBodyPart(i); in getVoicemailPayloadFromMessage() local
619 String bodyPartMimeType = bodyPart.getMimeType().toLowerCase(); in getVoicemailPayloadFromMessage()
622 byte[] bytes = getDataFromBody(bodyPart.getBody()); in getVoicemailPayloadFromMessage()
/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()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMultipart.java94 BodyPart bodyPart = parts.get(i); in writeTo() local
97 bodyPart.writeTo(out); in writeTo()
DMimeMessage.java644 final MimeBodyPart bodyPart = new MimeBodyPart(); in startBodyPart() local
645 ((MimeMultipart) stack.peek()).addBodyPart(bodyPart); in startBodyPart()
646 stack.push(bodyPart); in startBodyPart()