/frameworks/av/media/libmedia/ |
H A D | IMediaHTTPConnection.cpp | 46 const char *uri, const KeyedVector<String8, String8> *headers) { 55 if (headers != NULL) { 56 for (size_t i = 0; i < headers->size(); ++i) { 57 String16 key(headers->keyAt(i).string()); 58 String16 val(headers->valueAt(i).string()); 45 connect( const char *uri, const KeyedVector<String8, String8> *headers) argument
|
H A D | IMediaMetadataRetriever.cpp | 94 const KeyedVector<String8, String8> *headers) 104 if (headers == NULL) { 107 // serialize the headers 108 data.writeInt64(headers->size()); 109 for (size_t i = 0; i < headers->size(); ++i) { 110 data.writeString8(headers->keyAt(i)); 111 data.writeString8(headers->valueAt(i)); 227 KeyedVector<String8, String8> headers; local 232 headers.add(key, value); 237 httpService, srcUrl, numHeaders > 0 ? &headers 91 setDataSource( const sp<IMediaHTTPService> &httpService, const char *srcUrl, const KeyedVector<String8, String8> *headers) argument [all...] |
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 | mediametadataretriever.cpp | 101 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
|
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/ |
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
|
H A D | MetadataRetrieverClient.cpp | 108 const KeyedVector<String8, String8> *headers) 129 status_t ret = p->setDataSource(httpService, url, headers); 105 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
|
H A D | StagefrightPlayer.cpp | 59 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 D | TestPlayerStub.cpp | 118 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
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
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 | HTTPLiveSource.cpp | 40 const KeyedVector<String8, String8> *headers) 51 if (headers) { 52 mExtraHeaders = *headers; 36 HTTPLiveSource( const sp<AMessage> ¬ify, 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
|
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 | RTSPSource.cpp | 39 const KeyedVector<String8, String8> *headers, 57 if (headers) { 58 mExtraHeaders = *headers; 35 RTSPSource( const sp<AMessage> ¬ify, const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers, bool uidValid, uid_t uid, bool isSDP) argument
|
/frameworks/av/media/libstagefright/ |
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
|
H A D | DataSource.cpp | 191 const KeyedVector<String8, String8> *headers, 231 if (headers != NULL) { 232 nonCacheSpecificHeaders = *headers; 188 CreateFromURI( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers, String8 *contentType, HTTPBase *httpSource) argument
|
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 | NuMediaExtractor.cpp | 63 const KeyedVector<String8, String8> *headers) { 71 DataSource::CreateFromURI(httpService, path, headers); 60 setDataSource( const sp<IMediaHTTPService> &httpService, const char *path, const KeyedVector<String8, String8> *headers) 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
|
/frameworks/av/media/libstagefright/http/ |
H A D | MediaHTTP.cpp | 46 const KeyedVector<String8, String8> *headers, 53 if (headers != NULL) { 54 extHeaders = *headers; 44 connect( const char *uri, const KeyedVector<String8, String8> *headers, off64_t ) argument
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | HTTPDownloader.cpp | 39 const KeyedVector<String8, String8> &headers) : 41 mExtraHeaders(headers), 98 KeyedVector<String8, String8> headers = mExtraHeaders; local 100 headers.add( 111 status_t err = mHTTPDataSource->connect(url, &headers); 37 HTTPDownloader( const sp<IMediaHTTPService> &httpService, const KeyedVector<String8, String8> &headers) argument
|
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/av/media/libstagefright/rtsp/ |
H A D | AMPEG4ElementaryAssembler.cpp | 262 List<AUHeader> headers; local 274 size_t n = headers.empty() ? mIndexLength : mIndexDeltaLength; 280 if (headers.empty()) { 332 headers.push_back(header); 345 for (List<AUHeader>::iterator it = headers.begin(); 346 it != headers.end(); ++it) {
|
H A D | SDPLoader.cpp | 51 void SDPLoader::load(const char *url, const KeyedVector<String8, String8> *headers) { argument 57 if (headers != NULL) { 59 "headers", 60 new KeyedVector<String8, String8>(*headers)); 90 KeyedVector<String8, String8> *headers = NULL; local 91 msg->findPointer("headers", (void **)&headers); 96 err = mHTTPDataSource->connect(url.c_str(), headers); 103 if (headers != NULL) { 104 delete headers; [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | CacheManager.java | 32 // 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
|