Searched defs:headers (Results 1 - 25 of 61) 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/base/core/tests/coretests/src/android/net/http/
H A DCookiesTest.java111 private void assertContains(List<String> headers, String header) { argument
112 assertTrue(headers.toString(), headers.contains(header));
/frameworks/base/libs/incident/include/android/os/
H A DIncidentReportArgs.h49 inline const vector<vector<int8_t>>& headers() const { return mHeaders; } function in class:android::os::IncidentReportArgs
/frameworks/opt/telephony/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/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/libmediaplayerservice/
H A DTestPlayerStub.cpp118 const KeyedVector<String8, String8> *headers) {
167 return mPlayer->setDataSource(httpService, mContentUrl, headers);
115 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
H A DMetadataRetrieverClient.cpp109 const KeyedVector<String8, String8> *headers)
130 status_t ret = p->setDataSource(httpService, url, headers);
106 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
/frameworks/av/media/libstagefright/rtsp/
H A DSDPLoader.cpp51 void SDPLoader::load(const char *url, const KeyedVector<String8, String8> *headers) { argument
57 if (headers != NULL) {
59 "headers",
60 new KeyedVector<String8, String8>(*headers));
90 KeyedVector<String8, String8> *headers = NULL; local
91 msg->findPointer("headers", (void **)&headers);
96 err = mHTTPDataSource->connect(url.c_str(), headers);
103 if (headers != NULL) {
104 delete headers;
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPResponse.java66 private static int parseHeader(byte[] input, int body, Map<String, String> headers) argument
96 headers.put(key, value);
101 private static int calculateLength(int body, Map<String, String> headers) throws IOException { argument
102 String contentLength = headers.get(LengthHeader);
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DURLFetcher.java154 * Parses the HTTP headers to compute the ttl.
156 * @param headers a map that map the header key to the header values. Can be null.
159 private Long getExpirationTimeMillisFromHTTPHeader(Map<String, List<String>> headers) { argument
160 if (headers == null) {
163 Map<String, String> joinedHeaders = joinHttpHeaders(headers);
185 private Map<String, String> joinHttpHeaders(Map<String, List<String>> headers) { argument
187 for (Map.Entry<String, List<String>> entry : headers.entrySet()) {
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DRequestUtils.java38 public static final String EXTRA_KEY_HEADERS = "headers";
64 public ContentBuilder setHeaders(HashMap<String, String> headers) { argument
65 mBundle.putSerializable(EXTRA_KEY_HEADERS, headers);
/frameworks/av/media/libmedia/
H A DIMediaHTTPConnection.cpp46 const char *uri, const KeyedVector<String8, String8> *headers) {
55 if (headers != NULL) {
56 for (size_t i = 0; i < headers->size(); ++i) {
57 String16 key(headers->keyAt(i).string());
58 String16 val(headers->valueAt(i).string());
45 connect( const char *uri, const KeyedVector<String8, String8> *headers) argument
H A Dmediametadataretriever.cpp101 const KeyedVector<String8, String8> *headers)
114 return mRetriever->setDataSource(httpService, srcUrl, headers);
98 setDataSource( const sp<IMediaHTTPService> &httpService, const char *srcUrl, const KeyedVector<String8, String8> *headers) argument
/frameworks/av/media/libstagefright/
H A DDataSource.cpp111 const KeyedVector<String8, String8> *headers,
139 if (headers != NULL) {
140 nonCacheSpecificHeaders = *headers;
108 CreateFromURI( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers, String8 *contentType, HTTPBase *httpSource) argument
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp46 const KeyedVector<String8, String8> *headers,
53 if (headers != NULL) {
54 extHeaders = *headers;
44 connect( const char *uri, const KeyedVector<String8, String8> *headers, off64_t ) argument

Completed in 512 milliseconds

123