Home
last modified time | relevance | path

Searched refs:http_response_code (Results 1 – 11 of 11) sorted by relevance

/system/update_engine/common/
Dmock_http_fetcher.cc133 void MockHttpFetcher::FailTransfer(int http_response_code) { in FailTransfer() argument
135 http_response_code_ = http_response_code; in FailTransfer()
Ddownload_action.h95 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
Dmock_http_fetcher.h109 void FailTransfer(int http_response_code);
Dhttp_fetcher_unittest.cc461 EXPECT_EQ(kHttpResponseNotFound, fetcher->http_response_code()); in TransferComplete()
463 EXPECT_EQ(kHttpResponseOk, fetcher->http_response_code()); in TransferComplete()
781 EXPECT_EQ(kHttpResponsePartialContent, fetcher->http_response_code()); in TransferComplete()
850 EXPECT_EQ(0, fetcher->http_response_code()); in TransferComplete()
1022 EXPECT_EQ(kHttpResponseOk, fetcher->http_response_code()); in TransferComplete()
1024 EXPECT_GE(fetcher->http_response_code(), kHttpResponseMovedPermanently); in TransferComplete()
1025 EXPECT_LE(fetcher->http_response_code(), kHttpResponseTempRedirect); in TransferComplete()
1124 EXPECT_EQ(expected_response_code_, fetcher->http_response_code()); in TransferComplete()
Dhttp_fetcher.h60 int http_response_code() const { return http_response_code_; } in http_response_code() function
Dmulti_range_http_fetcher.cc128 http_response_code_ = fetcher->http_response_code(); in TransferEnded()
/system/update_engine/cros/
Ddownload_action_chromeos.h69 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
Domaha_request_action.h114 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
Dupdate_attempter.h105 int http_response_code() const { return http_response_code_; } in http_response_code() function
Dupdate_attempter_unittest.cc607 EXPECT_EQ(500, attempter_.http_response_code()); in TEST_F()
769 EXPECT_EQ(0, attempter_.http_response_code()); in UpdateTestVerify()
/system/update_engine/
Dlibcurl_http_fetcher.cc818 long http_response_code = 0; // NOLINT(runtime/int) - curl needs long. in GetHttpResponseCode() local
824 &http_response_code) == CURLE_OK) { in GetHttpResponseCode()
825 http_response_code_ = static_cast<int>(http_response_code); in GetHttpResponseCode()