Home
last modified time | relevance | path

Searched refs:url (Results 1 – 25 of 35) sorted by relevance

12

/system/update_engine/common/
Dfile_fetcher.cc44 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()
Dproxy_resolver.h57 const std::string& url, const ProxiesResolvedFn& callback) = 0;
72 ProxyRequestId GetProxiesForUrl(const std::string& url,
Dfile_fetcher.h39 static bool SupportedUrl(const std::string& url);
52 void BeginTransfer(const std::string& url) override;
Dhttp_fetcher.cc47 void HttpFetcher::ResolveProxiesForUrl(const string& url, in ResolveProxiesForUrl() argument
61 url, base::Bind(&HttpFetcher::ProxiesResolved, base::Unretained(this))); in ResolveProxiesForUrl()
Dmock_proxy_resolver.h31 ProxyRequestId(const std::string& url,
Dhttp_fetcher_unittest.cc473 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 …]
Dhttp_fetcher.h77 void ResolveProxiesForUrl(const std::string& url,
97 virtual void BeginTransfer(const std::string& url) = 0;
Dproxy_resolver.cc44 const string& url, const ProxiesResolvedFn& callback) { in GetProxiesForUrl() argument
Dmulti_range_http_fetcher.cc31 void MultiRangeHttpFetcher::BeginTransfer(const std::string& url) { in BeginTransfer() argument
42 url_ = url; in BeginTransfer()
Dmock_http_fetcher.h83 void BeginTransfer(const std::string& url) override;
Dmock_http_fetcher.cc39 void MockHttpFetcher::BeginTransfer(const std::string& url) { in BeginTransfer() argument
/system/update_engine/
Dtest_http_server.cc75 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 …]
Dchrome_browser_proxy_resolver.cc36 const std::string& url, const ProxiesResolvedFn& callback) { in GetProxiesForUrl() argument
40 url, in GetProxiesForUrl()
Dfake_p2p_manager.h95 void SetLookupUrlForFileResult(const std::string& url) { in SetLookupUrlForFileResult() argument
96 lookup_url_for_file_result_ = url; in SetLookupUrlForFileResult()
Dp2p_manager.cc424 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()
Dchrome_browser_proxy_resolver.h37 ProxyRequestId GetProxiesForUrl(const std::string& url,
Dlibcurl_http_fetcher.h97 void BeginTransfer(const std::string& url) override;
192 virtual void ResumeTransfer(const std::string& url);
Dp2p_manager.h63 typedef base::Callback<void(const std::string& url)> LookupCallback;
Dpayload_state_interface.h203 virtual void SetP2PUrl(const std::string& url) = 0;
Dbinder_service_android.h52 const android::String16& url,
Dpayload_state.h141 void SetP2PUrl(const std::string& url) override { p2p_url_ = url; } in SetP2PUrl() argument
/system/extras/multinetwork/
Dquick_test.sh44 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/
DMETADATA6 url {
/system/update_engine/binder_bindings/android/os/
DIUpdateEngine.aidl25 void applyPayload(String url, in applyPayload() argument
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/
Dbuild.gradle6 maven { url 'https://maven.google.com' }

12