Home
last modified time | relevance | path

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

12

/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.cc425 void IssueCallback(const string& url) { in IssueCallback() argument
427 callback_.Run(url); in IssueCallback()
440 string url = output; in ReportSuccess() local
441 size_t newline_pos = url.find('\n'); in ReportSuccess()
443 url.resize(newline_pos); in ReportSuccess()
448 if (url.compare(0, 7, "http://") == 0) { in ReportSuccess()
449 IssueCallback(url); in ReportSuccess()
451 LOG(ERROR) << "p2p URL '" << url << "' does not look right. Ignoring."; in ReportSuccess()
Dlibcurl_http_fetcher.h54 void BeginTransfer(const std::string& url) override;
135 virtual void ResumeTransfer(const std::string& url);
Dchrome_browser_proxy_resolver.h37 ProxyRequestId GetProxiesForUrl(const std::string& url,
Dbinder_service_android.cc94 const android::String16& url, in applyPayload() argument
98 const std::string payload_url{android::String8{url}.string()}; in applyPayload()
Dbinder_service_android.h52 const android::String16& 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;
/system/update_engine/common/
Dfile_fetcher.cc44 bool FileFetcher::SupportedUrl(const string& url) { in SupportedUrl() argument
47 url, "file:///", base::CompareCase::INSENSITIVE_ASCII); in SupportedUrl()
57 void FileFetcher::BeginTransfer(const string& url) { in BeginTransfer() argument
60 if (!SupportedUrl(url)) { in BeginTransfer()
61 LOG(ERROR) << "Unsupported file URL: " << url; in BeginTransfer()
70 string 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.h70 void ResolveProxiesForUrl(const std::string& url,
90 virtual void BeginTransfer(const std::string& url) = 0;
Dhttp_fetcher_unittest.cc472 void StartTransfer(HttpFetcher* http_fetcher, const string& url) { in StartTransfer() argument
473 http_fetcher->BeginTransfer(url); in StartTransfer()
1022 const string& url, in RedirectTest() argument
1032 LocalServerUrlForPath(server->GetPort(), url))); in RedirectTest()
1053 const string url = base::StringPrintf( in TYPED_TEST() local
1055 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
1066 string url; in TYPED_TEST() local
1068 url += base::StringPrintf("/redirect/%d", in TYPED_TEST()
1071 url += base::StringPrintf("/download/%d", kMediumLength); in TYPED_TEST()
1072 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
[all …]
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/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.aidl24 void applyPayload(String url, in applyPayload() argument
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/
Dbuild.gradle6 maven { url 'https://maven.google.com' }

12