Searched refs:getHeaderParameter (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | MimeUtilityTest.java | 273 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/ |
D | MimeUtility.java | 191 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()
|
D | MimeMultipart.java | 46 mSubType = MimeUtility.getHeaderParameter(contentType, null).split("/")[1]; in MimeMultipart() 47 mBoundary = MimeUtility.getHeaderParameter(contentType, "boundary"); in MimeMultipart()
|
D | MimeBodyPart.java | 93 String name = MimeUtility.getHeaderParameter(getContentType(), "name"); in setBody() 131 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
|
D | MimeMessage.java | 206 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
|
/packages/apps/Email/src/com/android/email/ |
D | LegacyConversions.java | 194 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/ |
D | LegacyConversionsTests.java | 420 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/ |
D | ImapFolder.java | 862 && (MimeUtility.getHeaderParameter(contentDisposition.toString(), "size") in parseBodyStructure()
|