Home
last modified time | relevance | path

Searched refs:getFirstHeader (Results 1 – 6 of 6) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeMessage.java176 + MimeUtility.unfoldAndDecode(getFirstHeader("Date"))); in getSentDate()
188 + MimeUtility.unfoldAndDecode(getFirstHeader("Delivery-date"))); in getSentDate()
207 final String contentType = getFirstHeader(MimeHeader.HEADER_CONTENT_TYPE); in getContentType()
217 return getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition()
222 final String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId()
253 mTo = Address.parse(MimeUtility.unfold(getFirstHeader("To"))); in getRecipients()
258 mCc = Address.parse(MimeUtility.unfold(getFirstHeader("CC"))); in getRecipients()
263 mBcc = Address.parse(MimeUtility.unfold(getFirstHeader("BCC"))); in getRecipients()
310 return MimeUtility.unfoldAndDecode(getFirstHeader("Subject")); in getSubject()
322 String list = MimeUtility.unfold(getFirstHeader("From")); in getFrom()
[all …]
DMimeBodyPart.java59 protected String getFirstHeader(String name) throws MessagingException { in getFirstHeader() method in MimeBodyPart
60 return mHeader.getFirstHeader(name); in getFirstHeader()
110 String contentType = getFirstHeader(MimeHeader.HEADER_CONTENT_TYPE); in getContentType()
120 String contentDisposition = getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition()
130 String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId()
192 return mExtendedHeader.getFirstHeader(name); in getExtendedHeader()
DMimeHeader.java57 public String getFirstHeader(String name) throws MessagingException { in getFirstHeader() method in MimeHeader
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeMessageTest.java162 String rawHeader = message.getFirstHeader("Subject"); in testSetSubjectPlain()
167 rawHeader = message.getFirstHeader("Subject"); in testSetSubjectPlain()
173 rawHeader = message.getFirstHeader("Subject"); in testSetSubjectPlain()
195 String rawHeader = message.getFirstHeader("Subject"); in testSetSubject()
214 String rawHeader = message.getFirstHeader("Subject"); in testSetLongSubject()
/packages/apps/Browser/src/com/android/browser/
DFetchUrlMimeType.java96 Header header = response.getFirstHeader("Content-Type"); in run()
104 Header contentDispositionHeader = response.getFirstHeader("Content-Disposition"); in run()
/packages/apps/Exchange/src/com/android/exchange/
DEasResponse.java152 Header ceHeader = mResponse.getFirstHeader("Content-Encoding"); in getInputStream()
180 return (mResponse == null) ? null : mResponse.getFirstHeader(name); in getHeader()