Searched defs:headers (Results 26 - 50 of 70) sorted by relevance

123

/frameworks/av/media/libmedia/
H A Dmediametadataretriever.cpp96 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/av/media/libmediaplayerservice/
H A DMetadataRetrieverClient.cpp109 const char *url, const KeyedVector<String8, String8> *headers)
130 status_t ret = p->setDataSource(url, headers);
108 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
H A DStagefrightPlayer.cpp57 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
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp38 const KeyedVector<String8, String8> *headers,
46 if (headers) {
47 mExtraHeaders = *headers;
36 HTTPLiveSource( const char *url, const KeyedVector<String8, String8> *headers, bool uidValid, uid_t uid) argument
H A DGenericSource.cpp36 const KeyedVector<String8, String8> *headers,
44 DataSource::CreateFromURI(url, headers);
34 GenericSource( const char *url, const KeyedVector<String8, String8> *headers, bool uidValid, uid_t uid) argument
H A DNuPlayerDriver.cpp68 const char *url, const KeyedVector<String8, String8> *headers) {
71 mPlayer->setDataSource(url, headers);
67 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
H A DRTSPSource.cpp33 const KeyedVector<String8, String8> *headers,
45 if (headers) {
46 mExtraHeaders = *headers;
31 RTSPSource( const char *url, const KeyedVector<String8, String8> *headers, bool uidValid, uid_t uid) argument
/frameworks/av/media/libstagefright/
H A DDataSource.cpp135 const char *uri, const KeyedVector<String8, String8> *headers) {
154 if (httpSource->connect(uri, headers) != OK) {
161 if (headers != NULL) {
162 KeyedVector<String8, String8> copy = *headers;
134 CreateFromURI( const char *uri, const KeyedVector<String8, String8> *headers) argument
H A DNuMediaExtractor.cpp61 const char *path, const KeyedVector<String8, String8> *headers) {
69 DataSource::CreateFromURI(path, headers);
60 setDataSource( const char *path, const KeyedVector<String8, String8> *headers) argument
/frameworks/base/core/java/android/net/http/
H A DAndroidHttpClientConnection.java249 * Sends the request line and all headers over the connection.
250 * @param request the request whose headers to send.
295 * Parses the response headers and adds them to the
296 * given {@code headers} object, and returns the response StatusLine
297 * @param headers store parsed header to headers.
302 public StatusLine parseResponseHeader(Headers headers) argument
334 // Check for folded headers first
336 // discussion on folded headers
359 headers
385 receiveResponseEntity(final Headers headers) argument
416 determineLength(final Headers headers) argument
[all...]
H A DEventHandler.java22 * processed. The normal order of callbacks is status(), headers(),
86 * Called after all headers are successfully processed.
88 public void headers(Headers headers); argument
H A DRequest.java95 * headers.
109 * @param headers reqeust headers
114 Map<String, String> headers) {
140 addHeaders(headers);
187 * Add all headers in given map to this request. This is a helper
190 void addHeaders(Map<String, String> headers) { argument
191 if (headers == null) {
196 Iterator<Entry<String, String>> i = headers.entrySet().iterator();
204 * Send the request line and headers
111 Request(String method, HttpHost host, HttpHost proxyHost, String path, InputStream bodyProvider, int bodyLength, EventHandler eventHandler, Map<String, String> headers) argument
[all...]
H A DRequestQueue.java290 * @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...]
/frameworks/base/tests/CoreTests/android/core/
H A DRequestAPITest.java70 public void verifyFailure(Map<String, String> headers) { argument
74 "http://localhost:8080/test1", "GET", headers, null,
90 Map<String, String> headers = Maps.newHashMap();
91 headers.put(null, null);
92 verifyFailure(headers);
102 Map<String, String> headers = Maps.newHashMap();
103 headers.put("TestHeader", null);
104 verifyFailure(headers);
114 Map<String, String> headers = Maps.newHashMap();
115 headers
120 verifySuccess(Map<String, String> headers) argument
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DRetrieveConf.java40 * Constructor with given headers.
42 * @param headers Headers for this PDU.
44 RetrieveConf(PduHeaders headers) { argument
45 super(headers);
49 * Constructor with given headers and body
51 * @param headers Headers for this PDU.
54 RetrieveConf(PduHeaders headers, PduBody body) { argument
55 super(headers, body);
H A DSendReq.java39 // Impossible to reach here since all headers we set above are valid.
73 * Constructor with given headers.
75 * @param headers Headers for this PDU.
77 SendReq(PduHeaders headers) { argument
78 super(headers);
82 * Constructor with given headers and body
84 * @param headers Headers for this PDU.
87 SendReq(PduHeaders headers, PduBody body) { argument
88 super(headers, body);
H A DPduParser.java65 * Store pdu headers
111 /* parse headers */
114 // Parse headers failed.
123 log("check mandatory headers failed!");
227 * Parse pdu headers.
230 * @return headers in PduHeaders structure, null when parse fail
237 PduHeaders headers = new PduHeaders();
279 headers.setOctet(messageType, headerField);
326 headers.setOctet(value, headerField);
349 headers
1797 checkMandatoryHeader(PduHeaders headers) argument
[all...]
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DBasicNetwork.java90 // Gather headers.
91 Map<String, String> headers = new HashMap<String, String>();
92 addCacheHeaders(headers, request.getCacheEntry());
93 httpResponse = mHttpStack.performRequest(request, headers);
179 private void addCacheHeaders(Map<String, String> headers, Cache.Entry entry) { argument
186 headers.put("If-None-Match", entry.etag);
191 headers.put("If-Modified-Since", DateUtils.formatDate(refTime));
233 private static Map<String, String> convertHeaders(Header[] headers) { argument
235 for (int i = 0; i < headers.length; i++) {
236 result.put(headers[
[all...]
/frameworks/av/media/libstagefright/chromium_http/
H A DChromiumHTTPDataSource.cpp60 const KeyedVector<String8, String8> *headers,
70 return connect_l(uri, headers, offset);
75 const KeyedVector<String8, String8> *headers,
87 if (headers != NULL) {
88 mHeaders = *headers;
58 connect( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument
73 connect_l( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp258 List<AUHeader> headers; local
270 size_t n = headers.empty() ? mIndexLength : mIndexDeltaLength;
276 if (headers.empty()) {
328 headers.push_back(header);
341 for (List<AUHeader>::iterator it = headers.begin();
342 it != headers.end(); ++it) {
/frameworks/base/core/java/android/webkit/
H A DCacheManager.java38 // received over the network. The component handles parsing of HTTP headers and
39 // utilizes the relevant cache headers to determine if the content should be
41 // this component and if they can not be resolved by the cache, the HTTP headers
308 * If a non-null value is provided for the HTTP headers map, and the cache
309 * entry needs validation, appropriate headers will be added to the map.
314 * @param headers a map from HTTP header name to value, to be populated
321 Map<String, String> headers) {
322 return getCacheFile(url, 0, headers);
326 Map<String, String> headers) {
345 // A null value for headers i
320 getCacheFile(String url, Map<String, String> headers) argument
325 getCacheFile(String url, long postIdentifier, Map<String, String> headers) argument
381 createCacheFile(String url, int statusCode, Headers headers, String mimeType, boolean forceCache) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DAbstractProxyTest.java274 private void assertContains(List<String> headers, String header) { argument
275 assertTrue(headers.toString(), headers.contains(header));
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java74 * @param headers the headers to be sent together with the request for the data
77 Context context, Uri uri, Map<String, String> headers)
112 setDataSource(uri.toString(), headers);
119 * @param headers the headers associated with the http request for the stream you want to play
121 public final void setDataSource(String path, Map<String, String> headers) { argument
125 if (headers != null) {
126 keys = new String[headers.size()];
127 values = new String[headers
76 setDataSource( Context context, Uri uri, Map<String, String> headers) argument
[all...]
H A DMediaMetadataRetriever.java86 * @param headers the headers to be sent together with the request for the data
89 public void setDataSource(String uri, Map<String, String> headers) argument
92 String[] keys = new String[headers.size()];
93 String[] values = new String[headers.size()];
94 for (Map.Entry<String, String> entry: headers.entrySet()) {
/frameworks/base/obex/javax/obex/
H A DClientOperation.java144 * 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...]

Completed in 1851 milliseconds

123