Home
last modified time | relevance | path

Searched refs:getHeaderParameter (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeUtilityTest.java273 assertNull("null header check", MimeUtility.getHeaderParameter(null, "name")); in testGetHeaderParameter()
280 MimeUtility.getHeaderParameter(HEADER_MULTI_PARAMETER, null)); in testGetHeaderParameter()
282 MimeUtility.getHeaderParameter(HEADER_NO_PARAMETER, null)); in testGetHeaderParameter()
286 MimeUtility.getHeaderParameter(HEADER_MULTI_PARAMETER, "Param1Name")); in testGetHeaderParameter()
288 MimeUtility.getHeaderParameter(HEADER_MULTI_PARAMETER, "Param2Name")); in testGetHeaderParameter()
290 MimeUtility.getHeaderParameter(HEADER_MULTI_PARAMETER, "Param3Name")); in testGetHeaderParameter()
294 MimeUtility.getHeaderParameter(HEADER_MULTI_PARAMETER, "param2name")); in testGetHeaderParameter()
296 MimeUtility.getHeaderParameter(HEADER_MULTI_PARAMETER, "PARAM2NAME")); in testGetHeaderParameter()
300 MimeUtility.getHeaderParameter(HEADER_QUOTED_MULTI_PARAMETER, "Param1Name")); in testGetHeaderParameter()
302 MimeUtility.getHeaderParameter(HEADER_QUOTED_MULTI_PARAMETER, "Param2Name")); in testGetHeaderParameter()
[all …]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java192 public static String getHeaderParameter(String header, String name) { in getHeaderParameter() method in MimeUtility
279 String charset = getHeaderParameter(part.getContentType(), "charset"); in getTextFromPart()
362 MimeUtility.getHeaderParameter(contentTransferEncoding, null); in getInputStreamForContentTransferEncoding()
410 String dispositionType = MimeUtility.getHeaderParameter(disposition, null); in collectParts()
DMimeMultipart.java46 mSubType = MimeUtility.getHeaderParameter(contentType, null).split("/")[1]; in MimeMultipart()
47 mBoundary = MimeUtility.getHeaderParameter(contentType, "boundary"); in MimeMultipart()
DMimeBodyPart.java99 String name = MimeUtility.getHeaderParameter(getContentType(), "name"); in setBody()
141 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
DMimeMessage.java242 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java198 String name = MimeUtility.getHeaderParameter(contentType, "name"); in addOneAttachment()
201 name = MimeUtility.getHeaderParameter(contentDisposition, "filename"); in addOneAttachment()
208 String s = MimeUtility.getHeaderParameter(disposition, "size"); in addOneAttachment()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java423 String contentTypeName = MimeUtility.getHeaderParameter(contentType, "name"); in checkAttachment()
426 String sizeString = MimeUtility.getHeaderParameter(disposition, "size"); in checkAttachment()
427 String dispositionFilename = MimeUtility.getHeaderParameter(disposition, "filename"); in checkAttachment()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAttachment.java241 name = MimeUtility.getHeaderParameter(contentTypeHeader, "name"); in Attachment()
245 name = MimeUtility.getHeaderParameter(contentDisposition, "filename"); in Attachment()
/packages/apps/Email/src/com/android/email/mail/store/
DImapFolder.java980 && (MimeUtility.getHeaderParameter(contentDisposition.toString(), "size") in parseBodyStructure()