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()
35 void HttpFetcher::SetPostData(const void* data, size_t size, in SetPostData()
44 void HttpFetcher::SetPostData(const void* data, size_t size) { in SetPostData()
49 bool HttpFetcher::ResolveProxiesForUrl(const string& url, in ResolveProxiesForUrl()
58 base::Bind(&HttpFetcher::NoProxyResolverCallback, in ResolveProxiesForUrl()
63 &HttpFetcher::StaticProxiesResolved, in ResolveProxiesForUrl()
67 void HttpFetcher::NoProxyResolverCallback() { in NoProxyResolverCallback()
71 void HttpFetcher::ProxiesResolved(const deque<string>& proxies) { in ProxiesResolved()
Dhttp_fetcher_unittest.cc202 virtual HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) = 0;
203 HttpFetcher* NewLargeFetcher(size_t num_proxies) { in NewLargeFetcher()
207 HttpFetcher* NewLargeFetcher() { in NewLargeFetcher()
211 virtual HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) = 0;
212 HttpFetcher* NewSmallFetcher() { in NewSmallFetcher()
242 HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) override { in NewLargeFetcher()
250 HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) override { in NewSmallFetcher()
267 HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) override { in NewLargeFetcher()
279 HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) override { in NewSmallFetcher()
312 HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) override { in NewLargeFetcher()
[all …]
Dhttp_fetcher.h42 class HttpFetcher {
47 explicit HttpFetcher(ProxyResolver* proxy_resolver) in HttpFetcher() function
54 virtual ~HttpFetcher();
170 reinterpret_cast<HttpFetcher*>(data)->ProxiesResolved(proxies); in StaticProxiesResolved()
177 DISALLOW_COPY_AND_ASSIGN(HttpFetcher);
186 virtual void ReceivedBytes(HttpFetcher* fetcher,
197 virtual void TransferComplete(HttpFetcher* fetcher, bool successful) = 0;
198 virtual void TransferTerminated(HttpFetcher* fetcher) {} in TransferTerminated()
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_;
Dmulti_range_http_fetcher.cc88 void MultiRangeHttpFetcher::ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
117 void MultiRangeHttpFetcher::TransferEnded(HttpFetcher* fetcher, in TransferEnded()
164 void MultiRangeHttpFetcher::TransferComplete(HttpFetcher* fetcher, in TransferComplete()
170 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.cc45 HttpFetcher* http_fetcher) in DownloadAction()
259 void DownloadAction::ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes()
295 void DownloadAction::TransferComplete(HttpFetcher* fetcher, bool successful) { in TransferComplete()
321 void DownloadAction::TransferTerminated(HttpFetcher *fetcher) { in TransferTerminated()
/system/update_engine/
Domaha_request_action.h149 std::unique_ptr<HttpFetcher> http_fetcher,
165 void ReceivedBytes(HttpFetcher *fetcher,
168 void TransferComplete(HttpFetcher *fetcher, bool successful) override;
313 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()
436 HttpFetcher* download_fetcher = nullptr; in BuildUpdateActions()
Domaha_request_action.cc501 std::unique_ptr<HttpFetcher> http_fetcher, in OmahaRequestAction()
654 void OmahaRequestAction::ReceivedBytes(HttpFetcher *fetcher, in ReceivedBytes()
896 void OmahaRequestAction::TransferComplete(HttpFetcher *fetcher, in TransferComplete()
Dlibcurl_http_fetcher.cc49 : HttpFetcher(proxy_resolver), hardware_(hardware) { in LibcurlHttpFetcher()