Searched refs:MimeUtility (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeMessage.java | 170 "Date: " + MimeUtility.unfoldAndDecode(getFirstHeader("Date"))); in getSentDate() 184 "Date: " + MimeUtility.unfoldAndDecode(getFirstHeader("Delivery-date"))); in getSentDate() 251 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType() 267 to = Address.parse(MimeUtility.unfold(getFirstHeader("To"))); in getRecipients() 272 cc = Address.parse(MimeUtility.unfold(getFirstHeader("CC"))); in getRecipients() 277 bcc = Address.parse(MimeUtility.unfold(getFirstHeader("BCC"))); in getRecipients() 295 setHeader("To", MimeUtility.fold(Address.toHeader(addresses), toLength)); in setRecipients() 303 setHeader("CC", MimeUtility.fold(Address.toHeader(addresses), ccLength)); in setRecipients() 311 setHeader("BCC", MimeUtility.fold(Address.toHeader(addresses), bccLength)); in setRecipients() 322 return MimeUtility.unfoldAndDecode(getFirstHeader("Subject")); in getSubject() [all …]
|
D | MimeUtility.java | 43 public class MimeUtility { class 221 if (mimeType != null && MimeUtility.mimeTypeMatches(mimeType, "text/*")) { in getTextFromPart() 314 contentTransferEncoding = MimeUtility.getHeaderParameter(contentTransferEncoding, null); in getInputStreamForContentTransferEncoding() 358 String dispositionType = MimeUtility.getHeaderParameter(disposition, null); in collectParts()
|
D | MimeMultipart.java | 44 subType = MimeUtility.getHeaderParameter(contentType, null).split("/")[1]; in MimeMultipart() 45 boundary = MimeUtility.getHeaderParameter(contentType, "boundary"); in MimeMultipart()
|
D | MimeBodyPart.java | 94 String name = MimeUtility.getHeaderParameter(getContentType(), "name"); in setBody() 136 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapFolder.java | 37 import com.android.voicemail.impl.mail.internet.MimeUtility; 438 in = MimeUtility.getInputStreamForContentTransferEncoding(in, contentTransferEncoding); in decodeBody() 540 if (MimeUtility.mimeTypeMatches(mimeType, MimeUtility.MIME_TYPE_RFC822)) { in parseBodyStructure() 551 "BODYSTRUCTURE " + MimeUtility.MIME_TYPE_RFC822 + " not yet supported."); in parseBodyStructure() 621 && (MimeUtility.getHeaderParameter(contentDisposition.toString(), "size") == null)) { in parseBodyStructure()
|