Searched defs:headers (Results 1 - 25 of 71) sorted by path

123

/frameworks/av/media/libmedia/
H A DIMediaHTTPConnection.cpp45 const char *uri, const KeyedVector<String8, String8> *headers) {
54 if (headers != NULL) {
55 for (size_t i = 0; i < headers->size(); ++i) {
56 String16 key(headers->keyAt(i).string());
57 String16 val(headers->valueAt(i).string());
44 connect( const char *uri, const KeyedVector<String8, String8> *headers) argument
H A DIMediaMetadataRetriever.cpp92 const KeyedVector<String8, String8> *headers)
102 if (headers == NULL) {
105 // serialize the headers
106 data.writeInt64(headers->size());
107 for (size_t i = 0; i < headers->size(); ++i) {
108 data.writeString8(headers->keyAt(i));
109 data.writeString8(headers->valueAt(i));
216 KeyedVector<String8, String8> headers; local
221 headers.add(key, value);
226 httpService, srcUrl, numHeaders > 0 ? &headers
89 setDataSource( const sp<IMediaHTTPService> &httpService, const char *srcUrl, const KeyedVector<String8, String8> *headers) argument
[all...]
H A DIMediaPlayer.cpp82 const KeyedVector<String8, String8>* headers)
91 if (headers == NULL) {
94 // serialize the headers
95 data.writeInt32(headers->size());
96 for (size_t i = 0; i < headers->size(); ++i) {
97 data.writeString8(headers->keyAt(i));
98 data.writeString8(headers->valueAt(i));
373 KeyedVector<String8, String8> headers; local
378 headers.add(key, value);
381 httpService, url, numHeaders > 0 ? &headers
79 setDataSource( const sp<IMediaHTTPService> &httpService, const char* url, const KeyedVector<String8, String8>* headers) argument
[all...]
H A Dmediametadataretriever.cpp101 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 Dmediaplayer.cpp147 const char *url, const KeyedVector<String8, String8> *headers)
156 (NO_ERROR != player->setDataSource(httpService, url, headers))) {
145 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp706 const KeyedVector<String8, String8> *headers)
741 setDataSource_post(p, p->setDataSource(httpService, url, headers));
703 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
H A DMetadataRetrieverClient.cpp112 const KeyedVector<String8, String8> *headers)
133 status_t ret = p->setDataSource(httpService, url, headers);
109 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
H A DMidiMetadataRetriever.cpp43 const KeyedVector<String8, String8> *headers)
51 return mMidiPlayer->setDataSource(httpService, url, headers);
40 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
H A DStagefrightPlayer.cpp59 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 DTestPlayerStub.cpp118 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 DGenericSource.cpp99 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 DHTTPLiveSource.cpp40 const KeyedVector<String8, String8> *headers)
48 if (headers) {
49 mExtraHeaders = *headers;
36 HTTPLiveSource( const sp<AMessage> &notify, const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
H A DNuPlayer.cpp230 const KeyedVector<String8, String8> *headers) {
239 source = new HTTPLiveSource(notify, httpService, url, headers);
242 notify, httpService, url, headers, mUIDValid, mUID);
248 notify, httpService, url, headers, mUIDValid, mUID, true);
256 status_t err = genericSource->setDataSource(httpService, url, headers);
227 setDataSourceAsync( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
H A DNuPlayerDriver.cpp81 const KeyedVector<String8, String8> *headers) {
91 mPlayer->setDataSourceAsync(httpService, url, headers);
78 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
H A DRTSPSource.cpp39 const KeyedVector<String8, String8> *headers,
57 if (headers) {
58 mExtraHeaders = *headers;
35 RTSPSource( const sp<AMessage> &notify, 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 DAwesomePlayer.cpp295 const KeyedVector<String8, String8> *headers) {
297 return setDataSource_l(httpService, uri, headers);
303 const KeyedVector<String8, String8> *headers) {
309 if (headers) {
310 mUriHeaders = *headers;
292 setDataSource( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers) argument
300 setDataSource_l( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers) argument
H A DDataSource.cpp188 const KeyedVector<String8, String8> *headers,
228 if (headers != NULL) {
229 nonCacheSpecificHeaders = *headers;
185 CreateFromURI( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers, String8 *contentType, HTTPBase *httpSource) argument
H A DNuCachedSource2.cpp730 KeyedVector<String8, String8> *headers,
736 if (headers == NULL) {
741 if ((index = headers->indexOfKey(String8("x-cache-config"))) >= 0) {
742 *cacheConfig = headers->valueAt(index);
744 headers->removeItemsAt(index);
749 if ((index = headers->indexOfKey(
752 headers->removeItemsAt(index);
729 RemoveCacheSpecificHeaders( KeyedVector<String8, String8> *headers, String8 *cacheConfig, bool *disconnectAtHighwatermark) argument
H A DNuMediaExtractor.cpp63 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 DStagefrightMetadataRetriever.cpp60 const KeyedVector<String8, String8> *headers) {
68 mSource = DataSource::CreateFromURI(httpService, uri, headers);
57 setDataSource( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers) argument
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp47 const KeyedVector<String8, String8> *headers,
54 if (headers != NULL) {
55 extHeaders = *headers;
45 connect( const char *uri, const KeyedVector<String8, String8> *headers, off64_t ) argument
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp351 const char *url, const KeyedVector<String8, String8> *headers) {
355 if (headers != NULL) {
357 "headers",
358 new KeyedVector<String8, String8>(*headers));
669 KeyedVector<String8, String8> *headers = NULL; local
670 if (!msg->findPointer("headers", (void **)&headers)) {
673 mExtraHeaders = *headers;
675 delete headers;
676 headers
350 connectAsync( const char *url, const KeyedVector<String8, String8> *headers) argument
845 KeyedVector<String8, String8> headers = mExtraHeaders; local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp262 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 DSDPLoader.cpp51 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/net/http/
H A DAndroidHttpClientConnection.java245 * Sends the request line and all headers over the connection.
246 * @param request the request whose headers to send.
291 * Parses the response headers and adds them to the
292 * given {@code headers} object, and returns the response StatusLine
293 * @param headers store parsed header to headers.
298 public StatusLine parseResponseHeader(Headers headers) argument
330 // Check for folded headers first
332 // discussion on folded headers
355 headers
381 receiveResponseEntity(final Headers headers) argument
412 determineLength(final Headers headers) argument
[all...]

Completed in 2098 milliseconds

123