Home
last modified time | relevance | path

Searched refs:HttpFetcher (Results 1 – 14 of 14) sorted by relevance

/system/update_engine/common/
Dhttp_fetcher.cc28 HttpFetcher::~HttpFetcher() { in ~HttpFetcher()
32 void HttpFetcher::SetPostData(const void* data, size_t size, in SetPostData()
41 void HttpFetcher::SetPostData(const void* data, size_t size) { in SetPostData()
46 bool HttpFetcher::ResolveProxiesForUrl(const string& url, in ResolveProxiesForUrl()
55 base::Bind(&HttpFetcher::NoProxyResolverCallback, in ResolveProxiesForUrl()
60 url, base::Bind(&HttpFetcher::ProxiesResolved, base::Unretained(this))); in ResolveProxiesForUrl()
68 void HttpFetcher::NoProxyResolverCallback() { in NoProxyResolverCallback()
73 void HttpFetcher::ProxiesResolved(const deque<string>& proxies) { in ProxiesResolved()
84 bool HttpFetcher::CancelProxyResolution() { in CancelProxyResolution()
Dhttp_fetcher_unittest.cc200 virtual HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) = 0;
201 HttpFetcher* NewLargeFetcher(size_t num_proxies) { in NewLargeFetcher()
205 HttpFetcher* NewLargeFetcher() { in NewLargeFetcher()
209 virtual HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) = 0;
210 HttpFetcher* NewSmallFetcher() { in NewSmallFetcher()
240 HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) override { in NewLargeFetcher()
248 HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) override { in NewSmallFetcher()
265 HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) override { in NewLargeFetcher()
277 HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) override { in NewSmallFetcher()
310 HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) override { in NewLargeFetcher()
[all …]
Dmulti_range_http_fetcher.h45 class MultiRangeHttpFetcher : public HttpFetcher, public HttpFetcherDelegate {
48 explicit MultiRangeHttpFetcher(HttpFetcher* base_fetcher) in MultiRangeHttpFetcher()
49 : HttpFetcher(base_fetcher->proxy_resolver()), in MultiRangeHttpFetcher()
149 void ReceivedBytes(HttpFetcher* fetcher,
154 void TransferEnded(HttpFetcher* fetcher, bool successful);
156 void TransferComplete(HttpFetcher* fetcher, bool successful) override;
157 void TransferTerminated(HttpFetcher* fetcher) override;
161 std::unique_ptr<HttpFetcher> base_fetcher_;
Dhttp_fetcher.h42 class HttpFetcher {
47 explicit HttpFetcher(ProxyResolver* proxy_resolver) in HttpFetcher() function
54 virtual ~HttpFetcher();
182 DISALLOW_COPY_AND_ASSIGN(HttpFetcher);
191 virtual void ReceivedBytes(HttpFetcher* fetcher,
202 virtual void TransferComplete(HttpFetcher* fetcher, bool successful) = 0;
203 virtual void TransferTerminated(HttpFetcher* fetcher) {} in TransferTerminated()
Dmulti_range_http_fetcher.cc89 void MultiRangeHttpFetcher::ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
118 void MultiRangeHttpFetcher::TransferEnded(HttpFetcher* fetcher, in TransferEnded()
165 void MultiRangeHttpFetcher::TransferComplete(HttpFetcher* fetcher, in TransferComplete()
171 void MultiRangeHttpFetcher::TransferTerminated(HttpFetcher* fetcher) { in TransferTerminated()
Dfile_fetcher.h36 class FileFetcher : public HttpFetcher {
41 FileFetcher() : HttpFetcher(nullptr) {} in FileFetcher()
Dmock_http_fetcher.h41 class MockHttpFetcher : public HttpFetcher {
48 : HttpFetcher(proxy_resolver), in MockHttpFetcher()
/system/update_engine/payload_consumer/
Ddownload_action.h80 HttpFetcher* http_fetcher);
98 void ReceivedBytes(HttpFetcher* fetcher,
101 void TransferComplete(HttpFetcher* fetcher, bool successful) override;
102 void TransferTerminated(HttpFetcher* fetcher) override;
109 HttpFetcher* http_fetcher() { return http_fetcher_.get(); } in http_fetcher()
146 std::unique_ptr<HttpFetcher> http_fetcher_;
Ddownload_action.cc46 HttpFetcher* http_fetcher) in DownloadAction()
260 void DownloadAction::ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
297 void DownloadAction::TransferComplete(HttpFetcher* fetcher, bool successful) { in TransferComplete()
323 void DownloadAction::TransferTerminated(HttpFetcher *fetcher) { in TransferTerminated()
/system/update_engine/
Domaha_request_action.h150 std::unique_ptr<HttpFetcher> http_fetcher,
166 void ReceivedBytes(HttpFetcher *fetcher,
169 void TransferComplete(HttpFetcher *fetcher, bool successful) override;
318 std::unique_ptr<HttpFetcher> http_fetcher_;
Dlibcurl_http_fetcher.h40 class LibcurlHttpFetcher : public HttpFetcher {
Dupdate_attempter_android.cc205 HttpFetcher* fetcher = download_action_->http_fetcher(); in ApplyPayload()
444 HttpFetcher* download_fetcher = nullptr; in BuildUpdateActions()
Domaha_request_action.cc523 std::unique_ptr<HttpFetcher> http_fetcher, in OmahaRequestAction()
686 void OmahaRequestAction::ReceivedBytes(HttpFetcher *fetcher, in ReceivedBytes()
931 void OmahaRequestAction::TransferComplete(HttpFetcher *fetcher, in TransferComplete()
Dlibcurl_http_fetcher.cc100 : HttpFetcher(proxy_resolver), hardware_(hardware) { in LibcurlHttpFetcher()