Searched defs:headers (Results 1 - 25 of 68) sorted by relevance

123

/frameworks/base/core/java/android/webkit/
H A DUrlInterceptHandler.java37 * @param headers The headers associated with the request. May be null.
44 public CacheResult service(String url, Map<String, String> headers); argument
52 * @param headers The headers associated with the request. May be null.
59 public PluginData getPluginData(String url, Map<String, String> headers); argument
H A DPluginData.java27 * the length of the body, the response headers, and the response
46 * The associated HTTP response headers stored as a map of
63 * @param headers The response headers. Map of
75 Map<String, String[]> headers,
79 mHeaders = headers;
112 * Returns the HTTP response headers associated with the plugin
115 * @return A Map<String, String[]> containing all headers. The
72 PluginData( InputStream stream, long length, Map<String, String[]> headers, int code) argument
H A DUrlInterceptRegistry.java125 String url, Map<String, String> headers) {
132 CacheResult result = handler.service(url, headers);
153 String url, Map<String, String> headers) {
160 PluginData data = handler.getPluginData(url, headers);
124 getSurrogate( String url, Map<String, String> headers) argument
152 getPluginData( String url, Map<String, String> headers) argument
/frameworks/volley/src/com/android/volley/
H A DNetworkResponse.java25 * Data and headers returned from {@link Network#performRequest(Request)}.
32 * @param headers Headers returned with this response, or null for none
35 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, argument
39 this.headers = headers;
47 public NetworkResponse(byte[] data, Map<String, String> headers) { argument
48 this(HttpStatus.SC_OK, data, headers, false);
57 /** Response headers. */
58 public final Map<String, String> headers; field in class:NetworkResponse
/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/base/tools/aidl/
H A Daidl_language_y.y33 | headers document_items { g_callbacks->document($2.document_item); }
36 headers: label
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DAcknowledgeInd.java44 * Constructor with given headers.
46 * @param headers Headers for this PDU.
48 AcknowledgeInd(PduHeaders headers) { argument
49 super(headers);
H A DDeliveryInd.java40 * Constructor with given headers.
42 * @param headers Headers for this PDU.
44 DeliveryInd(PduHeaders headers) { argument
45 super(headers);
H A DGenericPdu.java24 * The headers of pdu.
38 * @param headers Headers for this PDU.
40 GenericPdu(PduHeaders headers) { argument
41 mPduHeaders = headers;
45 * Get the headers of this PDU.
H A DSendConf.java37 * Constructor with given headers.
39 * @param headers Headers for this PDU.
41 SendConf(PduHeaders headers) { argument
42 super(headers);
H A DNotifyRespInd.java47 * Constructor with given headers.
49 * @param headers Headers for this PDU.
51 NotifyRespInd(PduHeaders headers) { argument
52 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 DMultimediaMessagePdu.java50 * Constructor with given headers.
52 * @param headers Headers for this PDU.
54 MultimediaMessagePdu(PduHeaders headers) { argument
55 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);
H A DReadRecInd.java49 * Constructor with given headers.
51 * @param headers Headers for this PDU.
53 ReadRecInd(PduHeaders headers) { argument
54 super(headers);
/frameworks/volley/src/com/android/volley/toolbox/
H A DHttpHeaderParser.java29 * Utility methods for parsing HTTP headers.
36 * @param response The network response to parse headers from
42 Map<String, String> headers = response.headers;
53 headerValue = headers.get("Date");
58 headerValue = headers.get("Cache-Control");
77 headerValue = headers.get("Expires");
82 serverEtag = headers.get("ETag");
99 entry.responseHeaders = headers;
121 public static String parseCharset(Map<String, String> headers) { argument
[all...]
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/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/base/obex/javax/obex/
H A DOperation.java60 * As headers are received, they may be retrieved through the
61 * <code>getReceivedHeaders()</code> method. If new headers are set during the
62 * operation, the new headers will be sent during the next packet exchange.
123 * object. No headers are sent in the abort request. This will end the
131 * Returns the headers that have been received during the operation.
132 * Modifying the object returned has no effect on the headers that are sent
134 * @return the headers received during this <code>Operation</code>
140 * Specifies the headers that should be sent in the next OBEX message that
142 * @param headers the headers t
150 sendHeaders(HeaderSet headers) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DSDPLoader.cpp55 void SDPLoader::load(const char *url, const KeyedVector<String8, String8> *headers) { argument
61 if (headers != NULL) {
63 "headers",
64 new KeyedVector<String8, String8>(*headers));
94 KeyedVector<String8, String8> *headers = NULL; local
95 msg->findPointer("headers", (void **)&headers);
104 err = mHTTPDataSource->connect(url.c_str(), headers);
111 if (headers != NULL) {
112 delete headers;
[all...]
/frameworks/base/core/java/android/net/http/
H A DLoggingEventHandler.java46 public void headers(Headers headers) { argument
48 HttpLog.v("LoggingEventHandler:headers()");
49 HttpLog.v(headers.toString());
/frameworks/base/services/java/com/android/server/
H A DBootReceiver.java99 final String headers = new StringBuilder(512)
112 db.addText("SYSTEM_RECOVERY_LOG", headers + recovery);
118 if (db != null) db.addText("SYSTEM_BOOT", headers);
121 addFileToDropBox(db, prefs, headers, "/proc/last_kmsg",
123 addFileToDropBox(db, prefs, headers, "/cache/recovery/log",
125 addFileToDropBox(db, prefs, headers, "/data/dontpanic/apanic_console",
127 addFileToDropBox(db, prefs, headers, "/data/dontpanic/apanic_threads",
129 addAuditErrorsToDropBox(db, prefs, headers, -LOG_SIZE, "SYSTEM_AUDIT");
130 addFsckErrorsToDropBox(db, prefs, headers, -LOG_SIZE, "SYSTEM_FSCK");
132 if (db != null) db.addText("SYSTEM_RESTART", headers);
159 addFileToDropBox( DropBoxManager db, SharedPreferences prefs, String headers, String filename, int maxSize, String tag) argument
180 addAuditErrorsToDropBox(DropBoxManager db, SharedPreferences prefs, String headers, int maxSize, String tag) argument
208 addFsckErrorsToDropBox(DropBoxManager db, SharedPreferences prefs, String headers, int maxSize, String tag) argument
[all...]
/frameworks/volley/tests/src/com/android/volley/toolbox/
H A DHttpHeaderParserTest.java39 private Map<String, String> headers; field in class:HttpHeaderParserTest
44 headers = new HashMap<String, String>();
45 response = new NetworkResponse(0, null, headers, false);
59 headers.put("MyCustomHeader", "42");
70 headers.put("ETag", "Yow!");
80 headers.put("Date", rfc1123Date(now));
81 headers.put("Expires", rfc1123Date(now + ONE_HOUR_MILLIS));
94 headers.put("Date", rfc1123Date(now));
95 headers.put("Expires", rfc1123Date(now - ONE_HOUR_MILLIS));
110 headers
[all...]
/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

Completed in 349 milliseconds

123