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.cc148 void MockHttpFetcher::FailTransfer(int http_response_code) { in FailTransfer() argument
150 http_response_code_ = http_response_code; in FailTransfer()
Dmock_http_fetcher.h105 void FailTransfer(int http_response_code);
Dhttp_fetcher_unittest.cc424 EXPECT_EQ(kHttpResponseNotFound, fetcher->http_response_code()); in TransferComplete()
426 EXPECT_EQ(kHttpResponseOk, fetcher->http_response_code()); in TransferComplete()
744 EXPECT_EQ(kHttpResponsePartialContent, fetcher->http_response_code()); in TransferComplete()
812 EXPECT_EQ(0, fetcher->http_response_code()); in TransferComplete()
983 EXPECT_EQ(kHttpResponseOk, fetcher->http_response_code()); in TransferComplete()
985 EXPECT_GE(fetcher->http_response_code(), kHttpResponseMovedPermanently); in TransferComplete()
986 EXPECT_LE(fetcher->http_response_code(), kHttpResponseTempRedirect); in TransferComplete()
1085 EXPECT_EQ(expected_response_code_, fetcher->http_response_code()); in TransferComplete()
Dhttp_fetcher.h58 int http_response_code() const { return http_response_code_; } in http_response_code() function
Dmulti_range_http_fetcher.cc123 http_response_code_ = fetcher->http_response_code(); in TransferEnded()
/system/update_engine/payload_consumer/
Ddownload_action.h97 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
/system/update_engine/
Dlibcurl_http_fetcher.cc746 long http_response_code = 0; // NOLINT(runtime/int) - curl needs long. in GetHttpResponseCode() local
752 &http_response_code) == CURLE_OK) { in GetHttpResponseCode()
753 http_response_code_ = static_cast<int>(http_response_code); in GetHttpResponseCode()
Domaha_request_action.h159 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
Dupdate_attempter.h122 int http_response_code() const { return http_response_code_; } in http_response_code() function
Dupdate_attempter_unittest.cc317 EXPECT_EQ(500, attempter_.http_response_code()); in TEST_F()
482 EXPECT_EQ(0, attempter_.http_response_code()); in UpdateTestVerify()