Home
last modified time | relevance | path

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

/packages/apps/Mms/src/com/android/mms/transaction/
DHttpUtils.java156 req.addHeader(HDR_KEY_ACCEPT, HDR_VALUE_ACCEPT); in httpConnection()
166 req.addHeader(xWapProfileTagName, xWapProfileUrl); in httpConnection()
195 req.addHeader(name, value); in httpConnection()
200 req.addHeader(HDR_KEY_ACCEPT_LANGUAGE, HDR_VALUE_ACCEPT_LANGUAGE); in httpConnection()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java125 addHeader(info, cursor.getString(headerIndex), cursor.getString(valueIndex)); in readRequestHeaders()
132 addHeader(info, "Cookie", info.mCookies); in readRequestHeaders()
135 addHeader(info, "Referer", info.mReferer); in readRequestHeaders()
139 private void addHeader(DownloadInfo info, String header, String value) { in addHeader() method in DownloadInfo.Reader
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeUtilityTest.java318 cid2bp.addHeader(MimeHeader.HEADER_CONTENT_DISPOSITION, "inline; filename=\"im2.gif\""); in brokentestCollectParts()
321 cid3bp.addHeader(MimeHeader.HEADER_CONTENT_DISPOSITION, "attachment; filename=\"im3.gif\""); in brokentestCollectParts()
327 cid5bp.addHeader(MimeHeader.HEADER_CONTENT_DISPOSITION, "inline"); // no filename attr in brokentestCollectParts()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeMessage.java421 public void addHeader(String name, String value) throws MessagingException { in addHeader() method in MimeMessage
422 getMimeHeaders().addHeader(name, value); in addHeader()
584 ((Part)stack.peek()).addHeader(tokens[0], tokens[1].trim()); in field()
DMimeHeader.java65 public void addHeader(String name, String value) throws MessagingException { in addHeader() method in MimeHeader
74 addHeader(name, value); in setHeader()
DMimeBodyPart.java64 public void addHeader(String name, String value) throws MessagingException { in addHeader() method in MimeBodyPart
65 mHeader.addHeader(name, value); in addHeader()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DPart.java23 public void addHeader(String name, String value) throws MessagingException; in addHeader() method
/packages/apps/Browser/src/com/android/browser/
DFetchUrlMimeType.java84 request.addHeader("Cookie", mCookies); in run()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationListFragment.java371 mListAdapter.addHeader(mSearchHeaderView); in onActivityCreated()
DAnimatedAdapter.java900 public void addHeader(View headerView) { in addHeader() method in AnimatedAdapter