/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | SendReq.java | 39 // 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 D | MultimediaMessagePdu.java | 50 * Constructor with given headers. 52 * @param headers Headers for this PDU. 54 MultimediaMessagePdu(PduHeaders headers) { argument 55 super(headers);
|
H A D | ReadOrigInd.java | 37 * Constructor with given headers. 39 * @param headers Headers for this PDU. 41 ReadOrigInd(PduHeaders headers) { argument 42 super(headers);
|
H A D | ReadRecInd.java | 49 * Constructor with given headers. 51 * @param headers Headers for this PDU. 53 ReadRecInd(PduHeaders headers) { argument 54 super(headers);
|
H A D | NotificationInd.java | 41 * Constructor with given headers. 43 * @param headers Headers for this PDU. 45 NotificationInd(PduHeaders headers) { argument 46 super(headers);
|
/frameworks/av/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 92 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 D | IMediaHTTPConnection.cpp | 45 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
|
/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/av/media/libmediaplayerservice/ |
H A D | MidiMetadataRetriever.cpp | 43 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
|
/frameworks/base/core/java/android/net/http/ |
H A D | AndroidHttpClientConnection.java | 245 * 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...] |
H A D | Request.java | 92 * headers. 106 * @param headers reqeust headers 111 Map<String, String> headers) { 137 addHeaders(headers); 184 * Add all headers in given map to this request. This is a helper 187 void addHeaders(Map<String, String> headers) { argument 188 if (headers == null) { 193 Iterator<Entry<String, String>> i = headers.entrySet().iterator(); 201 * Send the request line and headers 108 Request(String method, HttpHost host, HttpHost proxyHost, String path, InputStream bodyProvider, int bodyLength, EventHandler eventHandler, Map<String, String> headers) argument [all...] |
H A D | RequestHandle.java | 63 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/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/base/obex/javax/obex/ |
H A D | ServerSession.java | 253 * @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 D | HeaderSet.java | 264 * headers to include in the next request. 463 * defined in this interface or any of the user-defined headers 518 * Retrieves the list of headers that may be retrieved via the 520 * other words, this method returns all the headers that are available in 523 * @return the array of headers that are set in this object or 524 * <code>null</code> if no headers are available 592 byte[] headers = out.toByteArray(); 595 if ((headers == null) || (headers.length == 0)) { 599 int[] result = new int[headers [all...] |
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | CookiesTest.java | 105 private void assertContains(List<String> headers, String header) { argument 106 assertTrue(headers.toString(), headers.contains(header));
|
/frameworks/av/include/media/ |
H A D | IMediaMetadataRetriever.h | 40 const KeyedVector<String8, String8> *headers = NULL) = 0;
|
H A D | MediaMetadataRetrieverInterface.h | 40 const KeyedVector<String8, String8> *headers = NULL) = 0;
|
/frameworks/av/media/libstagefright/include/ |
H A D | SDPLoader.h | 43 void load(const char* url, const KeyedVector<String8, String8> *headers);
|
H A D | StagefrightMetadataRetriever.h | 38 const KeyedVector<String8, String8> *headers);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadataRetriever.java | 91 * @param headers the headers to be sent together with the request for the data 94 public void setDataSource(String uri, Map<String, String> headers) argument 97 String[] keys = new String[headers.size()]; 98 String[] values = new String[headers.size()]; 99 for (Map.Entry<String, String> entry: headers.entrySet()) {
|
H A D | MediaHTTPConnection.java | 67 public IBinder connect(String uri, String headers) { argument 69 Log.d(TAG, "connect: uri=" + uri + ", headers=" + headers); 76 mHeaders = convertHeaderStringToMap(headers); 105 private Map<String, String> convertHeaderStringToMap(String headers) { argument 108 String[] pairs = headers.split("\r\n");
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebResourceResponse.java | 63 * @param responseHeaders the resource response's headers represented as a mapping of header 160 * Sets the headers for the resource response. 162 * @param headers mapping of header name -> header value. 164 public void setResponseHeaders(Map<String, String> headers) { argument 165 mResponseHeaders = headers; 169 * Gets the headers for the resource response. 171 * @return the headers for the resource response.
|
/frameworks/av/media/libstagefright/http/ |
H A D | MediaHTTP.cpp | 47 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/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) {
|