Searched refs:http_response_code (Results 1 – 10 of 10) sorted by relevance
/system/update_engine/common/ |
D | mock_http_fetcher.cc | 148 void MockHttpFetcher::FailTransfer(int http_response_code) { in FailTransfer() argument 150 http_response_code_ = http_response_code; in FailTransfer()
|
D | mock_http_fetcher.h | 105 void FailTransfer(int http_response_code);
|
D | http_fetcher_unittest.cc | 424 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()
|
D | http_fetcher.h | 58 int http_response_code() const { return http_response_code_; } in http_response_code() function
|
D | multi_range_http_fetcher.cc | 123 http_response_code_ = fetcher->http_response_code(); in TransferEnded()
|
/system/update_engine/payload_consumer/ |
D | download_action.h | 97 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
|
/system/update_engine/ |
D | libcurl_http_fetcher.cc | 746 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()
|
D | omaha_request_action.h | 159 int GetHTTPResponseCode() { return http_fetcher_->http_response_code(); } in GetHTTPResponseCode()
|
D | update_attempter.h | 122 int http_response_code() const { return http_response_code_; } in http_response_code() function
|
D | update_attempter_unittest.cc | 317 EXPECT_EQ(500, attempter_.http_response_code()); in TEST_F() 482 EXPECT_EQ(0, attempter_.http_response_code()); in UpdateTestVerify()
|