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()
50 FileFetcher::~FileFetcher() { in ~FileFetcher()
57 void FileFetcher::BeginTransfer(const string& url) { in BeginTransfer()
94 void FileFetcher::TerminateTransfer() { in TerminateTransfer()
102 void FileFetcher::ScheduleRead() { in ScheduleRead()
121 base::Bind(&FileFetcher::OnReadDoneCallback, base::Unretained(this)), in ScheduleRead()
122 base::Bind(&FileFetcher::OnReadErrorCallback, base::Unretained(this)), in ScheduleRead()
133 void FileFetcher::OnReadDoneCallback(size_t bytes_read) { in OnReadDoneCallback()
148 void FileFetcher::OnReadErrorCallback(const brillo::Error* error) { in OnReadErrorCallback()
155 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;
114 DISALLOW_COPY_AND_ASSIGN(FileFetcher);
Dhttp_fetcher_unittest.cc321 return new FileFetcher(); in NewLargeFetcher()
370 MultiRangeHttpFetcher* ret = new MultiRangeHttpFetcher(new FileFetcher()); in NewLargeFetcher()
/system/update_engine/
Dupdate_attempter_android.cc261 if (FileFetcher::SupportedUrl(payload_url)) { in ApplyPayload()
263 fetcher = new FileFetcher(); in ApplyPayload()
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc250 new FileFetcher(), in ApplyPayload()