Home
last modified time | relevance | path

Searched refs:contentId (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/mail/
DMessageTestUtils.java77 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException { in bodyPart() argument
79 if (contentId != null) { in bodyPart()
80 bp.setHeader(MimeHeader.HEADER_CONTENT_ID, contentId); in bodyPart()
230 public TextBuilder addCidImg(String contentId) { in addCidImg() argument
231 return addTag("img", "SRC", "cid:" + contentId); in addCidImg()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java445 final String contentId = att.mContentId; in makeMessage() local
448 addAttachmentPart(mp, mimeType, contentSize, filename, contentId, content); in makeMessage()
496 final Long contentSize, final String filename, final String contentId, in addAttachmentPart() argument
504 if (contentId != null) { in addAttachmentPart()
505 bp.setHeader(MimeHeader.HEADER_CONTENT_ID, contentId); in addAttachmentPart()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/exchange/
DExchangeAttachment.java23 public String contentId; field in ExchangeAttachment
33 contentId = in.readString(); in ExchangeAttachment()
50 dest.writeString(contentId); in writeToParcel()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeBodyPart.java130 String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId() local
131 if (contentId == null) { in getContentId()
135 return REMOVE_OPTIONAL_BRACKETS.matcher(contentId).replaceAll("$1"); in getContentId()
DMimeMessage.java222 final String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId() local
223 if (contentId == null) { in getContentId()
227 return REMOVE_OPTIONAL_BRACKETS.matcher(contentId).replaceAll("$1"); in getContentId()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DEmailSyncParser.java474 String contentId = null; in attachmentParser() local
495 contentId = getValue(); in attachmentParser()
513 if (isInline && !TextUtils.isEmpty(contentId)) { in attachmentParser()
514 att.mContentId = contentId; in attachmentParser()
/packages/apps/Mms/src/com/android/mms/model/
DImageModel.java241 byte[] contentId = period != -1 ? src.substring(0, period).getBytes() : srcBytes; in resizeMedia()
242 part.setContentId(contentId); in resizeMedia()
DSlideshowModel.java283 String contentId = (index == -1) ? location in makePduBody() local
285 part.setContentId(contentId.getBytes()); in makePduBody()
/packages/apps/Email/provider_src/com/android/email/activity/setup/
DAccountSecurity.java602 final int contentId = expired in onCreateDialog() local
611 .setMessage(res.getString(contentId, accountName)) in onCreateDialog()
/packages/apps/Camera2/src/com/android/camera/data/
DLocalMediaData.java84 public LocalMediaData(long contentId, String title, String mimeType, in LocalMediaData() argument
88 mContentId = contentId; in LocalMediaData()