Searched refs:headers (Results 51 - 75 of 117) sorted by relevance

12345

/frameworks/av/media/libmediaplayerservice/
H A DTestPlayerStub.cpp118 const KeyedVector<String8, String8> *headers) {
167 return mPlayer->setDataSource(httpService, mContentUrl, headers);
115 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
H A DMetadataRetrieverClient.h49 const KeyedVector<String8, String8> *headers);
H A DStagefrightPlayer.cpp59 const KeyedVector<String8, String8> *headers) {
60 return mPlayer->setDataSource(httpService, url, headers);
56 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
H A DStagefrightPlayer.h39 const KeyedVector<String8, String8> *headers);
/frameworks/base/core/java/android/net/http/
H A DRequestQueue.java286 * @param headers A hashmap of http headers.
294 Map<String, String> headers, EventHandler eventHandler,
297 return queueRequest(url, uri, method, headers, eventHandler,
306 * @param headers A hashmap of http headers.
313 String url, WebAddress uri, String method, Map<String, String> headers,
330 bodyLength, eventHandler, headers);
340 this, url, uri, method, headers, bodyProvider, bodyLength,
367 String method, Map<String, String> headers,
292 queueRequest( String url, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
312 queueRequest( String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
366 queueSynchronousRequest(String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
[all...]
H A DHttpsConnection.java171 // handler with the response status and headers. The event
203 Headers headers = new Headers();
208 // add all 'proxy' headers from the original request, we also need
223 // codes prior to receiving actual headers;
227 statusLine = proxyConnection.parseResponseHeader(headers);
280 req.mEventHandler.headers(headers);
H A DAndroidHttpClient.java469 Header[] headers;
470 headers = request.getHeaders(Headers.CONTENT_ENCODING);
471 if (headers != null) {
472 for (Header header : headers) {
479 headers = request.getHeaders(Headers.CONTENT_TYPE);
480 if (headers != null) {
481 for (Header header : headers) {
/frameworks/compile/mclinker/
H A Dmcld-device-build.mk30 # Make sure bionic is first so we can include system headers.
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduPersister.java307 PduHeaders headers, int mapColumn) {
314 headers.setEncodedStringValue(value, mapColumn);
320 PduHeaders headers, int mapColumn) {
323 headers.setTextString(getBytes(s), mapColumn);
329 PduHeaders headers, int mapColumn) throws InvalidHeaderValueException {
332 headers.setOctet(b, mapColumn);
338 PduHeaders headers, int mapColumn) {
341 headers.setLongInteger(l, mapColumn);
484 private void loadAddress(long msgId, PduHeaders headers) { argument
498 headers
305 setEncodedStringValueToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
318 setTextStringToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
327 setOctetToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
336 setLongToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
[all...]
/frameworks/av/include/media/
H A Dmediametadataretriever.h74 const KeyedVector<String8, String8> *headers = NULL);
/frameworks/av/include/media/stagefright/
H A DMediaHTTP.h34 const KeyedVector<String8, String8> *headers,
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.h33 const KeyedVector<String8, String8> *headers);
H A DRTSPSource.h37 const KeyedVector<String8, String8> *headers,
H A DHTTPLiveSource.cpp40 const KeyedVector<String8, String8> *headers)
48 if (headers) {
49 mExtraHeaders = *headers;
36 HTTPLiveSource( const sp<AMessage> &notify, const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
/frameworks/av/media/libstagefright/include/
H A DHTTPBase.h38 const KeyedVector<String8, String8> *headers = NULL,
/frameworks/volley/src/com/android/volley/toolbox/
H A DJsonArrayRequest.java49 new String(response.data, HttpHeaderParser.parseCharset(response.headers));
H A DJsonObjectRequest.java67 new String(response.data, HttpHeaderParser.parseCharset(response.headers));
H A DStringRequest.java67 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers));
H A DHttpClientStack.java59 private static void addHeaders(HttpUriRequest httpRequest, Map<String, String> headers) { argument
60 for (String key : headers.keySet()) {
61 httpRequest.setHeader(key, headers.get(key));
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp82 const KeyedVector<String8, String8>* headers)
91 if (headers == NULL) {
94 // serialize the headers
95 data.writeInt32(headers->size());
96 for (size_t i = 0; i < headers->size(); ++i) {
97 data.writeString8(headers->keyAt(i));
98 data.writeString8(headers->valueAt(i));
373 KeyedVector<String8, String8> headers; local
378 headers.add(key, value);
381 httpService, url, numHeaders > 0 ? &headers
79 setDataSource( const sp<IMediaHTTPService> &httpService, const char* url, const KeyedVector<String8, String8>* headers) argument
[all...]
H A Dmediametadataretriever.cpp101 const KeyedVector<String8, String8> *headers)
114 return mRetriever->setDataSource(httpService, srcUrl, headers);
98 setDataSource( const sp<IMediaHTTPService> &httpService, const char *srcUrl, const KeyedVector<String8, String8> *headers) argument
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java351 /* Request headers are stored here */
352 private Hashtable<String, String> headers = new Hashtable<String, String>(); field in class:TestWebServer.Worker
596 headers.put(headerName, headerValue);
601 * Read all headers from the input stream
607 log("Read headers");
629 String lengthString = headers.get(requestHeaders[REQ_CONTENT_LENGTH]);
656 // If status line found, read any headers
661 if (headers.get(requestHeaders[REQ_CONTENT_LENGTH]) != null) {
675 headers.clear();
691 // Write line between headers an
[all...]
/frameworks/base/core/java/android/webkit/
H A DCacheManager.java32 // received over the network. The component handles parsing of HTTP headers and
33 // utilizes the relevant cache headers to determine if the content should be
35 // this component and if they can not be resolved by the cache, the HTTP headers
278 * If a non-null value is provided for the HTTP headers map, and the cache
279 * entry needs validation, appropriate headers will be added to the map.
284 * @param headers a map from HTTP header name to value, to be populated
291 Map<String, String> headers) {
290 getCacheFile(String url, Map<String, String> headers) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.h42 const KeyedVector<String8, String8> *headers);
/frameworks/av/media/libstagefright/
H A DDataSource.cpp188 const KeyedVector<String8, String8> *headers,
228 if (headers != NULL) {
229 nonCacheSpecificHeaders = *headers;
185 CreateFromURI( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers, String8 *contentType, HTTPBase *httpSource) argument

Completed in 798 milliseconds

12345