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

  /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...]
Message.java 208 BodyPart bodyPart = new BodyPart();
209 ((Multipart) stack.peek()).addBodyPart(bodyPart);
210 stack.push(bodyPart);
217 expect(BodyPart.class);
  /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);
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);
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/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/Email/tests/src/com/android/emailcommon/internet/
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/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
TelephonyBackupAgentTest.java 349 final ContentValues bodyPart = new ContentValues();
350 bodyPart.put(Telephony.Mms.Part.SEQ, 0);
351 bodyPart.put(Telephony.Mms.Part.CONTENT_TYPE, TEXT_PLAIN);
352 bodyPart.put(Telephony.Mms.Part.NAME, srcName);
353 bodyPart.put(Telephony.Mms.Part.CONTENT_ID, "<"+srcName+">");
354 bodyPart.put(Telephony.Mms.Part.CONTENT_LOCATION, srcName);
355 bodyPart.put(Telephony.Mms.Part.CHARSET, charset);
356 bodyPart.put(Telephony.Mms.Part.TEXT, body);
357 table.add(bodyPart);
358 mMmsAllContentValues.add(bodyPart);
    [all...]
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/
ImapHelper.java 30 import com.android.phone.common.mail.BodyPart;
514 public BodyPart transcriptionBodyPart;
569 BodyPart bodyPart = multipart.getBodyPart(i);
570 String bodyPartMimeType = bodyPart.getMimeType().toLowerCase();
571 LogUtils.d(TAG, "bodyPart mime type: " + bodyPartMimeType);
576 messageStructureWrapper.transcriptionBodyPart = bodyPart;
578 VvmLog.v(TAG, "Unknown bodyPart MIME: " + bodyPartMimeType);
623 BodyPart bodyPart = multipart.getBodyPart(i)
    [all...]
  /prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpmime/4.3.2/
httpmime-4.3.2.jar 
  /prebuilts/devtools/tools/lib/
httpmime-4.1.jar 
  /prebuilts/tools/common/http-client/
httpmime-4.1.1.jar 
  /prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpmime/4.1/
httpmime-4.1.jar 
  /prebuilts/tools/common/offline-m2/org/apache/httpcomponents/httpmime/4.1/
httpmime-4.1.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.apache.httpcomponents.httpclient_4.1.3.v201209201135.jar 

Completed in 6067 milliseconds