Home
last modified time | relevance | path

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

1234

/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.js121 url: 'http://127.0.0.1', property
146 url: 'http://127.0.0.1', property
164 url: 'http://127.0.0.1' property
182 url: 'http://127.0.0.1' property
201 url: 'http://127.0.0.1', property
226 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/test.txt', property
272 url: '', property
290 url: 'https://gitee.com/openharmony/request_request', property
309 url: 'https://gitee.com/openharmony/request_request', property
399 url: 'http://127.0.0.1', property
[all …]
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_mms_pdu.cpp49 for (std::string url : dbUrls) { in DeleteMmsPdu() local
50 predicates.EqualTo(ID, url); in DeleteMmsPdu()
128 std::vector<std::string> NAPIMmsPdu::SplitUrl(std::string url) in SplitUrl() argument
131 while (url.size() > 0) { in SplitUrl()
132 size_t locate = url.find_first_of(','); in SplitUrl()
136 dbUrls.push_back(url.substr(0, locate)); in SplitUrl()
137 url = url.substr(locate + 1); in SplitUrl()
152 for (std::string url : dbUrls) { in QueryMmsPdu() local
153 urlData.append(url + ','); in QueryMmsPdu()
157 predicates.EqualTo(ID, url); in QueryMmsPdu()
/base/web/webview/ohos_nweb/include/
Dnweb_cookie_manager.h82 virtual void ReturnCookie(const std::string &url,
92 virtual std::string ReturnCookie(const std::string &url,
103 virtual void SetCookie(const std::string &url,
115 virtual int SetCookie(const std::string &url,
174 virtual void ConfigCookie(const std::string& url,
Dnweb_handler.h189 std::string url; member
242 virtual void OnPageLoadEnd(int httpStatusCode, const std::string& url) {} in OnPageLoadEnd() argument
250 virtual void OnPageLoadBegin(const std::string& url) {} in OnPageLoadBegin() argument
280 virtual void OnResource(const std::string& url) {} in OnResource() argument
399 virtual bool OnAlertDialogByJS(const std::string& url, in OnAlertDialogByJS() argument
415 virtual bool OnBeforeUnloadByJS(const std::string& url, in OnBeforeUnloadByJS() argument
432 virtual bool OnPromptDialogByJS(const std::string& url, in OnPromptDialogByJS() argument
449 virtual bool OnConfirmDialogByJS(const std::string& url, in OnConfirmDialogByJS() argument
490 virtual void OnRefreshAccessedHistory(const std::string& url, bool isReload) {} in OnRefreshAccessedHistory() argument
582 virtual void OnPageVisible(const std::string& url) {} in OnPageVisible() argument
/base/telephony/sms_mms/services/mms/
Dmms_persist_helper.cpp66 for (std::string url : dbUrls) { in DeleteMmsPdu() local
67 predicates.EqualTo("id", url); in DeleteMmsPdu()
143 std::vector<std::string> MmsPersistHelper::SplitUrl(std::string url) in SplitUrl() argument
146 while (url.size() > 0) { in SplitUrl()
147 size_t locate = url.find_first_of(','); in SplitUrl()
151 dbUrls.push_back(url.substr(0, locate)); in SplitUrl()
152 url = url.substr(locate + 1); in SplitUrl()
167 for (std::string url : dbUrls) { in QueryMmsPdu() local
171 predicates.EqualTo(ID, url); in QueryMmsPdu()
/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);
/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.cpp140 curl_easy_setopt(curl, CURLOPT_URL, config_->url.c_str()); in SetNetworkOpt()
150 if (config_->url.find("https") != 0) { in SetSslOpt()
322 for (auto url : curlArray_) { in ClearCurlResource() local
323 curl_multi_remove_handle(curlMulti_, url); in ClearCurlResource()
324 curl_easy_cleanup(url); in ClearCurlResource()
356 std::shared_ptr<CUrlAdp> url = fData->adp; in ProgressCallback() local
357 std::lock_guard<std::mutex> lock(url->curlMutex_); in ProgressCallback()
369 if (url->uploadTask_) { in ProgressCallback()
371 for (auto &vmem : url->fileDatas_) { in ProgressCallback()
390 std::shared_ptr<CUrlAdp> url = fData->adp; in HeaderCallback() local
[all …]
/base/web/webview/test/fuzztest/load_fuzzer/
Dload_fuzzer.cpp32 std::string url((const char *)data, size); in LoadFuzzTest() local
33 g_nweb->Load(url); in LoadFuzzTest()
/base/request/request/test/unittest/js_test/requestAgentTaskTest/entry/src/main/ets/test/
DRequestCreateTask.test.ets67 url: 'http://127.0.0.1',
92 url: 'http://127.0.0.1'
117 url: 'http://127.0.0.1'
144 url: 'http://127.0.0.1',
166 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/test.txt',
185 * @tc.desc: Test create task when lack url
209 * @tc.desc: Test create task when url is empty
218 url: '',
234 * @tc.desc: Test create task when url is not support download
243 url: 'https://gitee.com/openharmony/request_request',
[all …]
DRequestOperateTask.test.ets71 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/test.txt',
94 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/test.txt',
121 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/test.txt',
145 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/test.txt',
172 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/test.txt',
200 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/test.txt',
227 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/test.txt',
255url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/large_test.zip',
265 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/test.txt',
304 url: 'https://gitee.com/tiga-ultraman/downloadTests/releases/download/v1.01/test.txt',
[all …]
/base/web/webview/test/fuzztest/loadurl_fuzzer/
Dloadurl_fuzzer.cpp32 std::string url((const char *)data, size); in LoadUrlFuzzTest() local
34 g_nweb->Load(url, additionalHttpHeaders); in LoadUrlFuzzTest()
/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/web/webview/interfaces/kits/napi/webviewcontroller/
Dweb_download_item.cpp27 url(""), in WebDownloadItem()
53 url(""), in WebDownloadItem()
75 this->url = std::string(WebDownloadItem_Url(downloadItem)); in WebDownloadItem()
/base/request/request/services/service/request/src/task/
Dffi.rs29 pub(crate) url: CStringWrapper, field
131 pub(crate) url: CStringWrapper, field
151 url: CStringWrapper::from(&self.url), in to_c_struct()
183 url: c_struct.url.to_string(), in from_c_struct()
266 url: CStringWrapper::from(&self.url), in to_c_struct()
309 url: c_struct.url.to_string(), in from_c_struct()
/base/request/request/services/service/request/src/manager/events/
Ddump.rs28 url: task.conf.url.clone(), in query_one_task()
/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/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/web/webview/interfaces/kits/napi/webcookiemanager/
Dnapi_web_cookie_manager.cpp126 void FetchCookieAsyncCallback(napi_env env, napi_ref jsCallback, std::string url) in FetchCookieAsyncCallback() argument
134 cookieManager->ReturnCookie(url, callbackImpl); in FetchCookieAsyncCallback()
138 void FetchCookieAsyncPromise(napi_env env, napi_deferred deferred, std::string url) in FetchCookieAsyncPromise() argument
147 cookieManager->ReturnCookie(url, callbackImpl); in FetchCookieAsyncPromise()
165 std::string url; in JsFetchCookieAsync() local
166 if (!GetStringPara(env, argv[INTEGER_ZERO], url)) { in JsFetchCookieAsync()
185 FetchCookieAsyncCallback(env, jsCallback, url); in JsFetchCookieAsync()
194 FetchCookieAsyncPromise(env, deferred, url); in JsFetchCookieAsync()
212 std::string url; in JsGetCookie() local
213 if (!GetStringPara(env, argv[INTEGER_ZERO], url)) { in JsGetCookie()
[all …]
/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/services/service/request/c_wrapper/include/
Dc_task_config.h57 CStringWrapper url; member
79 std::string url; member
Dc_task_info.h58 CStringWrapper url; member
76 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());

1234