Home
last modified time | relevance | path

Searched refs:request_ (Results 1 – 5 of 5) sorted by relevance

/system/connectivity/shill/
Dhttp_request_unittest.cc133 request_.reset(new HTTPRequest(connection_, &dispatcher_, &sockets_)); in SetUp()
135 request_->dns_client_.reset(dns_client_); in SetUp()
137 request_->server_async_connection_.reset(server_async_connection_); in SetUp()
140 if (request_->is_running_) { in TearDown()
145 request_.reset(); in TearDown()
150 reinterpret_cast<char*>(request_->request_data_.GetData()), in FindInRequestData()
151 request_->request_data_.GetLength()); in FindInRequestData()
156 return request_->request_data_; in GetRequestData()
158 HTTPRequest* request() { return request_.get(); } in request()
163 EXPECT_EQ(connection_.get(), request_->connection_.get()); in ExpectReset()
[all …]
Dconnectivity_trial.cc82 if (request_.get()) in Retry()
98 if (request_.get()) { in Start()
101 request_.reset(new HTTPRequest(connection_, dispatcher_, &sockets_)); in Start()
110 if (!request_.get()) { in Stop()
128 request_->Start(url_, request_read_callback_, request_result_callback_); in StartTrialTask()
189 if (request_.get()) in CleanupTrial()
190 request_->Stop(); in CleanupTrial()
194 if (!reset_request || !request_.get()) in CleanupTrial()
197 request_.reset(); in CleanupTrial()
202 if (request_->response_data().GetLength()) { in TimeoutTrialTask()
Dconnectivity_trial_unittest.cc91 EXPECT_FALSE(connectivity_trial_->request_.get()); in SetUp()
96 if (connectivity_trial_->request_.get()) { in TearDown()
126 connectivity_trial_->request_.reset(http_request_); // Passes ownership. in AssignHTTPRequest()
169 EXPECT_FALSE(connectivity_trial_->request_.get()); in ExpectReset()
Dconnectivity_trial.h182 std::unique_ptr<HTTPRequest> request_; variable
/system/weaved/buffet/
Dwebserv_client.cc38 : request_{std::move(request)}, response_{std::move(response)} {} in RequestImpl()
42 std::string GetPath() const override { return request_->GetPath(); } in GetPath()
45 return request_->GetFirstHeader(name); in GetFirstHeader()
55 auto stream = request_->GetDataStream(); in GetData()
77 new SocketStream{request_->GetDataStream()}}; in GetDataStream()
82 std::unique_ptr<libwebserv::Request> request_; member in buffet::__anonbf6b9fbe0111::RequestImpl