/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
H A D | FetchProfile.java | 28 * Part: Indicates that the given Part should be fetched. The provider
74 * @return the first {@link Part} in this collection, or null if it doesn't contain
75 * {@link Part}.
77 public Part getFirstPart() {
79 if (o instanceof Part) {
80 return (Part) o;
|
H A D | BodyPart.java | 19 public abstract class BodyPart implements Part {
|
H A D | Multipart.java | 22 protected Part mParent;
56 public Part getParent() throws MessagingException {
60 public void setParent(Part parent) throws MessagingException {
|
H A D | Part.java | 22 public interface Part extends Fetchable { interface in inherits:Fetchable
|
H A D | Message.java | 22 public abstract class Message implements Part, Body {
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
H A D | MimeUtilityTest.java | 27 import com.android.emailcommon.mail.Part; 309 // TODO: tests for findFirstPartByMimeType(Part part, String mimeType) 311 /** Tests for findPartByContentId(Part part, String contentId) */ 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); 330 final ArrayList<Part> view1 = new ArrayList<Part>(); [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
H A D | LegacyConversionsTests.java | 39 import com.android.emailcommon.mail.Part; 106 ArrayList<Part> viewables = new ArrayList<Part>(); 107 ArrayList<Part> attachments = new ArrayList<Part>(); 201 ArrayList<Part> viewables = new ArrayList<Part>(); 202 ArrayList<Part> attachments = new ArrayList<Part>(); 216 viewables = new ArrayList<Part>(); [all...] |
H A D | LegacyConversionsTest.java | 31 import com.android.emailcommon.mail.Part; 186 ArrayList<Part> viewables = new ArrayList<Part>(); 256 final Part attPart = inBody.getBodyPart(0);
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
H A D | ConversionUtilities.java | 22 import com.android.emailcommon.mail.Part; 64 public static BodyFieldData parseBodyFields(ArrayList<Part> viewables) 70 for (Part viewable : viewables) {
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | MmsSmsDatabaseHelper.java | 42 import android.provider.Telephony.Mms.Part; 172 " AFTER UPDATE of " + Part.MSG_ID + " ON part " + 496 new String[] { Part._ID, Part.TEXT }, 509 long id = mmsRows.getLong(0); // 0 for Part._ID 510 String body = mmsRows.getString(1); // 1 for Part.TEXT 612 Part._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + 613 Part.MSG_ID + " INTEGER," + 614 Part.SEQ + " INTEGER DEFAULT 0," + 615 Part [all...] |
H A D | MmsProvider.java | 40 import android.provider.Telephony.Mms.Part; 121 qb.appendWhere(Part.MSG_ID + "=" + uri.getPathSegments().get(0)); 125 qb.appendWhere(Part._ID + "=" + uri.getPathSegments().get(1)); 205 finalSortOrder = Part.SEQ; 252 TABLE_PART, new String[] { Part.CONTENT_TYPE }, 253 Part._ID + " = ?", new String[] { uri.getLastPathSegment() }, 281 if (values != null && values.containsKey(Part._DATA)) { 406 finalValues.put(Part.MSG_ID, uri.getPathSegments().get(0)); 441 finalValues.put(Part._DATA, path); 589 extraSelection = Part [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
H A D | Utilities.java | 32 import com.android.emailcommon.mail.Part; 117 ArrayList<Part> viewables = new ArrayList<Part>(); 118 ArrayList<Part> attachments = new ArrayList<Part>();
|
/packages/apps/Mms/src/com/android/mms/model/ |
H A D | AudioModel.java | 31 import android.provider.Telephony.Mms.Part; 72 path = c.getString(c.getColumnIndexOrThrow(Part._DATA)); 73 mContentType = c.getString(c.getColumnIndexOrThrow(Part.CONTENT_TYPE));
|
H A D | VideoModel.java | 41 import android.provider.Telephony.Mms.Part; 116 Part.CONTENT_TYPE));
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
H A D | MimeMessage.java | 25 import com.android.emailcommon.mail.Part; 557 expect(Part.class); 560 ((Part)stack.peek()).setBody(m); 576 expect(Part.class); 581 expect(Part.class); 584 ((Part)stack.peek()).addHeader(tokens[0], tokens[1].trim()); 592 expect(Part.class); 597 expect(Part.class); 599 final Part e = (Part)stac [all...] |
H A D | MimeUtility.java | 30 import com.android.emailcommon.mail.Part; 219 * Reads the Part's body and returns a String based on any charset conversion that needed 225 public static String getTextFromPart(Part part) { 361 * Recursively scan a Part (usually a Message) and sort out which of its children will be 371 public static void collectParts(Part part, ArrayList<Part> viewables, 372 ArrayList<Part> attachments) throws MessagingException {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapContentObserver.java | 1471 values.put(Mms.Part.CONTENT_TYPE, "text/plain"); 1472 values.put(Mms.Part.CHARSET, 106); 1474 values.put(Mms.Part.FILENAME, part.mPartName); 1475 values.put(Mms.Part.NAME, part.mPartName); 1477 values.put(Mms.Part.FILENAME, "text_" + count +".txt"); 1478 values.put(Mms.Part.NAME, "text_" + count +".txt"); 1482 values.put(Mms.Part.CONTENT_ID, part.mContentId); 1485 values.put(Mms.Part.CONTENT_ID, "<" + part.mPartName + ">"); 1487 values.put(Mms.Part.CONTENT_ID, "<text_" + count + ">"); 1492 values.put(Mms.Part [all...] |
H A D | BluetoothMapContent.java | 1756 String selection = new String(Mms.Part.MSG_ID + "=" + id); 1765 String contentType = c.getString(c.getColumnIndex(Mms.Part.CONTENT_TYPE)); 1766 String name = c.getString(c.getColumnIndex(Mms.Part.NAME)); 1767 String charset = c.getString(c.getColumnIndex(Mms.Part.CHARSET)); 1768 String filename = c.getString(c.getColumnIndex(Mms.Part.FILENAME)); 1769 String text = c.getString(c.getColumnIndex(Mms.Part.TEXT)); 1770 Integer fd = c.getInt(c.getColumnIndex(Mms.Part._DATA)); 1771 String cid = c.getString(c.getColumnIndex(Mms.Part.CONTENT_ID)); 1772 String cl = c.getString(c.getColumnIndex(Mms.Part.CONTENT_LOCATION)); 1773 String cdisp = c.getString(c.getColumnIndex(Mms.Part [all...] |
/packages/apps/Email/provider_src/com/android/email/ |
H A D | LegacyConversions.java | 40 import com.android.emailcommon.mail.Part; 166 final EmailContent.Message localMessage, final ArrayList<Part> attachments) 169 for (Part attachmentPart : attachments) { 175 final EmailContent.Message localMessage, final ArrayList<Part> inlineAttachments) 177 for (final Part inlinePart : inlineAttachments) { 188 * Convert a MIME Part object into an Attachment object. Separated for unit testing. 195 protected static Attachment mimePartToAttachment(final Part part) throws MessagingException { 258 final EmailContent.Message localMessage, final Part part) 319 public static void saveAttachmentBody(final Context context, final Part part,
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | Message.java | 39 import com.android.emailcommon.mail.Part; 460 ArrayList<Part> viewables = new ArrayList<Part>(); 461 ArrayList<Part> attachments = new ArrayList<Part>(); 478 for (final Part attachmentPart : attachments) { 485 for (final Part viewablePart : viewables) {
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
H A D | ImapStoreUnitTests.java | 54 import com.android.emailcommon.mail.Part; 877 final Part part1 = mimeMultipart.getBodyPart(0); 878 final Part part2 = mimeMultipart.getBodyPart(1); 879 final Part part3 = mimeMultipart.getBodyPart(2); 880 final Part part4 = mimeMultipart.getBodyPart(3); 1039 Part part1 = mimeMultipart.getBodyPart(1); 1090 ArrayList<Part> viewables = new ArrayList<Part>(); 1091 ArrayList<Part> attachments = new ArrayList<Part>(); [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | UriImage.java | 33 import android.provider.Telephony.Mms.Part; 142 filePath = c.getString(c.getColumnIndexOrThrow(Part.FILENAME)); 145 c.getColumnIndexOrThrow(Part._DATA)); 148 c.getColumnIndexOrThrow(Part.CONTENT_TYPE));
|
/packages/apps/Email/provider_src/com/android/email/service/ |
H A D | ImapService.java | 53 import com.android.emailcommon.mail.Part; 265 ArrayList<Part> viewables = new ArrayList<Part>(); 266 ArrayList<Part> attachments = new ArrayList<Part>(); 270 for (Part part : viewables) { 1590 ArrayList<Part> viewables = new ArrayList<>(); 1591 ArrayList<Part> attachments = new ArrayList<>(); 1595 for (Part part : viewables) {
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | EmailSyncParser.java | 27 import com.android.emailcommon.mail.Part; 436 ArrayList<Part> viewables = new ArrayList<Part>(); 438 ArrayList<Part> attachments = new ArrayList<Part>();
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
H A D | ImapFolder.java | 46 import com.android.emailcommon.mail.Part; 640 * Part - UID FETCH (BODY.PEEK[ID]) where ID = mime part ID 666 final Part fetchPart = fp.getFirstPart(); 854 private static void parseBodyStructure(ImapList bs, Part part, String id) 888 * it to the Part.
|