Home
last modified time | relevance | path

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

/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DMimeMessage.java161 + MimeUtility.unfoldAndDecode(getFirstHeader("Date"))); in getSentDate()
178 String contentType = getFirstHeader(MimeHeader.HEADER_CONTENT_TYPE); in getContentType()
187 String contentDisposition = getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition()
196 String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId()
221 mTo = Address.parse(MimeUtility.unfold(getFirstHeader("To"))); in getRecipients()
226 mCc = Address.parse(MimeUtility.unfold(getFirstHeader("CC"))); in getRecipients()
231 mBcc = Address.parse(MimeUtility.unfold(getFirstHeader("BCC"))); in getRecipients()
278 return MimeUtility.unfoldAndDecode(getFirstHeader("Subject")); in getSubject()
290 String list = MimeUtility.unfold(getFirstHeader("From")); in getFrom()
292 list = MimeUtility.unfold(getFirstHeader("Sender")); in getFrom()
[all …]
DMimeBodyPart.java59 protected String getFirstHeader(String name) throws MessagingException { in getFirstHeader() method in MimeBodyPart
60 return mHeader.getFirstHeader(name); in getFirstHeader()
103 String contentType = getFirstHeader(MimeHeader.HEADER_CONTENT_TYPE); in getContentType()
112 String contentDisposition = getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition()
121 String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId()
178 return mExtendedHeader.getFirstHeader(name); in getExtendedHeader()
DMimeHeader.java62 public String getFirstHeader(String name) throws MessagingException { in getFirstHeader() method in MimeHeader
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasResponse.java111 Header ceHeader = mResponse.getFirstHeader("Content-Encoding"); in getInputStream()
141 return (mResponse == null) ? null : mResponse.getFirstHeader(name); in getHeader()
DEasSyncService.java598 Header locHeader = resp.getFirstHeader("X-MS-Location"); in getRedirect()
/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/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/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java609 Header header = response.getFirstHeader("Content-Disposition"); in readResponseHeaders()
613 header = response.getFirstHeader("Content-Location"); in readResponseHeaders()
618 header = response.getFirstHeader("Content-Type"); in readResponseHeaders()
623 header = response.getFirstHeader("ETag"); in readResponseHeaders()
628 header = response.getFirstHeader("Transfer-Encoding"); in readResponseHeaders()
633 header = response.getFirstHeader("Content-Length"); in readResponseHeaders()
724 Header header = response.getFirstHeader("Location"); in handleRedirect()
761 Header header = response.getFirstHeader("Retry-After"); in handleServiceUnavailable()