Searched refs:HttpFetcher (Results 1 – 16 of 16) sorted by relevance
/system/update_engine/common/ |
D | http_fetcher.cc | 28 HttpFetcher::~HttpFetcher() { in ~HttpFetcher() 32 void HttpFetcher::SetPostData(const void* data, in SetPostData() 42 void HttpFetcher::SetPostData(const void* data, size_t size) { in SetPostData() 47 void HttpFetcher::ResolveProxiesForUrl(const string& url, in ResolveProxiesForUrl() 56 base::Bind(&HttpFetcher::NoProxyResolverCallback, in ResolveProxiesForUrl() 61 url, base::Bind(&HttpFetcher::ProxiesResolved, base::Unretained(this))); in ResolveProxiesForUrl() 64 void HttpFetcher::NoProxyResolverCallback() { in NoProxyResolverCallback() 69 void HttpFetcher::ProxiesResolved(const deque<string>& proxies) { in ProxiesResolved() 80 bool HttpFetcher::CancelProxyResolution() { in CancelProxyResolution()
|
D | http_fetcher_unittest.cc | 192 virtual HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) = 0; 193 HttpFetcher* NewLargeFetcher(size_t num_proxies) { in NewLargeFetcher() 197 HttpFetcher* NewLargeFetcher() { return NewLargeFetcher(1); } in NewLargeFetcher() 199 virtual HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) = 0; 200 HttpFetcher* NewSmallFetcher() { in NewSmallFetcher() 229 HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) override { in NewLargeFetcher() 237 HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) override { in NewSmallFetcher() 253 HttpFetcher* NewLargeFetcher(ProxyResolver* proxy_resolver) override { in NewLargeFetcher() 265 HttpFetcher* NewSmallFetcher(ProxyResolver* proxy_resolver) override { in NewSmallFetcher() 296 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() 152 bool ReceivedBytes(HttpFetcher* fetcher, 157 void TransferEnded(HttpFetcher* fetcher, bool successful); 159 void TransferComplete(HttpFetcher* fetcher, bool successful) override; 160 void TransferTerminated(HttpFetcher* fetcher) override; 164 std::unique_ptr<HttpFetcher> base_fetcher_;
|
D | http_fetcher.h | 44 class HttpFetcher { 49 explicit HttpFetcher(ProxyResolver* proxy_resolver) in HttpFetcher() function 56 virtual ~HttpFetcher(); 199 DISALLOW_COPY_AND_ASSIGN(HttpFetcher); 209 virtual bool ReceivedBytes(HttpFetcher* fetcher, 220 virtual void TransferComplete(HttpFetcher* fetcher, bool successful) = 0; 221 virtual void TransferTerminated(HttpFetcher* fetcher) {} in TransferTerminated()
|
D | multi_range_http_fetcher.cc | 89 bool MultiRangeHttpFetcher::ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes() 123 void MultiRangeHttpFetcher::TransferEnded(HttpFetcher* fetcher, in TransferEnded() 170 void MultiRangeHttpFetcher::TransferComplete(HttpFetcher* fetcher, in TransferComplete() 176 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, 97 bool 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()
|
D | download_action.cc | 46 HttpFetcher* http_fetcher, in DownloadAction() 362 bool DownloadAction::ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes() 403 void DownloadAction::TransferComplete(HttpFetcher* fetcher, bool successful) { in TransferComplete() 458 void DownloadAction::TransferTerminated(HttpFetcher* fetcher) { in TransferTerminated()
|
D | download_action_unittest.cc | 587 [](P2PDownloadActionTest* action_test, HttpFetcher* http_fetcher) { in StartDownload()
|
/system/update_engine/ |
D | omaha_request_action.h | 106 std::unique_ptr<HttpFetcher> http_fetcher, 123 bool ReceivedBytes(HttpFetcher* fetcher, 127 void TransferComplete(HttpFetcher* fetcher, bool successful) override; 296 std::unique_ptr<HttpFetcher> http_fetcher_;
|
D | update_attempter_android.h | 133 void BuildUpdateActions(HttpFetcher* fetcher);
|
D | libcurl_http_fetcher.h | 83 class LibcurlHttpFetcher : public HttpFetcher {
|
D | omaha_request_action.cc | 277 std::unique_ptr<HttpFetcher> http_fetcher, in OmahaRequestAction() 489 bool OmahaRequestAction::ReceivedBytes(HttpFetcher* fetcher, in ReceivedBytes() 922 void OmahaRequestAction::TransferComplete(HttpFetcher* fetcher, in TransferComplete()
|
D | update_attempter_android.cc | 283 HttpFetcher* fetcher = nullptr; in ApplyPayload() 721 void UpdateAttempterAndroid::BuildUpdateActions(HttpFetcher* fetcher) { in BuildUpdateActions()
|
D | libcurl_http_fetcher.cc | 98 : HttpFetcher(proxy_resolver), hardware_(hardware) { in LibcurlHttpFetcher()
|