Home
last modified time | relevance | path

Searched refs:http_response_code_ (Results 1 – 10 of 10) sorted by relevance

/system/update_engine/
Dlibcurl_http_fetcher.h180 return (http_response_code_ >= 200 && http_response_code_ < 300); in IsHttpResponseSuccess()
186 return (http_response_code_ >= 400 && http_response_code_ < 600); in IsHttpResponseError()
Dlibcurl_http_fetcher.cc351 http_response_code_ = 0; in ProxiesResolved()
481 if (http_response_code_) { in CurlPerformOnce()
482 LOG(INFO) << "HTTP response code: " << http_response_code_; in CurlPerformOnce()
517 if (!sent_byte_ && http_response_code_ == 0 && in CurlPerformOnce()
538 LOG(INFO) << "Transfer resulted in an error (" << http_response_code_ in CurlPerformOnce()
579 LOG(INFO) << "Transfer completed (" << http_response_code_ << "), " in CurlPerformOnce()
600 LOG(INFO) << "HTTP response unsuccessful (" << http_response_code_ in LibcurlWrite()
821 http_response_code_ = 299; in GetHttpResponseCode()
825 http_response_code_ = static_cast<int>(http_response_code); in GetHttpResponseCode()
Dlibcurl_http_fetcher_unittest.cc155 [this]() { libcurl_fetcher_.http_response_code_ = 200; })) in TEST_F()
157 [this]() { libcurl_fetcher_.http_response_code_ = 0; })); in TEST_F()
/system/update_engine/common/
Dhttp_fetcher.h51 http_response_code_(0), in HttpFetcher()
60 int http_response_code() const { return http_response_code_; } in http_response_code()
166 int http_response_code_; variable
Dfile_fetcher.cc64 http_response_code_ = 0; in BeginTransfer()
88 http_response_code_ = kHttpResponseNotFound; in BeginTransfer()
94 http_response_code_ = kHttpResponseOk; in BeginTransfer()
Dmock_http_fetcher.cc135 http_response_code_ = http_response_code; in FailTransfer()
142 http_response_code_ = 200; in SignalTransferComplete()
Dmulti_range_http_fetcher.cc128 http_response_code_ = fetcher->http_response_code(); in TransferEnded()
129 LOG(INFO) << "TransferEnded w/ code " << http_response_code_; in TransferEnded()
/system/update_engine/cros/
Dupdate_attempter.h105 int http_response_code() const { return http_response_code_; } in http_response_code()
106 void set_http_response_code(int code) { http_response_code_ = code; } in set_http_response_code()
492 int http_response_code_ = 0; variable
Dupdate_attempter.cc369 http_response_code_ = 0; in CalculateUpdateParams()
1256 http_response_code_ = download_action->GetHTTPResponseCode(); in ActionCompleted()
1262 http_response_code_ = omaha_request_action->GetHTTPResponseCode(); in ActionCompleted()
1265 if (http_response_code_ == kHttpResponseInternalServerError || in ActionCompleted()
1266 http_response_code_ == kHttpResponseServiceUnavailable) { in ActionCompleted()
Dupdate_attempter_unittest.cc242 EXPECT_EQ(0, attempter_.http_response_code_); in SetUp()