/frameworks/base/obex/javax/obex/ |
H A D | ServerOperation.java | 165 * Determine if any headers were sent in the initial request 241 * operation even if no headers will be sent; if <code>false</code> 243 * headers to send 442 * Determine if any headers were sent in the initial request 507 * Returns the headers that have been received during the operation. 508 * Modifying the object returned has no effect on the headers that are sent 510 * @return the headers received during this <code>Operation</code> 519 * Specifies the headers that should be sent in the next OBEX message that 521 * @param headers the headers t 527 sendHeaders(HeaderSet headers) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMetadataRetriever.cpp | 53 const char *uri, const KeyedVector<String8, String8> *headers) { 61 mSource = DataSource::CreateFromURI(uri, headers); 52 setDataSource( const char *uri, const KeyedVector<String8, String8> *headers) argument
|
H A D | NuCachedSource2.cpp | 683 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
|
H A D | AwesomePlayer.cpp | 259 const char *uri, const KeyedVector<String8, String8> *headers) { 261 return setDataSource_l(uri, headers); 265 const char *uri, const KeyedVector<String8, String8> *headers) { 270 if (headers) { 271 mUriHeaders = *headers; 258 setDataSource( const char *uri, const KeyedVector<String8, String8> *headers) argument 264 setDataSource_l( const char *uri, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/base/core/java/android/net/http/ |
H A D | RequestHandle.java | 63 String method, Map<String, String> headers, 66 if (headers == null) { 67 headers = new HashMap<String, String>(); 69 mHeaders = headers; 87 String method, Map<String, String> headers, 90 this(requestQueue, url, uri, method, headers, bodyProvider, bodyLength, 155 // be careful and remove authentication headers, if any 214 // Update the cache headers for this URL 311 // because we do not preemptively send authorization headers, nc is always 1 62 RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, String method, Map<String, String> headers, InputStream bodyProvider, int bodyLength, Request request) argument 86 RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, String method, Map<String, String> headers, InputStream bodyProvider, int bodyLength, Request request, Connection conn) 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...] |
H A D | TestEventHandler.java | 40 /* List of headers received */ 217 * Implements the EventHandler headers method called when a server 220 public void headers(Headers headers) { argument 222 Log.v(LOGTAG, "TestEventHandler:headers()"); 231 /* Check through headers received for matches with expected 232 * headers */ 243 s = Long.toString(headers.getContentLength()); 246 s = headers.getContentType(); 249 s = headers [all...] |
/frameworks/av/media/libmedia/ |
H A D | IMediaPlayer.cpp | 79 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 D | mediaplayer.cpp | 141 const char *url, const KeyedVector<String8, String8> *headers) 150 (NO_ERROR != player->setDataSource(url, headers))) { 140 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayer.cpp | 118 const char *url, const KeyedVector<String8, String8> *headers) { 123 source = new HTTPLiveSource(url, headers, mUIDValid, mUID); 125 source = new RTSPSource(url, headers, mUIDValid, mUID); 127 source = new GenericSource(url, headers, mUIDValid, mUID); 117 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/av/media/libstagefright/chromium_http/ |
H A D | support.cpp | 321 std::string headers; local 322 request->GetAllResponseHeaders(&headers); 324 MY_LOGV(StringPrintf("response headers: %s", headers.c_str()).c_str()); 414 const KeyedVector<String8, String8> *headers, 425 headers, 433 const KeyedVector<String8, String8> *headers, 435 me->onInitiateConnection(url, headers, offset); 450 net::HttpRequestHeaders headers = local 454 headers 412 initiateConnection( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument 431 OnInitiateConnectionWrapper( SfDelegate *me, GURL url, const KeyedVector<String8, String8> *headers, off64_t offset) argument [all...] |
/frameworks/av/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 235 KeyedVector<String8, String8> headers = mExtraHeaders; local [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 195 public void setVideoURI(Uri uri, Map<String, String> headers) { argument 197 mHeaders = headers;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 60 const char *url, const KeyedVector<String8, String8> *headers) { 62 if (headers != NULL) { 59 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5VideoViewProxy.java | 454 // The response headers. 503 public void headers(Headers headers) { argument 504 mHeaders = headers;
|
H A D | BrowserFrame.java | 268 * @param extraHeaders The extra headers sent with this url. This should not 269 * include the common headers like "user-agent". If it does, it 1276 private native void nativeLoadUrl(String url, Map<String, String> headers); argument
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduPersister.java | 304 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/base/media/jni/ |
H A D | android_media_MediaExtractor.cpp | 137 const char *path, const KeyedVector<String8, String8> *headers) { 138 return mImpl->setDataSource(path, headers); 644 KeyedVector<String8, String8> headers; local 646 env, keysArray, valuesArray, &headers)) { 656 status_t err = extractor->setDataSource(path, &headers); 136 setDataSource( const char *path, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 609 const char *url, const KeyedVector<String8, String8> *headers) 644 setDataSource_post(p, p->setDataSource(url, headers)); 608 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 862 * @param headers the headers to be sent together with the request for the data 865 public void setDataSource(Context context, Uri uri, Map<String, String> headers) argument 899 setDataSource(uri.toString(), headers); 925 * @param headers the headers associated with the http request for the stream you want to play 929 public void setDataSource(String path, Map<String, String> headers) argument 935 if (headers != null) { 936 keys = new String[headers.size()]; 937 values = new String[headers [all...] |