Searched refs:http_response_code (Results 1 – 10 of 10) sorted by relevance
/system/update_engine/common/ |
D | mock_http_fetcher.cc | 124 void MockHttpFetcher::FailTransfer(int http_response_code) { in FailTransfer() argument 126 http_response_code_ = http_response_code; in FailTransfer()
|
D | mock_http_fetcher.h | 103 void FailTransfer(int http_response_code);
|
D | http_fetcher.h | 59 int http_response_code() const { return http_response_code_; } in http_response_code() function
|
D | http_fetcher_unittest.cc | 446 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()
|
D | multi_range_http_fetcher.cc | 128 http_response_code_ = fetcher->http_response_code(); in TransferEnded()
|
/system/update_engine/payload_consumer/ |
D | download_action.h | 94 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
|
/system/update_engine/ |
D | libcurl_http_fetcher.cc | 750 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()
|
D | omaha_request_action.h | 165 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
|
D | update_attempter.h | 113 int http_response_code() const { return http_response_code_; } in http_response_code() function
|
D | update_attempter_unittest.cc | 348 EXPECT_EQ(500, attempter_.http_response_code()); in TEST_F() 516 EXPECT_EQ(0, attempter_.http_response_code()); in UpdateTestVerify()
|