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

12345

/frameworks/base/core/java/android/net/http/
H A DRequestQueue.java290 * @param headers A hashmap of http headers.
298 Map<String, String> headers, EventHandler eventHandler,
301 return queueRequest(url, uri, method, headers, eventHandler,
310 * @param headers A hashmap of http headers.
317 String url, WebAddress uri, String method, Map<String, String> headers,
334 bodyLength, eventHandler, headers);
344 this, url, uri, method, headers, bodyProvider, bodyLength,
371 String method, Map<String, String> headers,
296 queueRequest( String url, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
316 queueRequest( String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
370 queueSynchronousRequest(String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
[all...]
H A DHttpsConnection.java172 // handler with the response status and headers. The event
204 Headers headers = new Headers();
209 // add all 'proxy' headers from the original request, we also need
224 // codes prior to receiving actual headers;
228 statusLine = proxyConnection.parseResponseHeader(headers);
281 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/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduPersister.java304 PduHeaders headers, int mapColumn) {
311 headers.setEncodedStringValue(value, mapColumn);
317 PduHeaders headers, int mapColumn) {
320 headers.setTextString(getBytes(s), mapColumn);
326 PduHeaders headers, int mapColumn) throws InvalidHeaderValueException {
329 headers.setOctet(b, mapColumn);
335 PduHeaders headers, int mapColumn) {
338 headers.setLongInteger(l, mapColumn);
481 private void loadAddress(long msgId, PduHeaders headers) { argument
495 headers
302 setEncodedStringValueToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
315 setTextStringToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
324 setOctetToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
333 setLongToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
[all...]
/frameworks/av/include/media/
H A Dmediametadataretriever.h72 const KeyedVector<String8, String8> *headers = NULL);
H A DIMediaPlayer.h45 const KeyedVector<String8, String8>* headers) = 0;
/frameworks/av/media/libmediaplayerservice/
H A DMetadataRetrieverClient.h46 const char *url, const KeyedVector<String8, String8> *headers);
H A DStagefrightPlayer.cpp57 const char *url, const KeyedVector<String8, String8> *headers) {
58 return mPlayer->setDataSource(url, headers);
56 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
H A DStagefrightPlayer.h37 const char *url, const KeyedVector<String8, String8> *headers);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.h37 const KeyedVector<String8, String8> *headers,
H A DHTTPLiveSource.h32 const KeyedVector<String8, String8> *headers,
H A DHTTPLiveSource.cpp38 const KeyedVector<String8, String8> *headers,
48 if (headers) {
49 mExtraHeaders = *headers;
35 HTTPLiveSource( const sp<AMessage> &notify, const char *url, const KeyedVector<String8, String8> *headers, bool uidValid, uid_t uid) 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));
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp79 const KeyedVector<String8, String8>* headers)
84 if (headers == NULL) {
87 // serialize the headers
88 data.writeInt32(headers->size());
89 for (size_t i = 0; i < headers->size(); ++i) {
90 data.writeString8(headers->keyAt(i));
91 data.writeString8(headers->valueAt(i));
359 KeyedVector<String8, String8> headers; local
364 headers.add(key, value);
366 reply->writeInt32(setDataSource(url, numHeaders > 0 ? &headers
78 setDataSource(const char* url, const KeyedVector<String8, String8>* headers) argument
[all...]
H A Dmediametadataretriever.cpp96 const char *srcUrl, const KeyedVector<String8, String8> *headers)
109 return mRetriever->setDataSource(srcUrl, headers);
95 setDataSource( 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/av/include/media/stagefright/
H A DDataSource.h47 const KeyedVector<String8, String8> *headers = NULL);
/frameworks/base/core/java/android/webkit/
H A DCacheManager.java38 // received over the network. The component handles parsing of HTTP headers and
39 // utilizes the relevant cache headers to determine if the content should be
41 // this component and if they can not be resolved by the cache, the HTTP headers
284 * If a non-null value is provided for the HTTP headers map, and the cache
285 * entry needs validation, appropriate headers will be added to the map.
290 * @param headers a map from HTTP header name to value, to be populated
297 Map<String, String> headers) {
296 getCacheFile(String url, Map<String, String> headers) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.h40 const KeyedVector<String8, String8> *headers);
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp162 const char *url, const KeyedVector<String8, String8> *headers) {
166 if (headers != NULL) {
168 "headers",
169 new KeyedVector<String8, String8>(*headers));
381 KeyedVector<String8, String8> *headers = NULL; local
382 if (!msg->findPointer("headers", (void **)&headers)) {
385 mExtraHeaders = *headers;
387 delete headers;
388 headers
161 connectAsync( const char *url, const KeyedVector<String8, String8> *headers) argument
528 KeyedVector<String8, String8> headers = mExtraHeaders; local
[all...]
/frameworks/av/media/libstagefright/
H A DNuCachedSource2.cpp683 KeyedVector<String8, String8> *headers,
689 if (headers == NULL) {
694 if ((index = headers->indexOfKey(String8("x-cache-config"))) >= 0) {
695 *cacheConfig = headers->valueAt(index);
697 headers->removeItemsAt(index);
702 if ((index = headers->indexOfKey(
705 headers->removeItemsAt(index);
682 RemoveCacheSpecificHeaders( KeyedVector<String8, String8> *headers, String8 *cacheConfig, bool *disconnectAtHighwatermark) argument
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DAbstractProxyTest.java274 private void assertContains(List<String> headers, String header) { argument
275 assertTrue(headers.toString(), headers.contains(header));

Completed in 387 milliseconds

12345