/external/chromium_org/sync/engine/net/ |
server_connection_manager.cc | 32 HttpResponse::HttpResponse() 40 const char* HttpResponse::GetServerConnectionCodeString( 58 HttpResponse::ServerConnectionCode 59 HttpResponse::ServerConnectionCodeFromNetError(int error_code) { 83 HttpResponse* response, 86 response->server_status = HttpResponse::SYNC_SERVER_ERROR; 96 response->server_status = HttpResponse::IO_ERROR; 103 HttpResponse* response, 111 response->server_status = HttpResponse::IO_ERROR [all...] |
/external/chromium/chrome/browser/sync/engine/net/ |
server_connection_manager.h | 44 // HttpResponse gathers the relevant output properties of an HTTP request. 47 struct HttpResponse { 100 HttpResponse() 107 inline bool IsGoodReplyFromServer(HttpResponse::ServerConnectionCode code) { 108 return code >= HttpResponse::SERVER_CONNECTION_OK; 125 HttpResponse::ServerConnectionCode connection_code; 130 HttpResponse::ServerConnectionCode connection_code; 132 ServerConnectionEvent2(HttpResponse::ServerConnectionCode code, 151 HttpResponse* response); 155 HttpResponse* const response_ [all...] |
syncapi_server_connection_manager.h | 31 browser_sync::HttpResponse* response);
|
server_connection_manager.cc | 39 { ServerConnectionEvent::SHUTDOWN, HttpResponse::CONNECTION_UNAVAILABLE, 44 HttpResponse* response, 47 response->server_status = HttpResponse::SYNC_SERVER_ERROR; 57 response->server_status = HttpResponse::IO_ERROR; 64 HttpResponse* response, 72 response->server_status = HttpResponse::IO_ERROR; 113 ServerConnectionManager* conn_mgr, HttpResponse* response) 150 server_status_(HttpResponse::NONE), 187 params->response->server_status = HttpResponse::SERVER_CONNECTION_OK; 198 HttpResponse response [all...] |
/frameworks/volley/tests/src/com/android/volley/mock/ |
MockHttpStack.java | 23 import org.apache.http.HttpResponse; 30 private HttpResponse mResponseToReturn; 50 public void setResponseToReturn(HttpResponse response) { 55 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders)
|
MockHttpClient.java | 22 import org.apache.http.HttpResponse; 56 public HttpResponse execute(HttpUriRequest request, HttpContext context) { 60 HttpResponse response = new BasicHttpResponse(statusLine); 70 public HttpResponse execute(HttpUriRequest request) { 75 public HttpResponse execute(HttpHost target, HttpRequest request) { 85 public HttpResponse execute(HttpHost target, HttpRequest request, HttpContext context) {
|
/external/chromium_org/sync/internal_api/ |
syncapi_server_connection_manager.cc | 30 HttpResponse* response) { 55 response->server_status = HttpResponse::ServerConnectionCodeFromNetError( 67 response->server_status = HttpResponse::SERVER_CONNECTION_OK; 69 response->server_status = HttpResponse::SYNC_AUTH_ERROR; 71 response->server_status = HttpResponse::SYNC_SERVER_ERROR;
|
/external/apache-http/src/org/apache/http/protocol/ |
HttpRequestExecutor.java | 41 import org.apache.http.HttpResponse; 80 final HttpResponse response) { 103 public HttpResponse execute( 119 HttpResponse response = doSendRequest(request, conn, context); 183 protected HttpResponse doSendRequest( 198 HttpResponse response = null; 259 protected HttpResponse doReceiveResponse( 274 HttpResponse response = null; 306 final HttpResponse response,
|
ResponseDate.java | 37 import org.apache.http.HttpResponse; 59 public void process(final HttpResponse response, final HttpContext context)
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
FakeHttpLayer.java | 25 HttpResponse defaultHttpResponse; 26 private HttpResponse defaultResponse; 41 public void addPendingHttpResponse(final HttpResponse httpResponse) { 44 public HttpResponse getResponse(HttpRequest request) { 45 return httpResponse; 54 public void addHttpResponseRule(String method, String uri, HttpResponse response) { 58 public void addHttpResponseRule(String uri, HttpResponse response) { 66 public void addHttpResponseRule(RequestMatcher requestMatcher, HttpResponse response) { 76 public void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
BasicResponseHandler.java | 37 import org.apache.http.HttpResponse; 67 public String handleResponse(final HttpResponse response)
|
DefaultConnectionKeepAliveStrategy.java | 35 import org.apache.http.HttpResponse; 56 public long getKeepAliveDuration(HttpResponse response, HttpContext context) {
|
/external/apache-http/src/org/apache/http/impl/io/ |
HttpResponseWriter.java | 37 import org.apache.http.HttpResponse; 55 (this.lineBuf, ((HttpResponse) message).getStatusLine());
|
/external/chromium_org/net/test/embedded_test_server/ |
http_response.cc | 15 HttpResponse::~HttpResponse() {
|
http_connection.cc | 22 void HttpConnection::SendResponse(scoped_ptr<HttpResponse> response) const {
|
/external/apache-http/src/org/apache/http/ |
HttpResponse.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpResponse.java $ 47 public interface HttpResponse extends HttpMessage {
|
/external/apache-http/src/org/apache/http/impl/ |
DefaultHttpResponseFactory.java | 36 import org.apache.http.HttpResponse; 85 public HttpResponse newHttpResponse(final ProtocolVersion ver, 99 public HttpResponse newHttpResponse(final StatusLine statusline,
|
/external/chromium_org/chrome/browser/extensions/api/activity_log_private/ |
activity_log_private_apitest.cc | 17 using net::test_server::HttpResponse; 37 scoped_ptr<HttpResponse> HandleRequest(const HttpRequest& request) { 42 return response.PassAs<HttpResponse>();
|
/external/chromium_org/chrome/test/nacl/ |
pnacl_header_test.cc | 22 using net::test_server::HttpResponse; 57 scoped_ptr<HttpResponse> PnaclHeaderTest::WatchForPexeFetch( 65 return http_response.PassAs<HttpResponse>(); 71 return scoped_ptr<HttpResponse>(); 98 return http_response.PassAs<HttpResponse>();
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
DefaultRequestDirectorTest.java | 11 import org.apache.http.HttpResponse; 51 @Override public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) { 66 HttpResponse response = requestDirector.execute(null, new HttpGet("http://example.com"), null); 80 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); 92 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); 105 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); 115 HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); 120 HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); 133 HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
TestHttpResponseTest.java | 5 import org.apache.http.HttpResponse; 19 HttpResponse resp = 33 HttpResponse resp = 47 HttpResponse resp = 57 HttpResponse resp = 72 HttpResponse resp = 90 HttpResponse resp =
|
/external/chromium_org/chrome/browser/extensions/ |
external_provider_impl_unittest.cc | 68 scoped_ptr<HttpResponse> HandleRequest(const HttpRequest& request) { 84 return response.PassAs<HttpResponse>(); 96 return response.PassAs<HttpResponse>(); 99 return scoped_ptr<HttpResponse>();
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
DefaultHttpClientTest.java | 30 import org.apache.http.HttpResponse; 77 HttpResponse a = client.execute(new HttpGet(server.getUrl("/a").toURI())); 81 HttpResponse b = client.execute(new HttpGet(server.getUrl("/b").toURI())); 87 private String contentToString(HttpResponse response) throws IOException {
|
/external/apache-http/src/org/apache/http/client/methods/ |
HttpOptions.java | 41 import org.apache.http.HttpResponse; 88 public Set<String> getAllowedMethods(final HttpResponse response) {
|
/external/chromium_org/google_apis/gaia/ |
fake_gaia.h | 23 class HttpResponse; 54 scoped_ptr<net::test_server::HttpResponse> HandleRequest(
|