Home
last modified time | relevance | path

Searched full:url (Results 1 – 25 of 45) sorted by relevance

12

/system/update_engine/
Dtest_http_server.cc23 // GET a url.
73 string url; member
102 // Decode URL line. in ParseRequest()
106 request->url = terms[1]; in ParseRequest()
107 LOG(INFO) << "URL: " << request->url; in ParseRequest()
380 // Handles /redirect/<code>/<url> requests by returning the specified
381 // redirect <code> with a location pointing to /<url>.
384 string url = request.url; in HandleRedirect() local
385 CHECK_EQ(static_cast<size_t>(0), url.find("/redirect/")); in HandleRedirect()
386 url.erase(0, strlen("/redirect/")); in HandleRedirect()
[all …]
Dsample_omaha_v3_response.xml8 <url codebase="http://dl.google.com/chromeos/caroline/10323.52.0/beta-channel/"/>
9 <url codebase="https://dl.google.com/chromeos/caroline/10323.52.0/beta-channel/"/>
Dlibcurl_http_fetcher.h96 void BeginTransfer(const std::string& url) override;
187 virtual void ResumeTransfer(const std::string& url);
224 // Sets the curl options for HTTP URL.
227 // Sets the curl options for HTTPS URL.
233 // Convert a proxy URL into a curl proxy type, if applicable. Returns true iff
Dlibcurl_http_fetcher_unittest.cc89 libcurl_fetcher_.BeginTransfer("not-a-URL"); in TEST_F()
102 libcurl_fetcher_.BeginTransfer("https://An-uNres0lvable-uRl.invalid"); in TEST_F()
139 libcurl_fetcher_.BeginTransfer("https://An-uNres0lvable-uRl.invalid"); in TEST_F()
/system/update_engine/common/
Dfile_fetcher.cc42 bool FileFetcher::SupportedUrl(const string& url) { in SupportedUrl() argument
44 return (android::base::StartsWith(ToLower(url), "file:///") || in SupportedUrl()
45 android::base::StartsWith(ToLower(url), "fd://")); in SupportedUrl()
55 void FileFetcher::BeginTransfer(const string& url) { in BeginTransfer() argument
58 if (!SupportedUrl(url)) { in BeginTransfer()
59 LOG(ERROR) << "Unsupported file URL: " << url; in BeginTransfer()
60 // No HTTP error code when the URL is not supported. in BeginTransfer()
70 if (android::base::StartsWith(ToLower(url), "fd://")) { in BeginTransfer()
71 int fd = std::stoi(url.substr(strlen("fd://"))); in BeginTransfer()
72 file_path = url; in BeginTransfer()
[all …]
Dplatform_constants.h23 // The default URL used by all products when running in normal mode. The AUTest
24 // URL is used when testing normal images against the alternative AUTest server.
25 // Note that the URL can be override in run-time in certain cases.
Dfile_fetcher.h37 // Returns whether the passed url is supported.
38 static bool SupportedUrl(const std::string& url);
51 void BeginTransfer(const std::string& url) override;
Ddownload_action.h34 // The Download Action downloads a specified url to disk. The url should point
153 // Offset of the payload in the download URL, used by UpdateAttempterAndroid.
Dhttp_fetcher_unittest.cc473 void StartTransfer(HttpFetcher* http_fetcher, const string& url) { in StartTransfer() argument
474 http_fetcher->BeginTransfer(url); in StartTransfer()
1008 const string& url, in RedirectTest() argument
1018 LocalServerUrlForPath(server->GetPort(), url))); in RedirectTest()
1038 const string url = android::base::StringPrintf( in TYPED_TEST() local
1040 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
1051 string url; in TYPED_TEST() local
1053 url += android::base::StringPrintf( in TYPED_TEST()
1056 url += android::base::StringPrintf("/download/%d", kMediumLength); in TYPED_TEST()
1057 RedirectTest(server.get(), true, url, this->test_.NewLargeFetcher()); in TYPED_TEST()
[all …]
Dconstants.h52 "current-url-failure-count";
53 static constexpr const auto& kPrefsCurrentUrlIndex = "current-url-index";
149 static constexpr const auto& kPrefsUrlSwitchCount = "url-switch-count";
179 // Proxy URL to use for downloading OTA. This will be forwarded to libcurl
214 // Proxy URL for direction connection
Dmulti_range_http_fetcher.cc26 // Begins the transfer to the specified URL.
29 void MultiRangeHttpFetcher::BeginTransfer(const std::string& url) { in BeginTransfer() argument
40 url_ = url; in BeginTransfer()
Dhttp_fetcher.h90 // Begins the transfer to the specified URL. This fetcher instance should not
93 virtual void BeginTransfer(const std::string& url) = 0;
144 // The URL we're actively fetching from
Dmulti_range_http_fetcher.h73 // Begins the transfer to the specified URL.
76 void BeginTransfer(const std::string& url) override;
/system/cros-codecs/ci/
Dtemplate.yaml23url: https://storage.chromeos.kernelci.org/images/kernel/cros---chromeos-6.1-x86_64-chromiumos-x86…
26url: https://storage.chromeos.kernelci.org/images/kernel/cros---chromeos-6.1-x86_64-chromiumos-x86…
29url: https://storage.kernelci.org/images/rootfs/debian/bullseye-gst-fluster/20231117.0/amd64/full.…
33url: https://storage.kernelci.org/images/rootfs/debian/bullseye-gst-fluster/20231117.0/amd64/initr…
/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/update_engine/payload_consumer/
Dinstall_plan_unittest.cc25 install_plan.download_url = "foo-download-url"; in TEST()
52 initial url: foo-download-url in TEST()
/system/core/diagnose_usb/
Ddiagnose_usb.cpp46 // We can't give any generally useful advice here, just let the caller print the help URL. in GetUdevProblem()
82 // no permissions (reason); see [URL]
95 // See [URL] for more information
/system/chre/external/kiss_fft/
DMETADATA6 url {
/system/extras/simpleperf/demo/SimpleperfExampleJava/.idea/
Dmisc.xml4 <output url="file://$PROJECT_DIR$/build/classes" />
/system/extras/simpleperf/demo/SimpleperfExampleKotlin/.idea/
Dmisc.xml5 <output url="file://$PROJECT_DIR$/build/classes" />
/system/extras/simpleperf/demo/SimpleperfExampleCpp/.idea/
Dmisc.xml5 <output url="file://$PROJECT_DIR$/build/classes" />
/system/update_engine/aosp/
Dbinder_service_android.cc99 const android::String16& url, in applyPayload() argument
103 const string payload_url{android::String8{url}.c_str()}; in applyPayload()
Dbinder_service_android.h53 const android::String16& url,
/system/extras/simpleperf/scripts/inferno/
Dsvg_renderer.py171 <text clip-path="url(#info_clip_path)" id="info_text" x="%d" y="30"></text>
197 f.write("""<rect x="0.0" y="0" width="100%" height="100%" fill="url(#background_gradiant)" />
/system/update_engine/binder_bindings/android/os/
DIUpdateEngine.aidl25 void applyPayload(String url, in applyPayload() argument

12