Home
last modified time | relevance | path

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

123

/base/update/updateservice/services/firmware/data/db/src/
Dfirmware_component_operator.cpp22 bool FirmwareComponentOperator::UpdateProgressByUrl(const std::string &url, UpgradeStatus status, i… in UpdateProgressByUrl() argument
29 predicates.EqualTo(COLUMN_COMPONENT_DOWNLOAD_URL, url); in UpdateProgressByUrl()
33 …rmwareComponentOperator::UpdateUrlByVersionId(const std::string &versionId, const std::string &url) in UpdateUrlByVersionId() argument
36 values.PutString(COLUMN_COMPONENT_DOWNLOAD_URL, url); in UpdateUrlByVersionId()
55 bool FirmwareComponentOperator::QueryByUrl(const std::string &url, FirmwareComponent &component) in QueryByUrl() argument
59 predicates.EqualTo(COLUMN_COMPONENT_DOWNLOAD_URL, url); in QueryByUrl()
Dfirmware_component_operator_empty.cpp37 bool FirmwareComponentOperator::UpdateProgressByUrl(const std::string &url, UpgradeStatus status, i… in UpdateProgressByUrl() argument
42 …rmwareComponentOperator::UpdateUrlByVersionId(const std::string &versionId, const std::string &url) in UpdateUrlByVersionId() argument
52 bool FirmwareComponentOperator::QueryByUrl(const std::string &url, FirmwareComponent &component) in QueryByUrl() argument
/base/request/request/test/unittest/js_test/requestTest/
DRequestTask.test.js72 url: 'http://127.0.0.1', property
99 url: 'http://127.0.0.1' property
126 url: 'http://127.0.0.1' property
150 url: 'http://127.0.0.1', property
172 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk', property
224 url: '', property
246 url: 'https://gitee.com/openharmony/request_request', property
270 url: 'https://gitee.com/openharmony/request_request', property
295 url: 'http://127.0.0.1', property
318 url: 'http://127.0.0.1', property
[all …]
/base/web/webview/ohos_nweb/include/
Dnweb_cookie_manager.h82 virtual void ReturnCookie(const std::string &url,
91 virtual std::string ReturnCookie(const std::string &url, bool &is_valid) = 0;
100 virtual void SetCookie(const std::string &url,
111 virtual int SetCookie(const std::string &url,
Dnweb_handler.h177 virtual void OnPageLoadEnd(int httpStatusCode, const std::string& url) {} in OnPageLoadEnd() argument
185 virtual void OnPageLoadBegin(const std::string& url) {} in OnPageLoadBegin() argument
215 virtual void OnResource(const std::string& url) {} in OnResource() argument
331 virtual bool OnAlertDialogByJS(const std::string& url, in OnAlertDialogByJS() argument
347 virtual bool OnBeforeUnloadByJS(const std::string& url, in OnBeforeUnloadByJS() argument
364 virtual bool OnPromptDialogByJS(const std::string& url, in OnPromptDialogByJS() argument
381 virtual bool OnConfirmDialogByJS(const std::string& url, in OnConfirmDialogByJS() argument
422 virtual void OnRefreshAccessedHistory(const std::string& url, bool isReload) {} in OnRefreshAccessedHistory() argument
514 virtual void OnPageVisible(const std::string& url) {} in OnPageVisible() argument
Dnweb_download_callback.h38 virtual void OnDownloadStart(const std::string& url,
/base/update/updateservice/services/firmware/data/db/include/
Dfirmware_component_operator.h46 bool UpdateProgressByUrl(const std::string &url, UpgradeStatus status, int32_t progress);
47 bool UpdateUrlByVersionId(const std::string &versionId, const std::string &url);
49 bool QueryByUrl(const std::string &url, FirmwareComponent &component);
Dfirmware_component.h45 std::string url; member
74 .append("url=").append(url).append(",") in ToString()
/base/update/update_app/feature/ota/src/main/ets/util/
DRouterUtils.ts49 router.replace({ url: 'pages/index' });
56 router.push({ url: 'pages/newVersion' });
63 router.push({ url: 'pages/currentVersion' });
/base/request/request/frameworks/js/napi/src/upload/
Dcurl_adp.cpp139 curl_easy_setopt(curl, CURLOPT_URL, config_->url.c_str()); in SetNetworkOpt()
149 if (config_->url.find("https") != 0) { in SetSslOpt()
321 for (auto url : curlArray_) { in ClearCurlResource() local
322 curl_multi_remove_handle(curlMulti_, url); in ClearCurlResource()
323 curl_easy_cleanup(url); in ClearCurlResource()
355 std::shared_ptr<CUrlAdp> url = fData->adp; in ProgressCallback() local
356 std::lock_guard<std::mutex> lock(url->curlMutex_); in ProgressCallback()
368 if (url->uploadTask_) { in ProgressCallback()
370 for (auto &vmem : url->fileDatas_) { in ProgressCallback()
389 std::shared_ptr<CUrlAdp> url = fData->adp; in HeaderCallback() local
[all …]
/base/request/request/test/unittest/common/napi/requestTest/
DRequestJsunit.test.js52 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property
103 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property
148url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/large_test.zip', property
198 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property
247 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.pngkfkew', property
261 downloadConfig.url += '123456'
292 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property
330 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property
368 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property
407 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property
[all …]
/base/request/request/test/unittest/js_test/requestAgentTaskTest/entry/src/main/ets/test/
DRequestCreateTask.test.ets67 url: 'http://127.0.0.1',
89 url: 'http://127.0.0.1'
111 url: 'http://127.0.0.1'
135 url: 'http://127.0.0.1',
154 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
172 * @tc.desc: Test create task when lack url
193 * @tc.desc: Test create task when url is empty
200 url: '',
215 * @tc.desc: Test create task when url is not support download
222 url: 'https://gitee.com/openharmony/request_request',
[all …]
DRequestOperateTask.test.ets68 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
88 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
112 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
133 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
157 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
182 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
206 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
233 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/large_test.zip',
249 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
275 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
[all …]
/base/update/updateservice/services/firmware/upgrade/executor/src/
Dfirmware_download_executor.cpp75 downloadInfo.versionId = component.url; in PerformDownload()
76 downloadInfo.url = component.url; in PerformDownload()
96 DownloadCallback(downloadInfo.url, downloadFileName, progress0); in PerformDownload()
104 int32_t ret = downloadThread_->StartDownload(downloadFileName, downloadInfo.url); in PerformDownload()
/base/request/request/services/service/rust/src/
Dtask_info.rs21 pub url: String, field
97 pub url: CStringWrapper, field
152 url: CStringWrapper::from(&self.url), in to_c_struct()
174 url: c_struct.url.to_string(), in from_c_struct()
/base/update/updateservice/services/core/ability/download/data/include/
Ddownload_info.h36 std::string url; member
61 .append("url=").append(EncryptUtils::EncryptUrl(url)).append(",") in ToString()
/base/update/updateservice/services/core/ability/utils/include/
Dencrypt_utils.h43 static std::string EncryptUrl(const std::string &url) in EncryptUrl() argument
45 std::string encryptUrl = url; in EncryptUrl()
/base/request/request/test/unittest/js_test/requestQueryTaskTest/entry/src/main/ets/test/
DRequestQuery.test.ets142 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
151 …expect(info.url).assertEqual('https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/tes…
187 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
195 …expect(info.url).assertEqual('https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/tes…
228 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
341 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
369 url: 'http://127.0.0.1',
382 expect(info.url).assertEqual('http://127.0.0.1');
420 url: 'http://127.0.0.1',
429 expect(info.url).assertEqual('http://127.0.0.1');
[all …]
/base/request/request/services/service/rust/src/c_wrapper/include/
Dc_task_info.h56 CStringWrapper url; member
74 std::string url; member
/base/web/webview/test/unittest/nweb_url_resource_response_test/
Dnweb_url_resource_response_test.cpp134 std::string url = "web_test"; variable
135 webResonse->PutResponseResourceUrl(url);
137 EXPECT_STREQ(resourceUrl.c_str(), url.c_str());
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_controller.cpp488 ErrCode WebviewController::LoadUrl(std::string url) in LoadUrl() argument
494 return nweb_ptr->Load(url); in LoadUrl()
497 ErrCode WebviewController::LoadUrl(std::string url, std::map<std::string, std::string> httpHeaders) in LoadUrl() argument
503 return nweb_ptr->Load(url, httpHeaders); in LoadUrl()
719 std::string url = ""; in GetUrl() local
722 url = nweb_ptr->GetUrl(); in GetUrl()
724 return url; in GetUrl()
729 std::string url = ""; in GetOriginalUrl() local
732 url = nweb_ptr->GetOriginalUrl(); in GetOriginalUrl()
734 return url; in GetOriginalUrl()
[all …]
/base/request/request/test/unittest/js_test/requestSystemQueryTest/entry/src/main/ets/test/
DRequestSystemQuery.test.ets68 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
93 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
112 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
137 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
240 url: 'http://127.0.0.1',
252 expect(info.url).assertEqual("");
287 url: 'https://gitee.com/chenzhixue/downloadTest/releases/download/v1.0/test.apk',
295 expect(info.url).assertEqual("");
/base/update/updateservice/services/firmware/utils/src/
Dfirmware_check_analyze_utils.cpp99 ret += JsonUtils::GetValueAndSetTo(result, "url", version.url); in AnalyzeBlVersionCheckResults()
119 ret += JsonUtils::GetValueAndSetTo(result, "url", component.url); in AnalyzeComponents()
122 component.fileName = StringUtils::GetLastSplitString(component.url, "/"); in AnalyzeComponents()
/base/web/webview/test/fuzztest/load_fuzzer/
Dload_fuzzer.cpp111 std::string url((const char *)data, size); in DoSomethingInterestingWithMyAPI() local
112 g_nweb->Load(url); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/loadurl_fuzzer/
Dloadurl_fuzzer.cpp111 std::string url((const char *)data, size); in DoSomethingInterestingWithMyAPI() local
113 g_nweb->Load(url, additionalHttpHeaders); in DoSomethingInterestingWithMyAPI()

123