Home
last modified time | relevance | path

Searched refs:mHeaders (Results 1 – 14 of 14) 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(Locale.ROOT), 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()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java193 private final ArrayList<Header> mHeaders = new ArrayList<Header>(); field in PreferenceActivity
233 ArrayList<Header> oldHeaders = new ArrayList<Header>(mHeaders);
234 mHeaders.clear();
235 onBuildHeaders(mHeaders);
246 Header mappedHeader = findBestMatchingHeader(mCurHeader, mHeaders);
566 mHeaders.addAll(headers); in onCreate()
569 if (curHeader >= 0 && curHeader < mHeaders.size()) { in onCreate()
570 setSelectedHeader(mHeaders.get(curHeader)); in onCreate()
589 onBuildHeaders(mHeaders); in onCreate()
594 if (mHeaders.size() > 0) { in onCreate()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp692 AString &value = response->mHeaders.editValueAt(lastDictIndex); in receiveRTSPReponse()
710 lastDictIndex = response->mHeaders.add(key, line); in receiveRTSPReponse()
713 for (size_t i = 0; i < response->mHeaders.size(); ++i) { in receiveRTSPReponse()
714 response->mHeaders.editValueAt(i).trim(); in receiveRTSPReponse()
719 ssize_t i = response->mHeaders.indexOfKey("content-length"); in receiveRTSPReponse()
722 AString value = response->mHeaders.valueAt(i); in receiveRTSPReponse()
776 ssize_t i = request->mHeaders.indexOfKey("cseq"); in handleServerRequest()
779 AString value = request->mHeaders.valueAt(i); in handleServerRequest()
839 ssize_t i = response->mHeaders.indexOfKey("cseq"); in findPendingRequest()
847 AString value = response->mHeaders.valueAt(i); in findPendingRequest()
[all …]
DMyHandler.h494 ssize_t i = response->mHeaders.indexOfKey("location"); in onMessageReceived()
497 mOriginalSessionURL = response->mHeaders.valueAt(i); in onMessageReceived()
538 ssize_t i = response->mHeaders.indexOfKey("content-base"); in onMessageReceived()
540 mBaseURL = response->mHeaders.valueAt(i); in onMessageReceived()
542 i = response->mHeaders.indexOfKey("content-location"); in onMessageReceived()
544 mBaseURL = response->mHeaders.valueAt(i); in onMessageReceived()
668 ssize_t i = response->mHeaders.indexOfKey("session"); in onMessageReceived()
671 mSessionID = response->mHeaders.valueAt(i); in onMessageReceived()
709 i = response->mHeaders.indexOfKey("transport"); in onMessageReceived()
714 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/media/java/android/media/
DMediaHTTPConnection.java47 private Map<String, String> mHeaders = null; field in MediaHTTPConnection
77 mHeaders = convertHeaderStringToMap(headers); in connect()
128 mHeaders = null; in disconnect()
188 if (mHeaders != null) { in seekTo()
189 for (Map.Entry<String, String> entry : mHeaders.entrySet()) { in seekTo()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduParser.java64 private PduHeaders mHeaders = null; field in PduParser
116 mHeaders = parseHeaders(mPduDataStream); in parse()
117 if (null == mHeaders) { in parse()
123 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in parse()
126 if (false == checkMandatoryHeader(mHeaders)) { in parse()
146 SendReq sendReq = new SendReq(mHeaders, mBody); in parse()
152 SendConf sendConf = new SendConf(mHeaders); in parse()
159 new NotificationInd(mHeaders); in parse()
166 new NotifyRespInd(mHeaders); in parse()
173 new RetrieveConf(mHeaders, mBody); in parse()
[all …]
/frameworks/base/core/java/android/widget/
DVideoView.java77 private Map<String, String> mHeaders; field in VideoView
263 mHeaders = headers; in setVideoURI()
352 mMediaPlayer.setDataSource(mContext, mUri, mHeaders); in openVideo()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3353 for (size_t i=0; i<src->mHeaders.size(); i++) { in add()
3354 mHeaders.add(src->mHeaders[i]); in add()
3384 header->index = mHeaders.size(); in addEmpty()
3395 mHeaders.add(header); in addEmpty()
3413 header->index = mHeaders.size(); in addInternal()
3424 mHeaders.add(header); in addInternal()
3536 N = mHeaders.size(); in uninit()
3538 Header* header = mHeaders[i]; in uninit()
3548 mHeaders.clear(); in uninit()
5313 return mHeaders.size(); in getTableCount()
[all …]
/frameworks/base/include/androidfw/
DResourceTypes.h1846 Vector<Header*> mHeaders; variable