Searched refs:HttpFetcher (Results 1 – 14 of 14) sorted by relevance
/system/update_engine/common/ |
D | http_fetcher.cc | 28 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()
|
D | http_fetcher_unittest.cc | 200 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 …]
|
D | multi_range_http_fetcher.h | 45 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_;
|
D | http_fetcher.h | 42 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()
|
D | multi_range_http_fetcher.cc | 89 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()
|
D | file_fetcher.h | 36 class FileFetcher : public HttpFetcher { 41 FileFetcher() : HttpFetcher(nullptr) {} in FileFetcher()
|
D | mock_http_fetcher.h | 41 class MockHttpFetcher : public HttpFetcher { 48 : HttpFetcher(proxy_resolver), in MockHttpFetcher()
|
/system/update_engine/payload_consumer/ |
D | download_action.h | 80 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_;
|
D | download_action.cc | 46 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/ |
D | omaha_request_action.h | 150 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_;
|
D | libcurl_http_fetcher.h | 40 class LibcurlHttpFetcher : public HttpFetcher {
|
D | update_attempter_android.cc | 205 HttpFetcher* fetcher = download_action_->http_fetcher(); in ApplyPayload() 444 HttpFetcher* download_fetcher = nullptr; in BuildUpdateActions()
|
D | omaha_request_action.cc | 523 std::unique_ptr<HttpFetcher> http_fetcher, in OmahaRequestAction() 686 void OmahaRequestAction::ReceivedBytes(HttpFetcher *fetcher, in ReceivedBytes() 931 void OmahaRequestAction::TransferComplete(HttpFetcher *fetcher, in TransferComplete()
|
D | libcurl_http_fetcher.cc | 100 : HttpFetcher(proxy_resolver), hardware_(hardware) { in LibcurlHttpFetcher()
|