/external/apache-http/android/src/android/net/http/ |
Connection.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 package android.net.http; 28 import org.apache.http.ConnectionReuseStrategy; 29 import org.apache.http.HttpEntity; 30 import org.apache.http.HttpException; 31 import org.apache.http.HttpHost; 32 import org.apache.http.HttpVersion; 33 import org.apache.http.ParseException; 34 import org.apache.http.ProtocolVersion; 35 import org.apache.http.protocol.ExecutionContext [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicLineFormatter.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/message/BasicLineFormatter.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.message; 35 import org.apache.http.ProtocolVersion; 36 import org.apache.http.RequestLine; 37 import org.apache.http.StatusLine; 38 import org.apache.http.Header; 39 import org.apache.http.FormattedHeader [all...] |
BasicLineParser.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/message/BasicLineParser.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.message; 34 import org.apache.http.HttpVersion; 35 import org.apache.http.ProtocolVersion; 36 import org.apache.http.ParseException; 37 import org.apache.http.RequestLine; 38 import org.apache.http.StatusLine [all...] |
/external/libbrillo/brillo/http/ |
http_connection_curl.cc | 5 #include <brillo/http/http_connection_curl.h> 8 #include <brillo/http/http_request.h> 9 #include <brillo/http/http_transport_curl.h> 15 namespace http { namespace in namespace:brillo 56 const std::shared_ptr<http::Transport>& transport) 57 : http::Connection(transport), 98 // Set up HTTP request data. 114 headers_.emplace(http::request_header::kTransferEncoding, "chunked"); 138 // Set up HTTP response data. 147 // HTTP response header [all...] |
/external/python/google-api-python-client/tests/ |
test__auth.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 75 self.assertIsInstance(authorized_http.http, httplib2.Http) 76 self.assertIsInstance(authorized_http.http.timeout, int) 77 self.assertGreater(authorized_http.http.timeout, 0) 122 http = credentials.authorize.call_args[0][0] 125 self.assertIsInstance(http, httplib2.Http) 126 self.assertIsInstance(http.timeout, int) 127 self.assertGreater(http.timeout, 0 [all...] |
/external/skia/infra/pathkit/perf/ |
wasm_perf_aggregator.go | 21 "net/http" 104 http.HandleFunc("/report_perf_data", reporter) 105 http.HandleFunc("/dump_json", dumpJSON) 109 log.Fatal(http.ListenAndServe(":"+*port, nil)) 113 func reporter(w http.ResponseWriter, r *http.Request) { 115 http.Error(w, "Only POST accepted", 400) 122 http.Error(w, "Malformed body", 400) 129 http.Error(w, "Could not unmarshal JSON", 400) 156 func dumpJSON(w http.ResponseWriter, r *http.Request) [all...] |
/external/skqp/infra/pathkit/perf/ |
wasm_perf_aggregator.go | 21 "net/http" 104 http.HandleFunc("/report_perf_data", reporter) 105 http.HandleFunc("/dump_json", dumpJSON) 109 log.Fatal(http.ListenAndServe(":"+*port, nil)) 113 func reporter(w http.ResponseWriter, r *http.Request) { 115 http.Error(w, "Only POST accepted", 400) 122 http.Error(w, "Malformed body", 400) 129 http.Error(w, "Could not unmarshal JSON", 400) 156 func dumpJSON(w http.ResponseWriter, r *http.Request) [all...] |
/external/libcups/cups/ |
adminutil.c | 11 * missing or damaged, see the license at "http://www.cups.org/". 41 static http_status_t get_cupsd_conf(http_t *http, _cups_globals_t *cg, 61 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ 103 if (!http) 104 http = _cupsConnect(); 106 if (!http || !dest || !buffer || bufsize < 2) 113 if ((src = cupsGetPPD2(http, dest)) == NULL) 135 response = cupsDoRequest(http, request, "/"); 839 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ 858 if (!http) [all...] |
/external/python/apitools/apitools/base/py/ |
transfer_test.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 98 http = object() 117 download.InitializeDownload(request, http=http) 127 http = object() 144 download.InitializeDownload(request, http=http) 156 http = object() 163 # currently broken (http://bugs.python.org/issue17826), so 194 download.InitializeDownload(request, http=http [all...] |
/external/apache-http/src/org/apache/http/ |
HttpHost.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpHost.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http; 36 import org.apache.http.util.CharArrayBuffer; 37 import org.apache.http.util.LangUtils; 40 * Holds all of the variables needed to describe an HTTP connection to a host. 51 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a [all...] |
/external/apache-http/src/org/apache/http/impl/ |
EnglishReasonPhraseCatalog.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/EnglishReasonPhraseCatalog.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.impl; 36 import org.apache.http.HttpStatus; 37 import org.apache.http.ReasonPhraseCatalog; 41 * English reason phrases for HTTP status codes. 42 * All status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), an [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
ClientParamsStack.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/ClientParamsStack.java $ 15 * http://www.apache.org/licenses/LICENSE-2.0 28 * <http://www.apache.org/>. 32 package org.apache.http.impl.client; 37 import org.apache.http.params.HttpParams; 38 import org.apache.http.params.AbstractHttpParams; 55 * {@link org.apache.http.client.HttpClient HttpClient}. 64 * {@link org.apache.http.client.HttpClient HttpClient}. 79 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a [all...] |
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
InternalServletModule.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 import javax.servlet.http.HttpServletRequest; 33 import javax.servlet.http.HttpServletResponse; 34 import javax.servlet.http.HttpSession;
|
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/ |
FakeHttp.java | 4 import org.apache.http.Header; 5 import org.apache.http.HttpRequest; 6 import org.apache.http.HttpResponse; 9 * Collection of static methods used interact with HTTP requests / responses. 15 * Sets up an HTTP response to be returned by calls to Apache's {@code HttpClient} implementers. 26 * Sets up an HTTP response to be returned by calls to Apache's {@code HttpClient} implementers. 31 * @deprecated use {@link #addPendingHttpResponse(int, String, org.apache.http.Header...)} instead 39 * Sets up an HTTP response to be returned by calls to Apache's {@code HttpClient} implementers. 48 * Sets up an HTTP response to be returned by calls to Apache's {@code HttpClient} implementers. 57 * Accessor to obtain HTTP requests made during the current test in the order in which they were made [all...] |
FakeHttpLayer.java | 10 import org.apache.http.Header; 11 import org.apache.http.HttpEntity; 12 import org.apache.http.HttpException; 13 import org.apache.http.HttpHost; 14 import org.apache.http.HttpRequest; 15 import org.apache.http.HttpResponse; 16 import org.apache.http.client.RequestDirector; 17 import org.apache.http.client.methods.HttpEntityEnclosingRequestBase; 18 import org.apache.http.conn.ConnectTimeoutException; 19 import org.apache.http.params.HttpConnectionParams [all...] |
/external/python/oauth2client/oauth2client/ |
client.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 147 """Error (with HTTP status) trying to refresh an expired access token.""" 196 to an HTTP transport. 204 def authorize(self, http): 205 """Take an httplib2.Http instance (or equivalent) and authorizes it. 208 http.request() with a method that adds in the appropriate headers and 209 then delegates to the original Http.request() method. 212 http: httplib2.Http, an http object to be used to make the refres [all...] |
/cts/hostsidetests/incident/apps/batterystatsapp/ |
Android.mk | 7 # http://www.apache.org/licenses/LICENSE-2.0 27 LOCAL_JAVA_LIBRARIES := android.test.runner.stubs junit org.apache.http.legacy
|
/cts/tests/tests/netsecpolicy/usescleartexttraffic-false/ |
Android.mk | 7 # http://www.apache.org/licenses/LICENSE-2.0 27 LOCAL_JAVA_LIBRARIES := org.apache.http.legacy android.test.base.stubs
|
/cts/tests/tests/netsecpolicy/usescleartexttraffic-true/ |
Android.mk | 7 # http://www.apache.org/licenses/LICENSE-2.0 27 LOCAL_JAVA_LIBRARIES := org.apache.http.legacy android.test.base.stubs
|
/cts/tests/tests/netsecpolicy/usescleartexttraffic-unspecified/ |
Android.mk | 7 # http://www.apache.org/licenses/LICENSE-2.0 27 LOCAL_JAVA_LIBRARIES := org.apache.http.legacy android.test.base.stubs
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-attributes/ |
Android.mk | 7 # http://www.apache.org/licenses/LICENSE-2.0 28 LOCAL_JAVA_LIBRARIES := org.apache.http.legacy android.test.base.stubs
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-basic-domain/ |
Android.mk | 7 # http://www.apache.org/licenses/LICENSE-2.0 28 LOCAL_JAVA_LIBRARIES := org.apache.http.legacy android.test.base.stubs
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-cleartext/ |
Android.mk | 7 # http://www.apache.org/licenses/LICENSE-2.0 28 LOCAL_JAVA_LIBRARIES := org.apache.http.legacy android.test.base.stubs
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-cleartext-pre-P/ |
Android.mk | 7 # http://www.apache.org/licenses/LICENSE-2.0 28 LOCAL_JAVA_LIBRARIES := org.apache.http.legacy android.test.base.stubs
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-debug-basic-disabled/ |
Android.mk | 7 # http://www.apache.org/licenses/LICENSE-2.0 28 LOCAL_JAVA_LIBRARIES := org.apache.http.legacy android.test.base.stubs
|