/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | MimeUtilityTest.java | 27 import com.android.emailcommon.mail.Part; 314 final Part cid1bp = MessageTestUtils.bodyPart("image/gif", cid1); in testFindPartByContentIdTestCase() 316 final Part cid2bp = MessageTestUtils.bodyPart("image/gif", "<" + cid2 + ">"); in testFindPartByContentIdTestCase() 325 final Part actual1_1 = MimeUtility.findPartByContentId(msg1, cid1); in testFindPartByContentIdTestCase() 343 final Part actual2_1 = MimeUtility.findPartByContentId(msg2, cid1); in testFindPartByContentIdTestCase() 347 final Part actual2_2 = MimeUtility.findPartByContentId(msg2, cid2); in testFindPartByContentIdTestCase() 355 final Part cid1bp = MessageTestUtils.bodyPart("image/gif; name=\"im1.gif\"", cid1); in testCollectParts() 357 final Part cid2bp = MessageTestUtils.bodyPart("image/gif", cid2); in testCollectParts() 360 final Part cid3bp = MessageTestUtils.bodyPart("image/gif", cid3); in testCollectParts() 364 final Part cid4bp = MessageTestUtils.bodyPart("image/gif", cid4); // no name attr in testCollectParts() [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsSmsDatabaseHelper.java | 42 import android.provider.Telephony.Mms.Part; 171 " AFTER UPDATE of " + Part.MSG_ID + " ON part " + 495 new String[] { Part._ID, Part.TEXT }, in populateWordsTable() 608 Part._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + in createMmsTables() 609 Part.MSG_ID + " INTEGER," + in createMmsTables() 610 Part.SEQ + " INTEGER DEFAULT 0," + in createMmsTables() 611 Part.CONTENT_TYPE + " TEXT," + in createMmsTables() 612 Part.NAME + " TEXT," + in createMmsTables() 613 Part.CHARSET + " INTEGER," + in createMmsTables() 614 Part.CONTENT_DISPOSITION + " TEXT," + in createMmsTables() [all …]
|
D | MmsProvider.java | 37 import android.provider.Telephony.Mms.Part; 115 qb.appendWhere(Part.MSG_ID + "=" + uri.getPathSegments().get(0)); in query() 119 qb.appendWhere(Part._ID + "=" + uri.getPathSegments().get(1)); in query() 199 finalSortOrder = Part.SEQ; in query() 240 TABLE_PART, new String[] { Part.CONTENT_TYPE }, in getType() 241 Part._ID + " = ?", new String[] { uri.getLastPathSegment() }, in getType() 381 finalValues.put(Part.MSG_ID, uri.getPathSegments().get(0)); in insert() 416 finalValues.put(Part._DATA, path); in insert() 564 extraSelection = Part.MSG_ID + "=" + uri.getPathSegments().get(0); in delete() 568 extraSelection = Part._ID + "=" + uri.getPathSegments().get(1); in delete() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | MimeUtility.java | 30 import com.android.emailcommon.mail.Part; 217 public static Part findFirstPartByMimeType(Part part, String mimeType) in findFirstPartByMimeType() 223 Part ret = findFirstPartByMimeType(bodyPart, mimeType); in findFirstPartByMimeType() 235 public static Part findPartByContentId(Part part, String contentId) throws Exception { in findPartByContentId() 240 Part ret = findPartByContentId(bodyPart, contentId); in findPartByContentId() 260 public static String getTextFromPart(Part part) { in getTextFromPart() 406 public static void collectParts(Part part, ArrayList<Part> viewables, in collectParts() 407 ArrayList<Part> attachments) throws MessagingException { in collectParts()
|
D | MimeMessage.java | 25 import com.android.emailcommon.mail.Part; 520 expect(Part.class); in startMessage() 523 ((Part)stack.peek()).setBody(m); in startMessage() 537 expect(Part.class); in startHeader() 541 expect(Part.class); in field() 544 ((Part)stack.peek()).addHeader(tokens[0], tokens[1].trim()); in field() 551 expect(Part.class); in endHeader() 555 expect(Part.class); in startMultipart() 557 Part e = (Part)stack.peek(); in startMultipart() 568 expect(Part.class); in body() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
D | FetchProfile.java | 77 public Part getFirstPart() { in getFirstPart() 79 if (o instanceof Part) { in getFirstPart() 80 return (Part) o; in getFirstPart()
|
D | Multipart.java | 22 protected Part mParent; 56 public Part getParent() throws MessagingException { in getParent() 60 public void setParent(Part parent) throws MessagingException { in setParent()
|
D | BodyPart.java | 19 public abstract class BodyPart implements Part {
|
D | Part.java | 22 public interface Part extends Fetchable { interface
|
D | Message.java | 22 public abstract class Message implements Part, Body {
|
/packages/apps/Email/tests/src/com/android/email/ |
D | LegacyConversionsTests.java | 35 import com.android.emailcommon.mail.Part; 181 ArrayList<Part> viewables = new ArrayList<Part>(); in testUpdateBodyFieldsNullText() 182 Part emptyTextPart = new MimeBodyPart(null, "text/plain"); in testUpdateBodyFieldsNullText() 218 ArrayList<Part> viewables = new ArrayList<Part>(); in convertAndCheckcheckAddedAttachments() 219 ArrayList<Part> attachments = new ArrayList<Part>(); in convertAndCheckcheckAddedAttachments() 312 ArrayList<Part> viewables = new ArrayList<Part>(); in testAddDuplicateAttachments() 313 ArrayList<Part> attachments = new ArrayList<Part>(); in testAddDuplicateAttachments() 327 viewables = new ArrayList<Part>(); in testAddDuplicateAttachments() 328 attachments = new ArrayList<Part>(); in testAddDuplicateAttachments() 417 private void checkAttachment(String tag, Part expected, EmailContent.Attachment actual, in checkAttachment() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | ConversionUtilities.java | 22 import com.android.emailcommon.mail.Part; 61 EmailContent.Message localMessage, ArrayList<Part> viewables) in updateBodyFields() 72 for (Part viewable : viewables) { in updateBodyFields()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | AudioModel.java | 31 import android.provider.Telephony.Mms.Part; 72 path = c.getString(c.getColumnIndexOrThrow(Part._DATA)); in initModelFromUri() 73 mContentType = c.getString(c.getColumnIndexOrThrow(Part.CONTENT_TYPE)); in initModelFromUri()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | UriImage.java | 34 import android.provider.Telephony.Mms.Part; 132 filePath = c.getString(c.getColumnIndexOrThrow(Part.FILENAME)); in initFromContentUri() 135 c.getColumnIndexOrThrow(Part._DATA)); in initFromContentUri() 138 c.getColumnIndexOrThrow(Part.CONTENT_TYPE)); in initFromContentUri()
|
/packages/apps/Email/src/com/android/email/ |
D | LegacyConversions.java | 38 import com.android.emailcommon.mail.Part; 162 ArrayList<Part> attachments) throws MessagingException, IOException { in updateAttachments() 164 for (Part attachmentPart : attachments) { in updateAttachments() 188 Part part) throws MessagingException, IOException { in addOneAttachment() 289 public static void saveAttachmentBody(Context context, Part part, Attachment localAttachment, in saveAttachmentBody()
|
D | MessagingController.java | 48 import com.android.emailcommon.mail.Part; 509 ArrayList<Part> viewables = new ArrayList<Part>(); in loadUnsyncedMessages() 510 ArrayList<Part> attachments = new ArrayList<Part>(); in loadUnsyncedMessages() 513 for (Part part : viewables) { in loadUnsyncedMessages() 1015 ArrayList<Part> viewables = new ArrayList<Part>(); in copyOneMessageToProvider() 1016 ArrayList<Part> attachments = new ArrayList<Part>(); in copyOneMessageToProvider()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | ImapStoreUnitTests.java | 54 import com.android.emailcommon.mail.Part; 875 final Part part1 = mimeMultipart.getBodyPart(0); in testFetchBodyStructureMultipart() 876 final Part part2 = mimeMultipart.getBodyPart(1); in testFetchBodyStructureMultipart() 877 final Part part3 = mimeMultipart.getBodyPart(2); in testFetchBodyStructureMultipart() 878 final Part part4 = mimeMultipart.getBodyPart(3); in testFetchBodyStructureMultipart() 1037 Part part1 = mimeMultipart.getBodyPart(1); in testFetchAttachment() 1088 ArrayList<Part> viewables = new ArrayList<Part>(); in testNilMessage() 1089 ArrayList<Part> attachments = new ArrayList<Part>(); in testNilMessage() 1092 Part emptyBodyPart = viewables.get(0); in testNilMessage() 1101 viewables = new ArrayList<Part>(); in testNilMessage() [all …]
|
/packages/apps/Email/ |
D | proguard.flags | 127 *** findPartByContentId(com.android.emailcommon.mail.Part, java.lang.String); 128 *** findFirstPartByMimeType(com.android.emailcommon.mail.Part, java.lang.String);
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | EmailSyncAdapter.java | 43 import com.android.emailcommon.mail.Part; 804 ArrayList<Part> viewables = new ArrayList<Part>(); 806 ArrayList<Part> attachments = new ArrayList<Part>();
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | ImapFolder.java | 48 import com.android.emailcommon.mail.Part; 565 final Part fetchPart = fp.getFirstPart(); in fetchInternal() 731 private static void parseBodyStructure(ImapList bs, Part part, String id) in parseBodyStructure()
|