Searched refs:attachmentPart (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Email/tests/src/com/android/email/ |
D | LegacyConversionsTests.java | 147 BodyPart attachmentPart; in brokentestAttachmentDispositions() local 150 attachmentPart = MessageTestUtils.bodyPart("image/jpg", null); in brokentestAttachmentDispositions() 151 attachmentPart.setHeader(MimeHeader.HEADER_CONTENT_TYPE, "image/jpg"); in brokentestAttachmentDispositions() 152 attachmentPart.setHeader(MimeHeader.HEADER_CONTENT_TRANSFER_ENCODING, "base64"); in brokentestAttachmentDispositions() 153 attachmentPart.setHeader(MimeHeader.HEADER_CONTENT_DISPOSITION, in brokentestAttachmentDispositions() 155 attachmentPart.setHeader(MimeHeader.HEADER_ANDROID_ATTACHMENT_STORE_DATA, "100"); in brokentestAttachmentDispositions() 156 sourceAttachments[0] = attachmentPart; in brokentestAttachmentDispositions() 159 attachmentPart = MessageTestUtils.bodyPart("image/gif", null); in brokentestAttachmentDispositions() 160 attachmentPart.setHeader(MimeHeader.HEADER_CONTENT_TYPE, "image/gif"); in brokentestAttachmentDispositions() 161 attachmentPart.setHeader(MimeHeader.HEADER_CONTENT_TRANSFER_ENCODING, "base64"); in brokentestAttachmentDispositions() [all …]
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 437 final ContentValues attachmentPart = new ContentValues(); in createBodyCursor() local 438 attachmentPart.put(Telephony.Mms.Part.SEQ, i + 1); in createBodyCursor() 439 attachmentPart.put(Telephony.Mms.Part.CONTENT_TYPE, attachmentType); in createBodyCursor() 440 attachmentPart.put(Telephony.Mms.Part.NAME, attachmentFilename); in createBodyCursor() 441 attachmentPart.put(Telephony.Mms.Part.CONTENT_ID, "<"+attachmentFilename+">"); in createBodyCursor() 442 attachmentPart.put(Telephony.Mms.Part.CONTENT_LOCATION, attachmentFilename); in createBodyCursor() 443 table.add(attachmentPart); in createBodyCursor() 444 rowsContainer.add(attachmentPart); in createBodyCursor()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ConversationMessageData.java | 264 final MessagePartData attachmentPart = MessagePartData.createMediaMessagePart( 266 attachmentPart.updatePartId(partId); 267 attachmentPart.updateMessageId(messageId); 268 return attachmentPart;
|
/packages/apps/Email/provider_src/com/android/email/ |
D | LegacyConversions.java | 169 for (Part attachmentPart : attachments) { in updateAttachments() 170 addOneAttachment(context, localMessage, attachmentPart); in updateAttachments()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Message.java | 478 for (final Part attachmentPart : attachments) { in Message() 479 mAttachments.add(new Attachment(context, attachmentPart, in Message()
|