Home
last modified time | relevance | path

Searched refs:FileFetcher (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/common/
Dfile_fetcher.cc44 bool FileFetcher::SupportedUrl(const string& url) { in SupportedUrl()
51 FileFetcher::~FileFetcher() { in ~FileFetcher()
58 void FileFetcher::BeginTransfer(const string& url) { in BeginTransfer()
103 void FileFetcher::TerminateTransfer() { in TerminateTransfer()
111 void FileFetcher::ScheduleRead() { in ScheduleRead()
130 base::Bind(&FileFetcher::OnReadDoneCallback, base::Unretained(this)), in ScheduleRead()
131 base::Bind(&FileFetcher::OnReadErrorCallback, base::Unretained(this)), in ScheduleRead()
142 void FileFetcher::OnReadDoneCallback(size_t bytes_read) { in OnReadDoneCallback()
157 void FileFetcher::OnReadErrorCallback(const brillo::Error* error) { in OnReadErrorCallback()
164 void FileFetcher::Pause() { in Pause()
[all …]
Dfile_fetcher_unittest.cc30 EXPECT_TRUE(FileFetcher::SupportedUrl("file:///path/to/somewhere.bin")); in TEST_F()
31 EXPECT_TRUE(FileFetcher::SupportedUrl("FILE:///I/LIKE/TO/SHOUT")); in TEST_F()
33 EXPECT_FALSE(FileFetcher::SupportedUrl("file://relative")); in TEST_F()
34 EXPECT_FALSE(FileFetcher::SupportedUrl("http:///no_http_here")); in TEST_F()
Dfile_fetcher.h36 class FileFetcher : public HttpFetcher {
41 FileFetcher() : HttpFetcher(nullptr) {} in FileFetcher() function
44 ~FileFetcher() override;
120 DISALLOW_COPY_AND_ASSIGN(FileFetcher);
Dhttp_fetcher_unittest.cc331 return new FileFetcher(); in NewLargeFetcher()
380 MultiRangeHttpFetcher* ret = new MultiRangeHttpFetcher(new FileFetcher()); in NewLargeFetcher()
/system/update_engine/aosp/
Dupdate_attempter_android.cc286 if (FileFetcher::SupportedUrl(payload_url)) { in ApplyPayload()
288 fetcher = new FileFetcher(); in ApplyPayload()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc227 new FileFetcher(), in ApplyPayload()