Home
last modified time | relevance | path

Searched refs:contentTransferEncoding (Results 1 – 6 of 6) 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/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java323 String contentTransferEncoding) { in getInputStreamForContentTransferEncoding() argument
324 if (contentTransferEncoding != null) { in getInputStreamForContentTransferEncoding()
325 contentTransferEncoding = in getInputStreamForContentTransferEncoding()
326 MimeUtility.getHeaderParameter(contentTransferEncoding, null); in getInputStreamForContentTransferEncoding()
327 if ("quoted-printable".equalsIgnoreCase(contentTransferEncoding)) { in getInputStreamForContentTransferEncoding()
330 else if ("base64".equalsIgnoreCase(contentTransferEncoding)) { in getInputStreamForContentTransferEncoding()
340 public static Body decodeBody(InputStream in, String contentTransferEncoding) in decodeBody() argument
345 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.java382 String contentTransferEncoding = null; in fetchInternal() local
384 contentTransferEncoding = encodings[0]; in fetchInternal()
388 contentTransferEncoding = "7bit"; in fetchInternal()
400 contentTransferEncoding, in fetchInternal() local
432 String contentTransferEncoding, in decodeBody() argument
437 in = MimeUtility.getInputStreamForContentTransferEncoding(in, contentTransferEncoding); in decodeBody()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapFolder.java757 String contentTransferEncoding = null; in fetchInternal() local
759 contentTransferEncoding = encodings[0]; in fetchInternal()
763 contentTransferEncoding = "7bit"; in fetchInternal()
771 fetchPart.setBody(decodeBody(bodyStream, contentTransferEncoding, in fetchInternal()
798 private static Body decodeBody(InputStream in, String contentTransferEncoding, int size, in decodeBody() argument
801 in = MimeUtility.getInputStreamForContentTransferEncoding(in, contentTransferEncoding); in decodeBody()