Home
last modified time | relevance | path

Searched refs:addHeader (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Mms/src/com/android/mms/transaction/
DHttpUtils.java159 req.addHeader(HDR_KEY_ACCEPT, HDR_VALUE_ACCEPT); in httpConnection()
169 req.addHeader(xWapProfileTagName, xWapProfileUrl); in httpConnection()
198 req.addHeader(name, value); in httpConnection()
203 req.addHeader(HDR_KEY_ACCEPT_LANGUAGE, HDR_VALUE_ACCEPT_LANGUAGE); in httpConnection()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DMimeHeader.java70 public void addHeader(String name, String value) throws MessagingException { in addHeader() method in MimeHeader
79 addHeader(name, value); in setHeader()
DMimeBodyPart.java63 public void addHeader(String name, String value) throws MessagingException { in addHeader() method in MimeBodyPart
64 mHeader.addHeader(name, value); in addHeader()
DMimeMessage.java389 public void addHeader(String name, String value) throws MessagingException { in addHeader() method in MimeMessage
390 getMimeHeaders().addHeader(name, value); in addHeader()
544 ((Part)stack.peek()).addHeader(tokens[0], tokens[1].trim()); in field()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
DPart.java23 public void addHeader(String name, String value) throws MessagingException; in addHeader() method
DMessage.java90 public abstract void addHeader(String name, String value) throws MessagingException; in addHeader() method in Message
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java117 addHeader(info, cursor.getString(headerIndex), cursor.getString(valueIndex)); in readRequestHeaders()
124 addHeader(info, "Cookie", info.mCookies); in readRequestHeaders()
127 addHeader(info, "Referer", info.mReferer); in readRequestHeaders()
131 private void addHeader(DownloadInfo info, String header, String value) { in addHeader() method in DownloadInfo.Reader
DDownloadThread.java902 request.addHeader(header.first, header.second); in addRequestHeaders()
907 request.addHeader("If-Match", state.mHeaderETag); in addRequestHeaders()
909 request.addHeader("Range", "bytes=" + state.mCurrentBytes + "-"); in addRequestHeaders()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeUtilityTest.java358 cid2bp.addHeader(MimeHeader.HEADER_CONTENT_DISPOSITION, "inline; filename=\"im2.gif\""); in testCollectParts()
361 cid3bp.addHeader(MimeHeader.HEADER_CONTENT_DISPOSITION, "attachment; filename=\"im3.gif\""); in testCollectParts()
367 cid5bp.addHeader(MimeHeader.HEADER_CONTENT_DISPOSITION, "inline"); // no filename attr in testCollectParts()
/packages/apps/Browser/src/com/android/browser/
DFetchUrlMimeType.java84 request.addHeader("Cookie", mCookies); in run()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java432 bp.addHeader(MimeHeader.HEADER_ANDROID_BODY_QUOTED_PART, quotedPartTag); in addTextBodyPart()