Home
last modified time | relevance | path

Searched refs:getHeaderParameter (Results 1 – 8 of 8) 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/Email/emailcommon/src/com/android/emailcommon/internet/
DMimeUtility.java191 public static String getHeaderParameter(String header, String name) { in getHeaderParameter() method in MimeUtility
278 String charset = getHeaderParameter(part.getContentType(), "charset"); in getTextFromPart()
361 MimeUtility.getHeaderParameter(contentTransferEncoding, null); in getInputStreamForContentTransferEncoding()
412 dispositionType = MimeUtility.getHeaderParameter(disposition, null); in collectParts()
413 dispositionFilename = MimeUtility.getHeaderParameter(disposition, "filename"); in collectParts()
420 dispositionFilename = MimeUtility.getHeaderParameter(contentType, "name"); in collectParts()
DMimeMultipart.java46 mSubType = MimeUtility.getHeaderParameter(contentType, null).split("/")[1]; in MimeMultipart()
47 mBoundary = MimeUtility.getHeaderParameter(contentType, "boundary"); in MimeMultipart()
DMimeBodyPart.java93 String name = MimeUtility.getHeaderParameter(getContentType(), "name"); in setBody()
131 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
DMimeMessage.java206 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java194 String name = MimeUtility.getHeaderParameter(contentType, "name"); in addOneAttachment()
197 name = MimeUtility.getHeaderParameter(contentDisposition, "filename"); in addOneAttachment()
204 String s = MimeUtility.getHeaderParameter(disposition, "size"); in addOneAttachment()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java420 String contentTypeName = MimeUtility.getHeaderParameter(contentType, "name"); in checkAttachment()
423 String sizeString = MimeUtility.getHeaderParameter(disposition, "size"); in checkAttachment()
424 String dispositionFilename = MimeUtility.getHeaderParameter(disposition, "filename"); in checkAttachment()
/packages/apps/Email/src/com/android/email/mail/store/
DImapFolder.java862 && (MimeUtility.getHeaderParameter(contentDisposition.toString(), "size") in parseBodyStructure()