HomeSort by relevance Sort by last modified time
    Searched refs:BodyPart (Results 1 - 20 of 20) sorted by null

  /packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
Multipart.java 24 protected ArrayList<BodyPart> mParts = new ArrayList<BodyPart>();
28 public void addBodyPart(BodyPart part) throws MessagingException {
32 public void addBodyPart(BodyPart part, int index) throws MessagingException {
36 public BodyPart getBodyPart(int index) throws MessagingException {
48 public boolean removeBodyPart(BodyPart part) throws MessagingException {
BodyPart.java 19 public abstract class BodyPart implements Part {
  /packages/services/Telephony/src/com/android/phone/common/mail/
Multipart.java 23 protected ArrayList<BodyPart> mParts = new ArrayList<BodyPart>();
27 public void addBodyPart(BodyPart part) throws MessagingException {
31 public void addBodyPart(BodyPart part, int index) throws MessagingException {
35 public BodyPart getBodyPart(int index) throws MessagingException {
47 public boolean removeBodyPart(BodyPart part) throws MessagingException {
BodyPart.java 18 public abstract class BodyPart implements Part {
  /packages/apps/Email/tests/src/com/android/emailcommon/mail/
MessageTestUtils.java 77 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException {
93 public static BodyPart textPart(String mimeType, String text) throws MessagingException {
104 * Multipart or BodyPart which contains accepted BodyParts. Usually combined with other
109 private final ArrayList<BodyPart> mParts = new ArrayList<BodyPart>();
131 * Modifier method to add BodyPart to intended Multipart.
133 * @param bodyPart BodyPart to be added
136 public MultipartBuilder addBodyPart(final BodyPart bodyPart)
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
Multipart.java 48 private List<BodyPart> bodyParts = new LinkedList<BodyPart>();
92 for (Iterator<BodyPart> it = bodyParts.iterator(); it.hasNext();) {
118 * @return the list of <code>BodyPart</code> objects.
120 public List<BodyPart> getBodyParts() {
127 * @param bodyParts the new list of <code>BodyPart</code> objects.
129 public void setBodyParts(List<BodyPart> bodyParts) {
131 for (Iterator<BodyPart> it = bodyParts.iterator(); it.hasNext();) {
139 * @param bodyPart the body part.
141 public void addBodyPart(BodyPart bodyPart)
    [all...]
BodyPart.java 30 * @version $Id: BodyPart.java,v 1.3 2004/10/02 12:41:11 ntherning Exp $
32 public class BodyPart extends Entity {
Message.java 208 BodyPart bodyPart = new BodyPart();
209 ((Multipart) stack.peek()).addBodyPart(bodyPart);
210 stack.push(bodyPart);
217 expect(BodyPart.class);
  /packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java 31 import com.android.emailcommon.mail.BodyPart;
146 BodyPart[] sourceAttachments = new BodyPart[3];
147 BodyPart attachmentPart;
150 attachmentPart = MessageTestUtils.bodyPart("image/jpg", null);
159 attachmentPart = MessageTestUtils.bodyPart("image/gif", null);
168 attachmentPart = MessageTestUtils.bodyPart("text/calendar", null);
231 BodyPart[] attachmentParts = new BodyPart[numAttachments];
244 BodyPart attachmentPart = MessageTestUtils.bodyPart("image/jpg", null)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
MimeMultipart.java 19 import com.android.emailcommon.mail.BodyPart;
94 BodyPart bodyPart = mParts.get(i);
97 bodyPart.writeTo(out);
MimeBodyPart.java 20 import com.android.emailcommon.mail.BodyPart;
33 public class MimeBodyPart extends BodyPart {
MimeUtility.java 26 import com.android.emailcommon.mail.BodyPart;
397 BodyPart bp = mp.getBodyPart(i);
MimeMessage.java 21 import com.android.emailcommon.mail.BodyPart;
630 final MimeBodyPart bodyPart = new MimeBodyPart();
631 ((MimeMultipart)stack.peek()).addBodyPart(bodyPart);
632 stack.push(bodyPart);
640 expect(BodyPart.class);
  /packages/services/Telephony/src/com/android/phone/common/mail/internet/
MimeMultipart.java 18 import com.android.phone.common.mail.BodyPart;
93 BodyPart bodyPart = mParts.get(i);
96 bodyPart.writeTo(out);
MimeBodyPart.java 19 import com.android.phone.common.mail.BodyPart;
32 public class MimeBodyPart extends BodyPart {
MimeUtility.java 25 import com.android.phone.common.mail.BodyPart;
396 BodyPart bp = mp.getBodyPart(i);
MimeMessage.java 20 import com.android.phone.common.mail.BodyPart;
629 final MimeBodyPart bodyPart = new MimeBodyPart();
630 ((MimeMultipart)stack.peek()).addBodyPart(bodyPart);
631 stack.push(bodyPart);
639 expect(BodyPart.class);
  /packages/apps/Email/tests/src/com/android/emailcommon/internet/
Rfc822OutputTests.java 32 import org.apache.james.mime4j.message.BodyPart;
176 List<BodyPart> partList = multipart.getBodyParts();
220 List<BodyPart> partList = multipart.getBodyParts();
MimeUtilityTest.java 23 import com.android.emailcommon.mail.BodyPart;
315 final Part cid1bp = MessageTestUtils.bodyPart("image/gif; name=\"im1.gif\"", cid1);
317 final Part cid2bp = MessageTestUtils.bodyPart("image/gif", cid2);
320 final Part cid3bp = MessageTestUtils.bodyPart("image/gif", cid3);
324 final Part cid4bp = MessageTestUtils.bodyPart("image/gif", cid4); // no name attr
326 final Part cid5bp = MessageTestUtils.bodyPart("image/gif", cid5);
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/
ImapHelper.java 28 import com.android.phone.common.mail.BodyPart;
285 BodyPart bodyPart = multipart.getBodyPart(i);
286 String bodyPartMimeType = bodyPart.getMimeType().toLowerCase();
287 LogUtils.d(TAG, "bodyPart mime type: " + bodyPartMimeType);
359 BodyPart bodyPart = multipart.getBodyPart(i);
360 String bodyPartMimeType = bodyPart.getMimeType().toLowerCase();
361 LogUtils.d(TAG, "bodyPart mime type: " + bodyPartMimeType);
364 byte[] bytes = getAudioDataFromBody(bodyPart.getBody())
    [all...]

Completed in 1952 milliseconds