Home
last modified time | relevance | path

Searched refs:BodyPart (Results 1 – 20 of 20) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DMultipart.java48 private List<BodyPart> bodyParts = new LinkedList<BodyPart>();
92 for (Iterator<BodyPart> it = bodyParts.iterator(); it.hasNext();) { in setParent()
120 public List<BodyPart> getBodyParts() { in getBodyParts()
129 public void setBodyParts(List<BodyPart> bodyParts) { in setBodyParts()
131 for (Iterator<BodyPart> it = bodyParts.iterator(); it.hasNext();) { in setBodyParts()
141 public void addBodyPart(BodyPart bodyPart) { in addBodyPart()
170 List<BodyPart> bodyParts = getBodyParts(); in writeTo()
DMessage.java208 BodyPart bodyPart = new BodyPart(); in startBodyPart()
217 expect(BodyPart.class); in endBodyPart()
DBodyPart.java32 public class BodyPart extends Entity { class
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
DMessageTestUtils.java77 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException { in bodyPart()
93 public static BodyPart textPart(String mimeType, String text) throws MessagingException { in textPart()
109 private final ArrayList<BodyPart> mParts = new ArrayList<BodyPart>();
136 public MultipartBuilder addBodyPart(final BodyPart bodyPart) { in addBodyPart()
149 for (BodyPart p : mParts) { in build()
160 public BodyPart buildBodyPart() throws MessagingException { in buildBodyPart()
161 final BodyPart bp = new MimeBodyPart(); in buildBodyPart()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMultipart.java23 protected ArrayList<BodyPart> mParts = new ArrayList<BodyPart>();
27 public void addBodyPart(BodyPart part) throws MessagingException { in addBodyPart()
31 public void addBodyPart(BodyPart part, int index) throws MessagingException { in addBodyPart()
35 public BodyPart getBodyPart(int index) throws MessagingException { in getBodyPart()
47 public boolean removeBodyPart(BodyPart part) throws MessagingException { in removeBodyPart()
DBodyPart.java18 public abstract class BodyPart implements Part { class
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DMultipart.java24 protected ArrayList<BodyPart> mParts = new ArrayList<BodyPart>();
28 public void addBodyPart(BodyPart part) throws MessagingException { in addBodyPart()
32 public void addBodyPart(BodyPart part, int index) throws MessagingException { in addBodyPart()
36 public BodyPart getBodyPart(int index) throws MessagingException { in getBodyPart()
48 public boolean removeBodyPart(BodyPart part) throws MessagingException { in removeBodyPart()
DBodyPart.java19 public abstract class BodyPart implements Part { class
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java31 import com.android.emailcommon.mail.BodyPart;
146 BodyPart[] sourceAttachments = new BodyPart[3]; in brokentestAttachmentDispositions()
147 BodyPart attachmentPart; in brokentestAttachmentDispositions()
231 BodyPart[] attachmentParts = new BodyPart[numAttachments]; in prepareLegacyMessageWithAttachments()
244 BodyPart attachmentPart = MessageTestUtils.bodyPart("image/jpg", null); in prepareLegacyMessageWithAttachments()
263 private Message prepareLegacyMessageWithAttachments(BodyPart[] attachments) in prepareLegacyMessageWithAttachments()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java32 import org.apache.james.mime4j.message.BodyPart;
176 List<BodyPart> partList = multipart.getBodyParts(); in testWriteToAlternativePart()
220 List<BodyPart> partList = multipart.getBodyParts(); in testWriteToMixedPart()
DMimeUtilityTest.java23 import com.android.emailcommon.mail.BodyPart;
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java37 import com.android.voicemail.impl.mail.BodyPart;
513 public BodyPart transcriptionBodyPart;
563 BodyPart bodyPart = multipart.getBodyPart(i); in getMessageOrNull()
613 BodyPart bodyPart = multipart.getBodyPart(i); in getVoicemailPayloadFromMessage()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMultipart.java18 import com.android.voicemail.impl.mail.BodyPart;
94 BodyPart bodyPart = mParts.get(i); in writeTo()
DMimeBodyPart.java19 import com.android.voicemail.impl.mail.BodyPart;
29 public class MimeBodyPart extends BodyPart {
DMimeUtility.java24 import com.android.voicemail.impl.mail.BodyPart;
381 BodyPart bp = mp.getBodyPart(i); in collectParts()
DMimeMessage.java21 import com.android.voicemail.impl.mail.BodyPart;
630 expect(BodyPart.class); in endBodyPart()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeMultipart.java19 import com.android.emailcommon.mail.BodyPart;
94 BodyPart bodyPart = mParts.get(i); in writeTo()
DMimeBodyPart.java20 import com.android.emailcommon.mail.BodyPart;
33 public class MimeBodyPart extends BodyPart {
DMimeUtility.java26 import com.android.emailcommon.mail.BodyPart;
397 BodyPart bp = mp.getBodyPart(i); in collectParts()
DMimeMessage.java21 import com.android.emailcommon.mail.BodyPart;
640 expect(BodyPart.class); in endBodyPart()