Searched refs:headers (Results 26 - 50 of 112) sorted by relevance

12345

/frameworks/av/media/libmediaplayerservice/
H A DMidiMetadataRetriever.cpp39 const char *url, const KeyedVector<String8, String8> *headers)
47 return mMidiPlayer->setDataSource(url, headers);
38 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
H A DTestPlayerStub.cpp116 const char *url, const KeyedVector<String8, String8> *headers) {
165 return mPlayer->setDataSource(mContentUrl, headers);
115 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DMultimediaMessagePdu.java50 * Constructor with given headers.
52 * @param headers Headers for this PDU.
54 MultimediaMessagePdu(PduHeaders headers) { argument
55 super(headers);
H A DReadOrigInd.java37 * Constructor with given headers.
39 * @param headers Headers for this PDU.
41 ReadOrigInd(PduHeaders headers) { argument
42 super(headers);
H A DReadRecInd.java49 * Constructor with given headers.
51 * @param headers Headers for this PDU.
53 ReadRecInd(PduHeaders headers) { argument
54 super(headers);
H A DNotificationInd.java41 * Constructor with given headers.
43 * @param headers Headers for this PDU.
45 NotificationInd(PduHeaders headers) { argument
46 super(headers);
/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 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 DRequestHandle.java63 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/obex/javax/obex/
H A DServerSession.java253 * @param header the headers to include in the response
312 byte[] headers = new byte[length - 5];
313 bytesReceived = mInput.read(headers);
315 while (bytesReceived != headers.length) {
316 bytesReceived += mInput.read(headers, bytesReceived, headers.length
320 ObexHelper.updateHeaderSet(request, headers);
402 * Byte 1&2: Connect Packet Length Byte 3 to n: headers
433 byte[] headers = new byte[length - 3];
434 bytesReceived = mInput.read(headers);
[all...]
H A DHeaderSet.java242 * headers to include in the next request.
440 * defined in this interface or any of the user-defined headers
495 * Retrieves the list of headers that may be retrieved via the
497 * other words, this method returns all the headers that are available in
500 * @return the array of headers that are set in this object or
501 * <code>null</code> if no headers are available
569 byte[] headers = out.toByteArray();
572 if ((headers == null) || (headers.length == 0)) {
576 int[] result = new int[headers
[all...]
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DCookiesTest.java105 private void assertContains(List<String> headers, String header) { argument
106 assertTrue(headers.toString(), headers.contains(header));
/frameworks/av/include/media/
H A DIMediaMetadataRetriever.h37 const KeyedVector<String8, String8> *headers = NULL) = 0;
H A DMediaMetadataRetrieverInterface.h36 const KeyedVector<String8, String8> *headers = NULL) = 0;
/frameworks/av/media/libstagefright/
H A DDataSource.cpp183 const char *uri, const KeyedVector<String8, String8> *headers) {
202 if (httpSource->connect(uri, headers) != OK) {
209 if (headers != NULL) {
210 KeyedVector<String8, String8> copy = *headers;
182 CreateFromURI( const char *uri, const KeyedVector<String8, String8> *headers) argument
/frameworks/av/media/libstagefright/include/
H A DSDPLoader.h39 void load(const char* url, const KeyedVector<String8, String8> *headers);
H A DStagefrightMetadataRetriever.h37 const KeyedVector<String8, String8> *headers);
H A DChromiumHTTPDataSource.h35 const KeyedVector<String8, String8> *headers = NULL,
102 const KeyedVector<String8, String8> *headers,
/frameworks/base/media/java/android/media/
H A DMediaMetadataRetriever.java90 * @param headers the headers to be sent together with the request for the data
93 public void setDataSource(String uri, Map<String, String> headers) argument
96 String[] keys = new String[headers.size()];
97 String[] values = new String[headers.size()];
98 for (Map.Entry<String, String> entry: headers.entrySet()) {
/frameworks/av/media/libstagefright/chromium_http/
H A Dsupport.cpp344 std::string headers; local
345 request->GetAllResponseHeaders(&headers);
347 MY_LOGV(StringPrintf("response headers: %s", headers.c_str()).c_str());
437 const KeyedVector<String8, String8> *headers,
448 headers,
456 const KeyedVector<String8, String8> *headers,
458 me->onInitiateConnection(url, headers, offset);
473 net::HttpRequestHeaders headers = local
477 headers
435 initiateConnection( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument
454 OnInitiateConnectionWrapper( SfDelegate *me, GURL url, const KeyedVector<String8, String8> *headers, off64_t offset) argument
[all...]
H A DChromiumHTTPDataSource.cpp60 const KeyedVector<String8, String8> *headers,
73 return connect_l(uri, headers, offset);
78 const KeyedVector<String8, String8> *headers,
92 if (headers != NULL) {
93 mHeaders = *headers;
58 connect( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument
76 connect_l( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument
H A Dsupport.h97 const KeyedVector<String8, String8> *headers,
157 const KeyedVector<String8, String8> *headers,
167 const KeyedVector<String8, String8> *headers,
/frameworks/compile/mclinker/
H A Dmcld-device-build.mk26 # Make sure bionic is first so we can include system headers.
/frameworks/volley/src/com/android/volley/toolbox/
H A DHttpClientStack.java55 private static void addHeaders(HttpUriRequest httpRequest, Map<String, String> headers) { argument
56 for (String key : headers.keySet()) {
57 httpRequest.setHeader(key, headers.get(key));
/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) {

Completed in 1419 milliseconds

12345