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

123

/frameworks/base/core/java/android/webkit/
H A DUrlInterceptHandler.java36 * @param headers The headers associated with the request. May be null.
42 public CacheResult service(String url, Map<String, String> headers); argument
50 * @param headers The headers associated with the request. May be null.
56 public PluginData getPluginData(String url, Map<String, String> headers); argument
H A DCacheLoader.java25 * and encoding is added to the HTTP response headers.
51 protected void buildHeaders(Headers headers) { argument
57 headers.setContentType(sb.toString());
60 headers.setLocation(mCacheResult.location);
64 headers.setExpires(mCacheResult.expiresString);
68 headers.setContentDisposition(mCacheResult.contentdisposition);
72 headers.setXPermittedCrossDomainPolicies(mCacheResult.crossDomain);
H A DContentLoader.java91 protected void buildHeaders(Headers headers) { argument
93 headers.setContentType("text/html");
96 headers.setCacheControl("no-store, no-cache");
H A DPluginData.java27 * the length of the body, the response headers, and the response
45 * The associated HTTP response headers stored as a map of
62 * @param headers The response headers. Map of
73 Map<String, String[]> headers,
77 mHeaders = headers;
108 * Returns the HTTP response headers associated with the plugin
111 * @return A Map<String, String[]> containing all headers. The
70 PluginData( InputStream stream, long length, Map<String, String[]> headers, int code) argument
H A DFileLoader.java186 protected void buildHeaders(Headers headers) { argument
H A DUrlInterceptRegistry.java119 String url, Map<String, String> headers) {
126 CacheResult result = handler.service(url, headers);
146 String url, Map<String, String> headers) {
153 PluginData data = handler.getPluginData(url, headers);
118 getSurrogate( String url, Map<String, String> headers) argument
145 getPluginData( String url, Map<String, String> headers) argument
H A DStreamLoader.java40 * additional HTTP headers to the response.
49 private static final int MSG_HEADERS = 101; // Send headers to loader
84 * This method is called when the headers are about to be sent to the
86 * headers.
88 * @param headers Map of HTTP headers that will be sent to the loader.
90 abstract protected void buildHeaders(Headers headers); argument
158 * Construct the headers and pass them to the EventHandler.
161 Headers headers = new Headers();
163 headers
[all...]
/frameworks/base/core/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/base/core/tests/coretests/src/android/net/http/
H A DHttpsThroughHttpProxyTest.java127 private void assertContains(List<String> headers, String header) { argument
128 assertTrue(headers.toString(), headers.contains(header));
/frameworks/base/core/tests/coretests/src/android/webkit/
H A DUrlInterceptRegistryTest.java47 public CacheResult service(String url, Map<String, String> headers) { argument
53 String> headers) {
51 getPluginData(String url, Map<String, String> headers) argument
/frameworks/base/tools/aidl/
H A Daidl_language_y.y30 | headers document_items { g_callbacks->document($2.document_item); }
33 headers: label
/frameworks/base/core/tests/utillib/src/coretestutils/http/
H A DRecordedRequest.java26 private final List<String> headers; field in class:RecordedRequest
32 RecordedRequest(String requestLine, List<String> headers, List<Integer> chunkSizes, argument
35 this.headers = headers;
47 return headers;
/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/base/tests/CoreTests/android/core/
H A DURLTest.java84 private Map<String, String> headers = new HashMap<String, String>(); field in class:URLTest.DummyServer
100 headers.clear();
109 headers.put(key, value);
184 String userAgent = server.headers.get("User-Agent");
/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/media/libmediaplayerservice/
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/media/libstagefright/
H A DDataSource.cpp111 const char *uri, const KeyedVector<String8, String8> *headers) {
117 if (httpSource->connect(uri, headers) != OK) {
110 CreateFromURI( const char *uri, const KeyedVector<String8, String8> *headers) argument

Completed in 6717 milliseconds

123