Home
last modified time | relevance | path

Searched refs:MimeHeader (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeBodyPart.java30 protected MimeHeader header = new MimeHeader();
31 protected MimeHeader extendedHeader;
50 setHeader(MimeHeader.HEADER_CONTENT_TYPE, mimeType); in MimeBodyPart()
91 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
98 setHeader(MimeHeader.HEADER_CONTENT_TYPE, contentType); in setBody()
99 setHeader(MimeHeader.HEADER_CONTENT_TRANSFER_ENCODING, "base64"); in setBody()
105 String contentType = getFirstHeader(MimeHeader.HEADER_CONTENT_TYPE); in getContentType()
115 String contentDisposition = getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition()
125 String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId()
169 extendedHeader = new MimeHeader(); in setExtendedHeader()
DMimeMessage.java56 private MimeHeader header;
57 private MimeHeader extendedHeader;
151 private MimeHeader getMimeHeaders() { in getMimeHeaders()
153 header = new MimeHeader(); in getMimeHeaders()
206 durationHeader = getFirstHeader(MimeHeader.HEADER_CONTENT_DURATION); in getDuration()
225 final String contentType = getFirstHeader(MimeHeader.HEADER_CONTENT_TYPE); in getContentType()
235 return getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition()
240 final String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId()
418 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
422 MimeHeader.HEADER_CONTENT_TYPE, String.format("%s;\n charset=utf-8", getMimeType())); in setBody()
[all …]
DMimeHeader.java25 public class MimeHeader { class
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java35 import com.android.voicemail.impl.mail.internet.MimeHeader;
290 final String[] partIds = fetchPart.getHeader(MimeHeader.HEADER_ANDROID_ATTACHMENT_STORE_DATA); in fetchInternal()
381 String[] encodings = fetchPart.getHeader(MimeHeader.HEADER_CONTENT_TRANSFER_ENCODING); in fetchInternal()
575 part.setHeader(MimeHeader.HEADER_CONTENT_TYPE, contentType.toString()); in parseBodyStructure()
630 part.setHeader(MimeHeader.HEADER_CONTENT_DISPOSITION, contentDisposition.toString()); in parseBodyStructure()
638 part.setHeader(MimeHeader.HEADER_CONTENT_TRANSFER_ENCODING, encoding.getString()); in parseBodyStructure()
645 part.setHeader(MimeHeader.HEADER_CONTENT_ID, cid.getString()); in parseBodyStructure()
657 part.setHeader(MimeHeader.HEADER_ANDROID_ATTACHMENT_STORE_DATA, id); in parseBodyStructure()