/system/update_engine/ |
D | test_http_server.cc | 77 string url; member 111 request->url = terms[1]; in ParseRequest() 112 LOG(INFO) << "URL: " << request->url; in ParseRequest() 381 string url = request.url; in HandleRedirect() local 382 CHECK_EQ(static_cast<size_t>(0), url.find("/redirect/")); in HandleRedirect() 383 url.erase(0, strlen("/redirect/")); in HandleRedirect() 384 string::size_type url_start = url.find('/'); in HandleRedirect() 386 HttpResponseCode code = StringToHttpResponseCode(url.c_str()); in HandleRedirect() 387 url.erase(0, url_start); in HandleRedirect() 388 url = "http://" + request.host + url; in HandleRedirect() [all …]
|
D | chrome_browser_proxy_resolver.cc | 73 bool ChromeBrowserProxyResolver::GetProxiesForUrl(const string& url, in GetProxiesForUrl() argument 79 url.c_str(), in GetProxiesForUrl() 87 callbacks_.insert(make_pair(url, make_pair(callback, data))); in GetProxiesForUrl() 92 url), in GetProxiesForUrl() 94 timers_.insert(make_pair(url, timer)); in GetProxiesForUrl()
|
D | proxy_resolver.h | 49 virtual bool GetProxiesForUrl(const std::string& url, 62 bool GetProxiesForUrl(const std::string& url,
|
D | chrome_browser_proxy_resolver.h | 46 bool GetProxiesForUrl(const std::string& url, 78 bool DeleteUrlState(const std::string& url,
|
D | fake_p2p_manager.h | 113 void SetLookupUrlForFileResult(const std::string& url) { in SetLookupUrlForFileResult() argument 114 lookup_url_for_file_result_ = url; in SetLookupUrlForFileResult()
|
D | p2p_manager.cc | 428 void IssueCallback(const string& url) { in IssueCallback() argument 430 callback_.Run(url); in IssueCallback() 443 string url = output; in ReportSuccess() local 444 size_t newline_pos = url.find('\n'); in ReportSuccess() 446 url.resize(newline_pos); in ReportSuccess() 451 if (url.compare(0, 7, "http://") == 0) { in ReportSuccess() 452 IssueCallback(url); in ReportSuccess() 454 LOG(ERROR) << "p2p URL '" << url << "' does not look right. Ignoring."; in ReportSuccess()
|
/system/update_engine/common/ |
D | file_fetcher.cc | 44 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()
|
D | file_fetcher.h | 39 static bool SupportedUrl(const std::string& url); 52 void BeginTransfer(const std::string& url) override;
|
D | http_fetcher.cc | 49 bool HttpFetcher::ResolveProxiesForUrl(const string& url, in ResolveProxiesForUrl() argument 62 return proxy_resolver_->GetProxiesForUrl(url, in ResolveProxiesForUrl()
|
D | http_fetcher_unittest.cc | 455 void StartTransfer(HttpFetcher* http_fetcher, const string& url) { in StartTransfer() argument 456 http_fetcher->BeginTransfer(url); in StartTransfer() 924 const string& url, in RedirectTest() argument 933 LocalServerUrlForPath(server->GetPort(), url))); in RedirectTest() 954 const string url = base::StringPrintf("/redirect/%d/download/%d", in TYPED_TEST() local 957 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST() 968 string url; in TYPED_TEST() local 970 url += base::StringPrintf("/redirect/%d", in TYPED_TEST() 973 url += base::StringPrintf("/download/%d", kMediumLength); in TYPED_TEST() 974 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST() [all …]
|
/system/extras/multinetwork/ |
D | quick_test.sh | 44 for url in $urls; do 45 echo "$PREFIX Checking $url" >&2 46 adb shell /system/xbin/httpurl --nethandle $nethandle "$url"
|
/system/webservd/webservd/ |
D | protocol_handler.cc | 43 const char* url, in ConnectionHandler() argument 51 std::string request_handler_id = handler->FindRequestHandler(url, method); in ConnectionHandler() 53 request_handler_id, url, method, version, connection, handler in ConnectionHandler() 98 const std::string& url, in AddRequestHandler() argument 103 HandlerMapEntry{url, method, std::move(handler)}); in AddRequestHandler() 112 const base::StringPiece& url, in FindRequestHandler() argument 117 std::string handler_url = pair.second.url; in FindRequestHandler() 118 bool url_match = (handler_url == url); in FindRequestHandler() 129 if (url.starts_with(handler_url)) { in FindRequestHandler() 134 current_score = (url.size() - handler_url.size()) * 2; in FindRequestHandler()
|
D | protocol_handler.h | 49 const std::string& url, 59 std::string FindRequestHandler(const base::StringPiece& url, 103 std::string url; member
|
/system/connectivity/shill/test-scripts/ |
D | set-portal-url | 9 (_, url) = sys.argv 12 flim.SetPortalURL(url)
|
/system/core/crash_reporter/ |
D | list_proxies.cc | 234 static bool ShowBrowserProxies(std::string url, base::TimeDelta timeout) { in ShowBrowserProxies() argument 236 ProxyResolver resolver(url, in ShowBrowserProxies() 286 std::string url; in main() local 289 url = urls[0]; in main() 290 LOG(INFO) << "Resolving proxies for URL: " << url; in main() 295 if (!ShowBrowserProxies(url, base::TimeDelta::FromSeconds(timeout))) { in main()
|
D | crash_sender | 324 local url="$(get_key_value "${OSRELEASED_FOLDER}" "crash_server")" 338 if [ -z "${url}" ]; then 427 lecho " URL: ${url}" 455 proxy=$("${LIST_PROXIES}" --quiet "${url}") 470 curl "${url}" -f -v ${proxy:+--proxy "$proxy"} \
|
/system/connectivity/shill/ |
D | http_request.cc | 94 const HTTPURL& url, in Start() argument 103 url.path().c_str(), in Start() 104 url.host().c_str(), in Start() 105 url.port()), false); in Start() 106 server_hostname_ = url.host(); in Start() 107 server_port_ = url.port(); in Start()
|
D | connection_health_checker.cc | 137 HTTPURL url; in AddRemoteURL() local 138 if (!url.ParseFromString(url_string)) { in AddRemoteURL() 143 if (url.port() != kRemotePort) { in AddRemoteURL() 146 << " to port 80, requested " << url.port() in AddRemoteURL() 160 if (!dns_clients_[i]->Start(url.host(), &error)) { in AddRemoteURL()
|
/system/webservd/libwebserv/ |
D | protocol_handler.h | 90 virtual int AddHandler(const std::string& url, 96 const std::string& url,
|
D | request_fake.h | 38 RequestFake(const std::string& url, const std::string& method) in RequestFake() argument 39 : Request(url, method) {} in RequestFake()
|
D | dbus_protocol_handler.h | 66 int AddHandler(const std::string& url, 71 const std::string& url, 87 std::string url; member
|
D | dbus_protocol_handler.cc | 108 const std::string& url, in AddHandler() argument 113 HandlerMapEntry{url, method, in AddHandler() 120 url, in AddHandler() 135 const std::string& url, in AddHandlerCallback() argument 141 return AddHandler(url, method, std::move(handler)); in AddHandlerCallback() 164 pair.second.url, in Connect()
|
/system/connectivity/shill/cellular/ |
D | mobile_operator_info.cc | 199 pp_result << "(url: " << olp.url << ", method: " << olp.method in olp_list() 250 void MobileOperatorInfo::UpdateOnlinePortal(const string& url, in UpdateOnlinePortal() argument 254 << "(" << url in UpdateOnlinePortal() 257 impl_->UpdateOnlinePortal(url, method, post_data); in UpdateOnlinePortal()
|
D | cellular_service.cc | 424 void CellularService::SetOLP(const string& url, in SetOLP() argument 428 olp[kPaymentPortalURL] = url; in SetOLP() 439 void CellularService::SetUsageURL(const string& url) { in SetUsageURL() argument 440 if (url == usage_url_) { in SetUsageURL() 443 usage_url_ = url; in SetUsageURL() 444 adaptor()->EmitStringChanged(kUsageURLProperty, url); in SetUsageURL()
|
D | mobile_operator_info_impl.cc | 352 void MobileOperatorInfoImpl::UpdateOnlinePortal(const string& url, in UpdateOnlinePortal() argument 356 user_olp_.url == url && in UpdateOnlinePortal() 363 user_olp_.url = url; in UpdateOnlinePortal() 392 user_olp_.url.clear(); in Reset() 924 raw_olp.url(), in HandleOnlinePortalUpdate() 932 append_user_olp &= (olp.url != user_olp_.url || in HandleOnlinePortalUpdate()
|