Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeUtility.java312 InputStream in, String contentTransferEncoding) { in getInputStreamForContentTransferEncoding() argument
313 if (contentTransferEncoding != null) { in getInputStreamForContentTransferEncoding()
314 contentTransferEncoding = MimeUtility.getHeaderParameter(contentTransferEncoding, null); in getInputStreamForContentTransferEncoding()
315 if ("quoted-printable".equalsIgnoreCase(contentTransferEncoding)) { in getInputStreamForContentTransferEncoding()
317 } else if ("base64".equalsIgnoreCase(contentTransferEncoding)) { in getInputStreamForContentTransferEncoding()
325 public static Body decodeBody(InputStream in, String contentTransferEncoding) throws IOException { in decodeBody() argument
329 in = getInputStreamForContentTransferEncoding(in, contentTransferEncoding); in decodeBody()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPart.java305 public void setContentTransferEncoding(final byte[] contentTransferEncoding) { in setContentTransferEncoding() argument
306 if (contentTransferEncoding == null) { in setContentTransferEncoding()
310 mPartHeader.put(P_CONTENT_TRANSFER_ENCODING, contentTransferEncoding); in setContentTransferEncoding()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduPart.java330 public void setContentTransferEncoding(byte[] contentTransferEncoding) { in setContentTransferEncoding() argument
331 if(contentTransferEncoding == null) { in setContentTransferEncoding()
335 mPartHeader.put(P_CONTENT_TRANSFER_ENCODING, contentTransferEncoding); in setContentTransferEncoding()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java383 String contentTransferEncoding = null; in fetchInternal() local
385 contentTransferEncoding = encodings[0]; in fetchInternal()
389 contentTransferEncoding = "7bit"; in fetchInternal()
401 contentTransferEncoding, in fetchInternal() local
433 String contentTransferEncoding, in decodeBody() argument
438 in = MimeUtility.getInputStreamForContentTransferEncoding(in, contentTransferEncoding); in decodeBody()