Home
last modified time | relevance | path

Searched refs:mHeaders (Results 1 – 17 of 17) 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/
DPluginData.java51 private Map<String, String[]> mHeaders; field in PluginData
79 mHeaders = headers; in PluginData()
125 return mHeaders; in getHeaders()
DHTML5VideoView.java56 protected Map<String, String> mHeaders; field in HTML5VideoView
184 mHeaders = generateHeaders(uri, proxy); in setVideoURI()
209 mPlayer.setDataSource(proxy.getContext(), mUri, mHeaders); in prepareDataCommon() local
DHTML5VideoViewProxy.java437 private Headers mHeaders; field in HTML5VideoViewProxy.PosterDownloader
484 mHeaders = headers; in headers()
505 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/av/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()
183 KeyedVector<String8, String8> tmpHeaders = mHeaders; in readAt()
334 status_t err = connect_l(mURI.c_str(), &mHeaders, offset); in reconnectAtOffset()
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp682 AString &value = response->mHeaders.editValueAt(lastDictIndex); in receiveRTSPReponse()
700 lastDictIndex = response->mHeaders.add(key, line); in receiveRTSPReponse()
703 for (size_t i = 0; i < response->mHeaders.size(); ++i) { in receiveRTSPReponse()
704 response->mHeaders.editValueAt(i).trim(); in receiveRTSPReponse()
709 ssize_t i = response->mHeaders.indexOfKey("content-length"); in receiveRTSPReponse()
712 AString value = response->mHeaders.valueAt(i); in receiveRTSPReponse()
766 ssize_t i = request->mHeaders.indexOfKey("cseq"); in handleServerRequest()
769 AString value = request->mHeaders.valueAt(i); in handleServerRequest()
829 ssize_t i = response->mHeaders.indexOfKey("cseq"); in findPendingRequest()
836 AString value = response->mHeaders.valueAt(i); in findPendingRequest()
[all …]
DMyHandler.h406 ssize_t i = response->mHeaders.indexOfKey("location"); in onMessageReceived()
409 mSessionURL = response->mHeaders.valueAt(i); in onMessageReceived()
436 ssize_t i = response->mHeaders.indexOfKey("content-base"); in onMessageReceived()
438 mBaseURL = response->mHeaders.valueAt(i); in onMessageReceived()
440 i = response->mHeaders.indexOfKey("content-location"); in onMessageReceived()
442 mBaseURL = response->mHeaders.valueAt(i); in onMessageReceived()
517 ssize_t i = response->mHeaders.indexOfKey("session"); in onMessageReceived()
520 mSessionID = response->mHeaders.valueAt(i); in onMessageReceived()
558 i = response->mHeaders.indexOfKey("transport"); in onMessageReceived()
562 AString transport = response->mHeaders.valueAt(i); in onMessageReceived()
[all …]
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/av/media/libstagefright/include/
DChromiumHTTPDataSource.h80 KeyedVector<String8, String8> mHeaders; member
/frameworks/base/core/java/android/widget/
DVideoView.java55 private Map<String, String> mHeaders; field in VideoView
195 mHeaders = headers; in setVideoURI()
235 mMediaPlayer.setDataSource(mContext, mUri, mHeaders); in openVideo()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2724 for (size_t i=0; i<src->mHeaders.size(); i++) { in add()
2725 mHeaders.add(src->mHeaders[i]); in add()
2749 header->index = mHeaders.size(); in add()
2762 mHeaders.add(header); in add()
2884 N = mHeaders.size(); in uninit()
2886 Header* header = mHeaders[i]; in uninit()
2896 mHeaders.clear(); in uninit()
4729 return mHeaders.size(); in getTableCount()
4734 return &mHeaders[index]->values; in getTableStringBlock()
4739 return mHeaders[index]->cookie; in getTableCookie()
/frameworks/base/include/androidfw/
DResourceTypes.h1580 Vector<Header*> mHeaders; variable