/frameworks/base/obex/javax/obex/ |
H A D | HeaderSet.java | 242 * headers to include in the next request. 440 * defined in this interface or any of the user-defined headers 493 * Retrieves the list of headers that may be retrieved via the 495 * other words, this method returns all the headers that are available in 498 * @return the array of headers that are set in this object or 499 * <code>null</code> if no headers are available 567 byte[] headers = out.toByteArray(); 570 if ((headers == null) || (headers.length == 0)) { 574 int[] result = new int[headers [all...] |
H A D | ClientOperation.java | 144 * Since we are not sending any headers or returning any headers then 271 // there are 3 bytes operation headers and 3 bytes body headers // 311 * Returns the headers that have been received during the operation. 312 * Modifying the object returned has no effect on the headers that are sent 314 * @return the headers received during this <code>Operation</code> 324 * Specifies the headers that should be sent in the next OBEX message that 326 * @param headers the headers t 333 sendHeaders(HeaderSet headers) argument [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | RequestQueue.java | 290 * @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 D | HttpsConnection.java | 171 // 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 D | AndroidHttpClient.java | 464 Header[] headers; 465 headers = request.getHeaders(Headers.CONTENT_ENCODING); 466 if (headers != null) { 467 for (Header header : headers) { 474 headers = request.getHeaders(Headers.CONTENT_TYPE); 475 if (headers != null) { 476 for (Header header : headers) {
|
/frameworks/base/core/java/android/webkit/ |
H A D | LoadListener.java | 191 * This message is sent when the LoadListener has headers 192 * available. The headers are sent onto WebCore to see what we 303 * Parse the headers sent from the server. 304 * @param headers gives up the HeaderGroup 308 public void headers(Headers headers) { argument 309 if (DebugFlags.LOAD_LISTENER) Log.v(LOGTAG, "LoadListener.headers"); 312 ArrayList<String> cookies = headers.getSetCookie(); 316 sendMessageInternal(obtainMessage(MSG_CONTENT_HEADERS, headers)); 327 private void handleHeaders(Headers headers) { argument 706 checkCache(Map<String, String> headers) argument 895 setRequestData(String method, Map<String, String> headers, byte[] postData) argument [all...] |
H A D | HTML5Audio.java | 217 Map<String, String> headers = new HashMap<String, String>(); 220 headers.put(COOKIE, cookieValue); 223 headers.put(HIDE_URL_LOGS, "true"); 226 mMediaPlayer.setDataSource(url, headers);
|
H A D | HTML5VideoView.java | 171 Map<String, String> headers = new HashMap<String, String>(); 173 headers.put(COOKIE, cookieValue); 176 headers.put(HIDE_URL_LOGS, "true"); 179 return headers;
|
/frameworks/base/media/libmediaplayerservice/ |
H A D | TestPlayerStub.cpp | 116 const char *url, const KeyedVector<String8, String8> *headers) { 165 return mPlayer->setDataSource(mContentUrl, headers); 115 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
|
H A D | MetadataRetrieverClient.h | 46 const char *url, const KeyedVector<String8, String8> *headers);
|
H A D | StagefrightPlayer.cpp | 57 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 D | MidiFile.h | 35 const char* path, const KeyedVector<String8, String8> *headers);
|
H A D | StagefrightPlayer.h | 37 const char *url, const KeyedVector<String8, String8> *headers);
|
/frameworks/base/media/libstagefright/ |
H A D | DataSource.cpp | 126 const char *uri, const KeyedVector<String8, String8> *headers) { 133 if (httpSource->connect(uri, headers) != OK) { 125 CreateFromURI( const char *uri, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/base/include/media/ |
H A D | mediametadataretriever.h | 71 const KeyedVector<String8, String8> *headers = NULL);
|
H A D | IMediaPlayer.h | 40 const KeyedVector<String8, String8>* headers) = 0;
|
/frameworks/base/media/libstagefright/include/ |
H A D | HTTPBase.h | 38 const KeyedVector<String8, String8> *headers = NULL,
|
H A D | LiveSession.h | 44 const KeyedVector<String8, String8> *headers = NULL);
|
/frameworks/base/media/libmedia/ |
H A D | IMediaPlayer.cpp | 77 const KeyedVector<String8, String8>* headers) 82 if (headers == NULL) { 85 // serialize the headers 86 data.writeInt32(headers->size()); 87 for (size_t i = 0; i < headers->size(); ++i) { 88 data.writeString8(headers->keyAt(i)); 89 data.writeString8(headers->valueAt(i)); 312 KeyedVector<String8, String8> headers; local 317 headers.add(key, value); 319 reply->writeInt32(setDataSource(url, numHeaders > 0 ? &headers 76 setDataSource(const char* url, const KeyedVector<String8, String8>* headers) argument [all...] |
H A D | mediametadataretriever.cpp | 96 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 D | TestWebServer.java | 351 /* 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/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 76 const char *url, const KeyedVector<String8, String8> *headers) { 80 if (headers != NULL) { 82 "headers", 83 new KeyedVector<String8, String8>(*headers)); 160 KeyedVector<String8, String8> *headers = NULL; local 161 if (!msg->findPointer("headers", (void **)&headers)) { 164 mExtraHeaders = *headers; 166 delete headers; 167 headers 75 connect( const char *url, const KeyedVector<String8, String8> *headers) argument [all...] |
/frameworks/media/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.h | 59 const char *uri, const KeyedVector<String8, String8> *headers); 104 const char *uri, const KeyedVector<String8, String8> *headers);
|
/frameworks/base/include/media/stagefright/ |
H A D | DataSource.h | 47 const KeyedVector<String8, String8> *headers = NULL);
|
/frameworks/base/media/libmediaplayerservice/nuplayer/ |
H A D | RTSPSource.h | 34 const KeyedVector<String8, String8> *headers,
|