Home
last modified time | relevance | path

Searched refs:contentTransferEncoding (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DMimeUtility.java358 String contentTransferEncoding) { in getInputStreamForContentTransferEncoding() argument
359 if (contentTransferEncoding != null) { in getInputStreamForContentTransferEncoding()
360 contentTransferEncoding = in getInputStreamForContentTransferEncoding()
361 MimeUtility.getHeaderParameter(contentTransferEncoding, null); in getInputStreamForContentTransferEncoding()
362 if ("quoted-printable".equalsIgnoreCase(contentTransferEncoding)) { in getInputStreamForContentTransferEncoding()
365 else if ("base64".equalsIgnoreCase(contentTransferEncoding)) { in getInputStreamForContentTransferEncoding()
375 public static Body decodeBody(InputStream in, String contentTransferEncoding) in decodeBody() argument
380 in = getInputStreamForContentTransferEncoding(in, contentTransferEncoding); in decodeBody()
/packages/apps/Email/src/com/android/email/mail/store/
DImapFolder.java653 String contentTransferEncoding = fetchPart.getHeader( in fetchInternal() local
660 fetchPart.setBody(decodeBody(bodyStream, contentTransferEncoding, in fetchInternal()
680 private Body decodeBody(InputStream in, String contentTransferEncoding, int size, in decodeBody() argument
683 in = MimeUtility.getInputStreamForContentTransferEncoding(in, contentTransferEncoding); in decodeBody()