Home
last modified time | relevance | path

Searched refs:mHeaders (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/net/http/
DHeaders.java127 private String[] mHeaders = new String[HEADER_COUNT]; field in Headers
179 mHeaders[IDX_TRANSFER_ENCODING] = val; in parseHeader()
199 mHeaders[IDX_CONTENT_LEN] = val; in parseHeader()
212 mHeaders[IDX_CONTENT_TYPE] = val; in parseHeader()
217 mHeaders[IDX_CONTENT_ENCODING] = val; in parseHeader()
222 mHeaders[IDX_CONN_DIRECTIVE] = val; in parseHeader()
228 mHeaders[IDX_LOCATION] = val; in parseHeader()
233 mHeaders[IDX_PROXY_CONNECTION] = val; in parseHeader()
239 mHeaders[IDX_WWW_AUTHENTICATE] = val; in parseHeader()
244 mHeaders[IDX_PROXY_AUTHENTICATE] = val; in parseHeader()
[all …]
DRequestHandle.java45 private Map<String, String> mHeaders; field in RequestHandle
69 mHeaders = headers; in RequestHandle()
156 mHeaders.remove(AUTHORIZATION_HEADER); in setupRedirect()
157 mHeaders.remove(PROXY_AUTHORIZATION_HEADER); in setupRedirect()
174 mHeaders.remove("Referer"); in setupRedirect()
185 mHeaders.remove("Cookie"); in setupRedirect()
188 mHeaders.put("Cookie", cookie); in setupRedirect()
210 mHeaders.remove("Content-Type"); in setupRedirect()
215 mHeaders.putAll(cacheHeaders); in setupRedirect()
229 mHeaders.put(authorizationHeader(isProxy), "Basic " + response); in setupBasicAuthResponse()
[all …]
/frameworks/base/core/java/android/net/
DMailTo.java36 private HashMap<String, String> mHeaders; field in MailTo
87 m.mHeaders.put(Uri.decode(nameval[0]).toLowerCase(), in parse()
100 m.mHeaders.put(TO, address); in parse()
113 return mHeaders.get(TO); in getTo()
123 return mHeaders.get(CC); in getCc()
132 return mHeaders.get(SUBJECT); in getSubject()
141 return mHeaders.get(BODY); in getBody()
149 return mHeaders; in getHeaders()
156 for (Map.Entry<String,String> header : mHeaders.entrySet()) { in toString()
170 mHeaders = new HashMap<String, String>(); in MailTo()
/frameworks/base/core/java/android/webkit/
DFrameLoader.java35 private Map<String, String> mHeaders; field in FrameLoader
63 mHeaders = null; in FrameLoader()
90 mHeaders = headers; in setHeaders()
233 if (mHeaders == null) { in handleHTTPLoad()
234 mHeaders = new HashMap<String, String>(); in handleHTTPLoad()
245 mListener.setRequestData(mMethod, mHeaders, mPostData); in handleHTTPLoad()
258 ret = mNetwork.requestURL(mMethod, mHeaders, in handleHTTPLoad()
355 return mListener.checkCache(mHeaders); in handleCache()
367 String accept = mHeaders.get("Accept"); in populateStaticHeaders()
369 mHeaders.put("Accept", HEADER_STR); in populateStaticHeaders()
[all …]
DPluginData.java51 private Map<String, String[]> mHeaders; field in PluginData
79 mHeaders = headers; in PluginData()
125 return mHeaders; in getHeaders()
DHTML5VideoView.java61 protected Map<String, String> mHeaders; field in HTML5VideoView
185 mHeaders = generateHeaders(uri, proxy); in setVideoURI()
219 mPlayer.setDataSource(mProxy.getContext(), mUri, mHeaders); in prepareDataAndDisplayMode() local
DWebViewWorker.java52 Headers mHeaders; field in WebViewWorker.CacheCreateData
131 data.mUrl, data.mStatusCode, data.mHeaders, in handleMessage()
DLoadListener.java123 private Headers mHeaders; field in LoadListener
340 mHeaders = headers; in handleHeaders()
454 data.mHeaders = headers; in handleHeaders()
972 mHeaders.getContentDisposition(), in downloadFile()
1088 if (mHeaders != null) { in createNativeResponse()
1089 mHeaders.getHeaders(new Headers.HeaderCallback() { in createNativeResponse()
1277 String redirectTo = mHeaders.getLocation(); in doRedirect()
1289 + mHeaders.getLocation()); in doRedirect()
DHTML5VideoViewProxy.java391 private Headers mHeaders; field in HTML5VideoViewProxy.PosterDownloader
438 mHeaders = headers; in headers()
459 mUrl = new URL(mHeaders.getLocation()); in endData()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java181 private final ArrayList<Header> mHeaders = new ArrayList<Header>(); field in PreferenceActivity
218 ArrayList<Header> oldHeaders = new ArrayList<Header>(mHeaders);
219 mHeaders.clear();
220 onBuildHeaders(mHeaders);
231 Header mappedHeader = findBestMatchingHeader(mCurHeader, mHeaders);
519 mHeaders.addAll(headers); in onCreate()
522 if (curHeader >= 0 && curHeader < mHeaders.size()) { in onCreate()
523 setSelectedHeader(mHeaders.get(curHeader)); in onCreate()
542 onBuildHeaders(mHeaders); in onCreate()
547 if (mHeaders.size() > 0) { in onCreate()
[all …]
/frameworks/base/media/libstagefright/chromium_http/
DChromiumHTTPDataSource.cpp92 mHeaders = *headers; in connect_l()
94 mHeaders.clear(); in connect_l()
101 mDelegate->initiateConnection(mURI.c_str(), &mHeaders, offset); in connect_l()
176 KeyedVector<String8, String8> tmpHeaders = mHeaders; in readAt()
326 status_t err = connect_l(mURI.c_str(), &mHeaders, offset); in reconnectAtOffset()
/frameworks/base/media/libstagefright/rtsp/
DMyHandler.h407 ssize_t i = response->mHeaders.indexOfKey("location"); in onMessageReceived()
410 mSessionURL = response->mHeaders.valueAt(i); in onMessageReceived()
437 ssize_t i = response->mHeaders.indexOfKey("content-base"); in onMessageReceived()
439 mBaseURL = response->mHeaders.valueAt(i); in onMessageReceived()
441 i = response->mHeaders.indexOfKey("content-location"); in onMessageReceived()
443 mBaseURL = response->mHeaders.valueAt(i); in onMessageReceived()
509 ssize_t i = response->mHeaders.indexOfKey("session"); in onMessageReceived()
512 mSessionID = response->mHeaders.valueAt(i); in onMessageReceived()
522 i = response->mHeaders.indexOfKey("transport"); in onMessageReceived()
526 AString transport = response->mHeaders.valueAt(i); in onMessageReceived()
[all …]
DARTSPConnection.cpp667 response->mHeaders.add(key, line); in receiveRTSPReponse()
672 ssize_t i = response->mHeaders.indexOfKey("content-length"); in receiveRTSPReponse()
675 AString value = response->mHeaders.valueAt(i); in receiveRTSPReponse()
745 ssize_t i = request->mHeaders.indexOfKey("cseq"); in handleServerRequest()
748 AString value = request->mHeaders.valueAt(i); in handleServerRequest()
805 ssize_t i = response->mHeaders.indexOfKey("cseq"); in findPendingRequest()
812 AString value = response->mHeaders.valueAt(i); in findPendingRequest()
855 ssize_t i = response->mHeaders.indexOfKey("www-authenticate"); in parseAuthMethod()
861 AString value = response->mHeaders.valueAt(i); in parseAuthMethod()
DMyTransmitter.h266 ssize_t i = response->mHeaders.indexOfKey("www-authenticate"); in authenticate()
269 AString value = response->mHeaders.valueAt(i); in authenticate()
475 ssize_t i = response->mHeaders.indexOfKey("session"); in onMessageReceived()
477 mSessionID = response->mHeaders.valueAt(i); in onMessageReceived()
484 i = response->mHeaders.indexOfKey("transport"); in onMessageReceived()
486 AString transport = response->mHeaders.valueAt(i); in onMessageReceived()
DARTSPConnection.h31 KeyedVector<AString,AString> mHeaders; member
/frameworks/base/core/java/com/google/android/mms/pdu/
DPduParser.java66 private PduHeaders mHeaders = null; field in PduParser
111 mHeaders = parseHeaders(mPduDataStream); in parse()
112 if (null == mHeaders) { in parse()
118 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in parse()
121 if (false == checkMandatoryHeader(mHeaders)) { in parse()
138 SendReq sendReq = new SendReq(mHeaders, mBody); in parse()
141 SendConf sendConf = new SendConf(mHeaders); in parse()
145 new NotificationInd(mHeaders); in parse()
149 new NotifyRespInd(mHeaders); in parse()
153 new RetrieveConf(mHeaders, mBody); in parse()
[all …]
/frameworks/base/media/libstagefright/include/
DChromiumHTTPDataSource.h80 KeyedVector<String8, String8> mHeaders; member
/frameworks/base/core/java/android/widget/
DVideoView.java53 private Map<String, String> mHeaders; field in VideoView
181 mHeaders = headers; in setVideoURI()
221 mMediaPlayer.setDataSource(mContext, mUri, mHeaders); in openVideo()
/frameworks/base/libs/utils/
DResourceTypes.cpp1827 for (size_t i=0; i<src->mHeaders.size(); i++) { in add()
1828 mHeaders.add(src->mHeaders[i]); in add()
1852 header->index = mHeaders.size(); in add()
1865 mHeaders.add(header); in add()
1987 N = mHeaders.size(); in uninit()
1989 Header* header = mHeaders[i]; in uninit()
1999 mHeaders.clear(); in uninit()
3851 return mHeaders.size(); in getTableCount()
3856 return &mHeaders[index]->values; in getTableStringBlock()
3861 return mHeaders[index]->cookie; in getTableCookie()
/frameworks/base/include/utils/
DResourceTypes.h2116 Vector<Header*> mHeaders; variable