/frameworks/av/media/libmedia/ |
H A D | IMediaPlayer.cpp | 91 const KeyedVector<String8, String8>* headers) 100 if (headers == NULL) { 103 // serialize the headers 104 data.writeInt32(headers->size()); 105 for (size_t i = 0; i < headers->size(); ++i) { 106 data.writeString8(headers->keyAt(i)); 107 data.writeString8(headers->valueAt(i)); 447 KeyedVector<String8, String8> headers; local 452 headers.add(key, value); 455 httpService, url, numHeaders > 0 ? &headers 88 setDataSource( const sp<IMediaHTTPService> &httpService, const char* url, const KeyedVector<String8, String8>* headers) argument [all...] |
H A D | mediaplayer.cpp | 150 const char *url, const KeyedVector<String8, String8> *headers) 159 (NO_ERROR != player->setDataSource(httpService, url, headers))) { 148 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.cpp | 82 const KeyedVector<String8, String8> *headers) { 92 mPlayer->setDataSourceAsync(httpService, url, headers); 79 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
|
H A D | GenericSource.cpp | 99 const KeyedVector<String8, String8> *headers) { 105 if (headers) { 106 mUriHeaders = *headers; 96 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
|
H A D | NuPlayer.cpp | 239 const KeyedVector<String8, String8> *headers) { 248 source = new HTTPLiveSource(notify, httpService, url, headers); 251 notify, httpService, url, headers, mUIDValid, mUID); 257 notify, httpService, url, headers, mUIDValid, mUID, true); 265 status_t err = genericSource->setDataSource(httpService, url, headers); 236 setDataSourceAsync( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/av/media/libstagefright/ |
H A D | NuCachedSource2.cpp | 737 KeyedVector<String8, String8> *headers, 743 if (headers == NULL) { 748 if ((index = headers->indexOfKey(String8("x-cache-config"))) >= 0) { 749 *cacheConfig = headers->valueAt(index); 751 headers->removeItemsAt(index); 756 if ((index = headers->indexOfKey( 759 headers->removeItemsAt(index); 736 RemoveCacheSpecificHeaders( KeyedVector<String8, String8> *headers, String8 *cacheConfig, bool *disconnectAtHighwatermark) argument
|
H A D | StagefrightMetadataRetriever.cpp | 70 const KeyedVector<String8, String8> *headers) { 74 mSource = DataSource::CreateFromURI(httpService, uri, headers); 67 setDataSource( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers) argument
|
H A D | AwesomePlayer.cpp | 297 const KeyedVector<String8, String8> *headers) { 299 return setDataSource_l(httpService, uri, headers); 305 const KeyedVector<String8, String8> *headers) { 311 if (headers) { 312 mUriHeaders = *headers; 294 setDataSource( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers) argument 302 setDataSource_l( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 243 * Sets video URI using specific headers. 246 * @param headers the headers for the URI request. 248 * changed with key/value pairs through the headers parameter with 252 public void setVideoURI(Uri uri, Map<String, String> headers) { argument 254 mHeaders = headers;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaExtractor.cpp | 78 const KeyedVector<String8, String8> *headers) { 79 return mImpl->setDataSource(httpService, path, headers); 638 KeyedVector<String8, String8> headers; local 640 env, keysArray, valuesArray, &headers)) { 656 status_t err = extractor->setDataSource(httpService, path, &headers); 75 setDataSource( const sp<IMediaHTTPService> &httpService, const char *path, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/base/tests/CoreTests/android/core/ |
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/base/tests/OneMedia/src/com/android/onemedia/playback/ |
H A D | LocalRenderer.java | 101 public final Map<String, String> headers; field in class:LocalRenderer.PlayerContent 103 public PlayerContent(String source, Map<String, String> headers) { argument 105 this.headers = headers; 151 Header[] headers = response.getAllHeaders(); 152 if (headers != null && headers.length > 0) { 153 for (Header header : headers) { 328 if (mContent.headers != null) { 329 for (String key : mContent.headers [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduPersister.java | 307 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/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 694 const KeyedVector<String8, String8> *headers) 729 setDataSource_post(p, p->setDataSource(httpService, url, headers)); 691 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 499 const char *url, const KeyedVector<String8, String8> *headers) { 503 if (headers != NULL) { 505 "headers", 506 new KeyedVector<String8, String8>(*headers)); 986 KeyedVector<String8, String8> *headers = NULL; local 987 if (!msg->findPointer("headers", (void **)&headers)) { 990 mExtraHeaders = *headers; 992 delete headers; 993 headers 498 connectAsync( const char *url, const KeyedVector<String8, String8> *headers) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 981 * @param headers the headers to be sent together with the request for the data 983 * changed with key/value pairs through the headers parameter with 988 public void setDataSource(Context context, Uri uri, Map<String, String> headers) argument 1028 setDataSource(uri.toString(), headers); 1053 * @param headers the headers associated with the http request for the stream you want to play 1057 public void setDataSource(String path, Map<String, String> headers) argument 1063 if (headers != null) { 1064 keys = new String[headers [all...] |