Home
last modified time | relevance | path

Searched refs:http_fetcher (Results 1 – 12 of 12) sorted by relevance

/aosp12/system/update_engine/
H A Ddownload_action_android_unittest.cc75 MockHttpFetcher* http_fetcher = in TEST_F() local
77 http_fetcher->set_delay(false); in TEST_F()
88 &prefs, &boot_control, nullptr, http_fetcher, false /* interactive */); in TEST_F()
93 ASSERT_EQ(download_action->http_fetcher()->GetBytesDownloaded(), data.size()); in TEST_F()
144 MockHttpFetcher* http_fetcher = in TEST_F() local
146 http_fetcher->set_delay(false); in TEST_F()
161 &prefs, &boot_control, &hardware, http_fetcher, false /* interactive */); in TEST_F()
178 ASSERT_EQ(download_action->http_fetcher()->GetBytesDownloaded(), 0UL); in TEST_F()
H A Ddownload_action.cc43 HttpFetcher* http_fetcher, in DownloadAction() argument
48 http_fetcher_(new MultiRangeHttpFetcher(http_fetcher)), in DownloadAction()
H A DBUILD.gn132 "common/http_fetcher.cc",
H A DAndroid.bp216 "common/http_fetcher.cc",
/aosp12/system/update_engine/cros/
H A Ddownload_action_chromeos_unittest.cc124 MockHttpFetcher* http_fetcher) { in StartProcessorInRunLoop() argument
126 http_fetcher->SetOffset(1); in StartProcessorInRunLoop()
160 MockHttpFetcher* http_fetcher = in TestWithData() local
167 http_fetcher, in TestWithData()
193 base::Bind(&StartProcessorInRunLoop, &processor, http_fetcher)); in TestWithData()
274 MockHttpFetcher* http_fetcher = new MockHttpFetcher( in TEST() local
281 http_fetcher, in TEST()
565 auto http_fetcher = download_action->http_fetcher(); in StartDownload() local
578 [](P2PDownloadActionTest* action_test, HttpFetcher* http_fetcher) { in StartDownload() argument
580 http_fetcher->SetOffset(action_test->start_at_offset_); in StartDownload()
[all …]
H A Ddownload_action_chromeos.h55 HttpFetcher* http_fetcher,
84 HttpFetcher* http_fetcher() { return http_fetcher_.get(); } in http_fetcher() function
H A Ddownload_action_chromeos.cc47 HttpFetcher* http_fetcher, in DownloadActionChromeos() argument
52 http_fetcher_(new MultiRangeHttpFetcher(http_fetcher)), in DownloadActionChromeos()
H A Domaha_request_action.h104 std::unique_ptr<HttpFetcher> http_fetcher,
H A Domaha_request_action.cc341 std::unique_ptr<HttpFetcher> http_fetcher, in OmahaRequestAction() argument
345 http_fetcher_(std::move(http_fetcher)), in OmahaRequestAction()
H A Dupdate_attempter_unittest.cc478 EXPECT_TRUE(da->http_fetcher()->GetHeader(kXGoogleUpdateSessionId, in SessionIdTestInDownloadAction()
/aosp12/system/update_engine/common/
H A Ddownload_action.h79 HttpFetcher* http_fetcher,
110 HttpFetcher* http_fetcher() { return http_fetcher_.get(); } in http_fetcher() function
H A Dhttp_fetcher_unittest.cc487 void StartTransfer(HttpFetcher* http_fetcher, const string& url) { in StartTransfer() argument
488 http_fetcher->BeginTransfer(url); in StartTransfer()
1038 HttpFetcher* http_fetcher) { in RedirectTest() argument
1040 unique_ptr<HttpFetcher> fetcher(http_fetcher); in RedirectTest()