/system/update_engine/common/ |
D | file_fetcher.cc | 44 bool FileFetcher::SupportedUrl(const string& url) { in SupportedUrl() argument 47 base::StartsWith(url, "file:///", base::CompareCase::INSENSITIVE_ASCII) || in SupportedUrl() 48 base::StartsWith(url, "fd://", base::CompareCase::INSENSITIVE_ASCII)); in SupportedUrl() 58 void FileFetcher::BeginTransfer(const string& url) { in BeginTransfer() argument 61 if (!SupportedUrl(url)) { in BeginTransfer() 62 LOG(ERROR) << "Unsupported file URL: " << url; in BeginTransfer() 73 if (base::StartsWith(url, "fd://", base::CompareCase::INSENSITIVE_ASCII)) { in BeginTransfer() 74 int fd = std::stoi(url.substr(strlen("fd://"))); in BeginTransfer() 75 file_path = url; in BeginTransfer() 78 file_path = url.substr(strlen("file://")); in BeginTransfer()
|
D | proxy_resolver.h | 57 const std::string& url, const ProxiesResolvedFn& callback) = 0; 72 ProxyRequestId GetProxiesForUrl(const std::string& url,
|
D | file_fetcher.h | 39 static bool SupportedUrl(const std::string& url); 52 void BeginTransfer(const std::string& url) override;
|
D | http_fetcher.cc | 47 void HttpFetcher::ResolveProxiesForUrl(const string& url, in ResolveProxiesForUrl() argument 61 url, base::Bind(&HttpFetcher::ProxiesResolved, base::Unretained(this))); in ResolveProxiesForUrl()
|
D | mock_proxy_resolver.h | 31 ProxyRequestId(const std::string& url,
|
D | http_fetcher_unittest.cc | 473 void StartTransfer(HttpFetcher* http_fetcher, const string& url) { in StartTransfer() argument 474 http_fetcher->BeginTransfer(url); in StartTransfer() 1023 const string& url, in RedirectTest() argument 1033 LocalServerUrlForPath(server->GetPort(), url))); in RedirectTest() 1054 const string url = base::StringPrintf( in TYPED_TEST() local 1056 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST() 1067 string url; in TYPED_TEST() local 1069 url += base::StringPrintf("/redirect/%d", in TYPED_TEST() 1072 url += base::StringPrintf("/download/%d", kMediumLength); in TYPED_TEST() 1073 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST() [all …]
|
D | http_fetcher.h | 77 void ResolveProxiesForUrl(const std::string& url, 97 virtual void BeginTransfer(const std::string& url) = 0;
|
D | proxy_resolver.cc | 44 const string& url, const ProxiesResolvedFn& callback) { in GetProxiesForUrl() argument
|
D | multi_range_http_fetcher.cc | 31 void MultiRangeHttpFetcher::BeginTransfer(const std::string& url) { in BeginTransfer() argument 42 url_ = url; in BeginTransfer()
|
D | mock_http_fetcher.h | 83 void BeginTransfer(const std::string& url) override;
|
D | mock_http_fetcher.cc | 39 void MockHttpFetcher::BeginTransfer(const std::string& url) { in BeginTransfer() argument
|
/system/update_engine/ |
D | test_http_server.cc | 75 string url; member 111 request->url = terms[1]; in ParseRequest() 112 LOG(INFO) << "URL: " << request->url; in ParseRequest() 391 string url = request.url; in HandleRedirect() local 392 CHECK_EQ(static_cast<size_t>(0), url.find("/redirect/")); in HandleRedirect() 393 url.erase(0, strlen("/redirect/")); in HandleRedirect() 394 string::size_type url_start = url.find('/'); in HandleRedirect() 396 HttpResponseCode code = StringToHttpResponseCode(url.c_str()); in HandleRedirect() 397 url.erase(0, url_start); in HandleRedirect() 398 url = "http://" + request.host + url; in HandleRedirect() [all …]
|
D | chrome_browser_proxy_resolver.cc | 36 const std::string& url, const ProxiesResolvedFn& callback) { in GetProxiesForUrl() argument 40 url, in GetProxiesForUrl()
|
D | fake_p2p_manager.h | 95 void SetLookupUrlForFileResult(const std::string& url) { in SetLookupUrlForFileResult() argument 96 lookup_url_for_file_result_ = url; in SetLookupUrlForFileResult()
|
D | p2p_manager.cc | 424 void IssueCallback(const string& url) { in IssueCallback() argument 426 callback_.Run(url); in IssueCallback() 439 string url = output; in ReportSuccess() local 440 size_t newline_pos = url.find('\n'); in ReportSuccess() 442 url.resize(newline_pos); in ReportSuccess() 447 if (url.compare(0, 7, "http://") == 0) { in ReportSuccess() 448 IssueCallback(url); in ReportSuccess() 450 LOG(ERROR) << "p2p URL '" << url << "' does not look right. Ignoring."; in ReportSuccess()
|
D | chrome_browser_proxy_resolver.h | 37 ProxyRequestId GetProxiesForUrl(const std::string& url,
|
D | libcurl_http_fetcher.h | 97 void BeginTransfer(const std::string& url) override; 192 virtual void ResumeTransfer(const std::string& url);
|
D | p2p_manager.h | 63 typedef base::Callback<void(const std::string& url)> LookupCallback;
|
D | payload_state_interface.h | 203 virtual void SetP2PUrl(const std::string& url) = 0;
|
D | binder_service_android.h | 52 const android::String16& url,
|
D | payload_state.h | 141 void SetP2PUrl(const std::string& url) override { p2p_url_ = url; } in SetP2PUrl() argument
|
/system/extras/multinetwork/ |
D | quick_test.sh | 44 for url in $urls; do 45 echo "$PREFIX Checking $url" >&2 46 adb shell /system/bin/httpurl --nethandle $nethandle "$url"
|
/system/chre/external/kiss_fft/ |
D | METADATA | 6 url {
|
/system/update_engine/binder_bindings/android/os/ |
D | IUpdateEngine.aidl | 25 void applyPayload(String url, in applyPayload() argument
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/ |
D | build.gradle | 6 maven { url 'https://maven.google.com' }
|