HomeSort by relevance Sort by last modified time
    Searched refs:HTTPRequest (Results 1 - 15 of 15) sorted by null

  /system/connectivity/shill/
mock_http_request.cc 24 : HTTPRequest(connection, nullptr, nullptr) {}
http_request.cc 47 const int HTTPRequest::kConnectTimeoutSeconds = 10;
48 const int HTTPRequest::kDNSTimeoutSeconds = 5;
49 const int HTTPRequest::kInputTimeoutSeconds = 10;
51 const char HTTPRequest::kHTTPRequestTemplate[] =
56 HTTPRequest::HTTPRequest(ConnectionRefPtr connection,
64 Bind(&HTTPRequest::OnConnectCompletion,
66 dns_client_callback_(Bind(&HTTPRequest::GetDNSResult,
68 read_server_callback_(Bind(&HTTPRequest::ReadFromServer,
70 write_server_callback_(Bind(&HTTPRequest::WriteToServer
    [all...]
mock_http_request.h 28 class MockHTTPRequest : public HTTPRequest {
33 MOCK_METHOD3(Start, HTTPRequest::Result(
connectivity_trial.cc 101 request_.reset(new HTTPRequest(connection_, dispatcher_, &sockets_));
127 HTTPRequest::Result result =
129 if (result != HTTPRequest::kResultInProgress) {
173 HTTPRequest::Result result, const ByteString& /*response_data*/) {
242 HTTPRequest::Result result) {
244 case HTTPRequest::kResultSuccess:
247 case HTTPRequest::kResultDNSFailure:
249 case HTTPRequest::kResultDNSTimeout:
251 case HTTPRequest::kResultConnectionFailure:
253 case HTTPRequest::kResultConnectionTimeout
    [all...]
http_request_unittest.cc 110 MOCK_METHOD2(ResultCallTarget, void(HTTPRequest::Result result,
115 const Callback<void(HTTPRequest::Result,
122 Callback<void(HTTPRequest::Result, const ByteString&)> result_callback_;
133 request_.reset(new HTTPRequest(connection_, &dispatcher_, &sockets_));
158 HTTPRequest* request() { return request_.get(); }
180 EXPECT_EQ(HTTPRequest::kResultUnknown, request_->timeout_result_);
200 ExpectSetTimeout(HTTPRequest::kConnectTimeoutSeconds);
203 ExpectSetTimeout(HTTPRequest::kInputTimeoutSeconds);
260 void ExpectResultCallback(HTTPRequest::Result result) {
263 void InvokeResultVerify(HTTPRequest::Result result
    [all...]
http_request.h 45 // The HTTPRequest class implements facilities for performing
48 class HTTPRequest {
64 HTTPRequest(ConnectionRefPtr connection,
67 virtual ~HTTPRequest();
76 // function to destroy this HTTPRequest object, because at this time all
89 // Stop the current HTTPRequest. No callback is called as a side
124 base::WeakPtrFactory<HTTPRequest> weak_ptr_factory_;
144 DISALLOW_COPY_AND_ASSIGN(HTTPRequest);
connectivity_trial_unittest.cc 144 .WillOnce(Return(HTTPRequest::kResultInProgress));
193 .WillOnce(Return(HTTPRequest::kResultInProgress));
267 .WillOnce(Return(HTTPRequest::kResultConnectionFailure));
305 .WillOnce(Return(HTTPRequest::kResultConnectionFailure));
338 Return(HTTPRequest::kResultInProgress));
450 ResultMapping() : http_result(HTTPRequest::kResultUnknown), trial_result() {}
451 ResultMapping(HTTPRequest::Result in_http_result,
455 HTTPRequest::Result http_result;
475 HTTPRequest::kResultUnknown,
479 HTTPRequest::kResultInProgress
    [all...]
connectivity_trial.h 47 // calling class requesting a connectivity trial and the HTTPRequest that is
48 // used to test connectivity. ConnectivityTrial maps between the HTTPRequest
99 // Static method mapping from HTTPRequest responses to ConntectivityTrial
100 // phases for portal detection. For example, if the HTTPRequest result is
101 // HTTPRequest::kResultDNSFailure, this method returns a
105 static Result GetPortalResultForRequestResult(HTTPRequest::Result result);
117 // This allows the underlying HTTPRequest object to be reused. The URL is not
120 // returns true if the underlying HTTPRequest is still available. If the
121 // HTTPRequest was reset or never created, Retry will return false.
127 // the underlying HTTPRequest
    [all...]
portal_detector_unittest.cc 202 HTTPRequest::kResultConnectionFailure);
319 HTTPRequest::kResultDNSFailure);
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/auth/
test_sigv4.py 32 from boto.connection import HTTPRequest
42 self.request = HTTPRequest(
74 request = HTTPRequest(
89 request = HTTPRequest(
98 request = HTTPRequest(
108 request = HTTPRequest(
116 request = HTTPRequest(
125 request = HTTPRequest(
136 request = HTTPRequest(
153 request = HTTPRequest(
    [all...]
test_stsanon.py 27 from boto.connection import HTTPRequest
35 self.request = HTTPRequest(
  /frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
HTTPHandler.java 6 import com.android.hotspot2.utils.HTTPRequest;
148 HTTPRequest request = new HTTPRequest(message, mCharset, method, url, contentType, false);
158 request = new HTTPRequest(message, StandardCharsets.ISO_8859_1, method, url,
  /frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
HTTPRequest.java 23 public class HTTPRequest implements HTTPMessage {
31 public HTTPRequest(Method method, URL url) {
35 public HTTPRequest(String payload, Charset charset, Method method, URL url, String contentType,
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/
test_connection.py 30 from boto.connection import AWSQueryConnection, AWSAuthConnection, HTTPRequest
509 request = HTTPRequest('PUT', 'https', 'amazon.com', 443, None,
528 request = HTTPRequest('PUT', 'https', 'amazon.com', 443, None,
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
connection.py 303 class HTTPRequest(object):
    [all...]

Completed in 545 milliseconds