Home
last modified time | relevance | path

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

/system/update_engine/common/
Dmock_http_fetcher.cc124 void MockHttpFetcher::FailTransfer(int http_response_code) { in FailTransfer() argument
126 http_response_code_ = http_response_code; in FailTransfer()
Dmock_http_fetcher.h103 void FailTransfer(int http_response_code);
Dhttp_fetcher.h59 int http_response_code() const { return http_response_code_; } in http_response_code() function
Dhttp_fetcher_unittest.cc446 EXPECT_EQ(kHttpResponseNotFound, fetcher->http_response_code()); in TransferComplete()
448 EXPECT_EQ(kHttpResponseOk, fetcher->http_response_code()); in TransferComplete()
766 EXPECT_EQ(kHttpResponsePartialContent, fetcher->http_response_code()); in TransferComplete()
835 EXPECT_EQ(0, fetcher->http_response_code()); in TransferComplete()
1007 EXPECT_EQ(kHttpResponseOk, fetcher->http_response_code()); in TransferComplete()
1009 EXPECT_GE(fetcher->http_response_code(), kHttpResponseMovedPermanently); in TransferComplete()
1010 EXPECT_LE(fetcher->http_response_code(), kHttpResponseTempRedirect); in TransferComplete()
1109 EXPECT_EQ(expected_response_code_, fetcher->http_response_code()); in TransferComplete()
Dmulti_range_http_fetcher.cc128 http_response_code_ = fetcher->http_response_code(); in TransferEnded()
/system/update_engine/payload_consumer/
Ddownload_action.h94 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
/system/update_engine/
Dlibcurl_http_fetcher.cc750 long http_response_code = 0; // NOLINT(runtime/int) - curl needs long. in GetHttpResponseCode() local
756 &http_response_code) == CURLE_OK) { in GetHttpResponseCode()
757 http_response_code_ = static_cast<int>(http_response_code); in GetHttpResponseCode()
Domaha_request_action.h165 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
Dupdate_attempter.h113 int http_response_code() const { return http_response_code_; } in http_response_code() function
Dupdate_attempter_unittest.cc348 EXPECT_EQ(500, attempter_.http_response_code()); in TEST_F()
516 EXPECT_EQ(0, attempter_.http_response_code()); in UpdateTestVerify()