Home
last modified time | relevance | path

Searched refs:MimeUtility (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMessage.java170 "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 …]
DMimeUtility.java43 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()
DMimeMultipart.java44 subType = MimeUtility.getHeaderParameter(contentType, null).split("/")[1]; in MimeMultipart()
45 boundary = MimeUtility.getHeaderParameter(contentType, "boundary"); in MimeMultipart()
DMimeBodyPart.java94 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/
DImapFolder.java37 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()