Home
last modified time | relevance | path

Searched refs:GetScheme (Results 1 – 25 of 73) sorted by relevance

123

/ohos5.0/commonlibrary/ets_utils/js_api_module/uri/test/
H A Dtest_napi.cpp39 ASSERT_STREQ(uri.GetScheme().c_str(), "http");
53 ASSERT_STREQ(uri.GetScheme().c_str(), "http");
67 ASSERT_STREQ(uri.GetScheme().c_str(), "http");
81 ASSERT_STREQ(uri.GetScheme().c_str(), "http");
95 ASSERT_STREQ(uri.GetScheme().c_str(), "http");
109 ASSERT_STREQ(uri.GetScheme().c_str(), "http");
123 ASSERT_STREQ(uri.GetScheme().c_str(), "http");
138 ASSERT_STREQ(uri.GetScheme().c_str(), "http");
153 ASSERT_STREQ(uri.GetScheme().c_str(), "http");
251 ASSERT_STREQ(uri.GetScheme().c_str(), "ftp");
[all …]
/ohos5.0/foundation/bundlemanager/app_domain_verify/frameworks/common/src/utils/
H A Ddomain_url_util.cpp32 return (uri.GetScheme() == SCHEMA_HTTPS) && (!uri.GetHost().empty()); in IsValidUrl()
39 std::string UrlUtil::GetScheme(const std::string& url) in GetScheme() function in OHOS::AppDomainVerify::UrlUtil
42 return uri.GetScheme(); in GetScheme()
/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESMatchingSkillsTest/
H A DactsCESMatchingSkillsTest.cpp338 EXPECT_EQ(shceme, matchingSkills.GetScheme(0));
339 EXPECT_EQ(false, shceme == matchingSkills.GetScheme(1000));
370 EXPECT_EQ(shceme, matchingSkills.GetScheme(0));
371 EXPECT_EQ(false, shceme == matchingSkills.GetScheme(1000));
402 EXPECT_EQ(shceme, matchingSkills.GetScheme(0));
403 EXPECT_EQ(false, shceme == matchingSkills.GetScheme(1000));
443 EXPECT_EQ(shceme, matchingSkills.GetScheme(0));
445 EXPECT_EQ(true, "" == matchingSkills.GetScheme(1000));
500 EXPECT_EQ(shceme, matchingSkills.GetScheme(0));
501 EXPECT_EQ(shceme10, matchingSkills.GetScheme(9));
[all …]
/ohos5.0/base/notification/common_event_service/frameworks/native/test/unittest/
H A Dmatching_skills_test.cpp132 EXPECT_EQ(shceme, matchSkills.GetScheme(0));
134 EXPECT_EQ(false, shceme == matchSkills.GetScheme(SET_COUNT));
348 EXPECT_EQ("", matchSkills.GetScheme(index));
366 EXPECT_EQ("", matchSkills.GetScheme(index));
384 EXPECT_EQ("event.unit.test", matchSkills.GetScheme(index));
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Duri_utils.cpp56 auto &&scheme = uri.GetScheme(); in GetUriListFromWantDms()
123 … !abilityRequest.want.GetUriString().empty() && abilityRequest.want.GetUri().GetScheme() == "file"; in CheckNonImplicitShareFileUri()
149 } else if (want.GetUri().GetScheme() == "file") { in GetPermissionedUriList()
163 } else if (uri.GetScheme() != "file") { in GetPermissionedUriList()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/native/remote_uri/
H A Dremote_uri.cpp37 string scheme = remoteUri.GetScheme(); in IsMediaUri()
49 return RemoteUri(uriString).GetScheme() == SCHEME_FILE; in IsFileUri()
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/js/file_uri/
H A Dfile_uri_n_exporter.cpp159 if (!uri.GetScheme().empty()) { in Split()
160 normalizeUri += uri.GetScheme() + ":"; in Split()
322 napi_value FileUriNExporter::GetScheme(napi_env env, napi_callback_info info) in GetScheme() function in OHOS::AppFileService::ModuleFileUri::FileUriNExporter
337 return NVal::CreateUTF8String(env, fileuriEntity->fileUri_.uri_.GetScheme()).val_; in GetScheme()
478 NVal::DeclareNapiGetter("scheme", GetScheme), in Export()
H A Dfile_uri_n_exporter.h40 static napi_value GetScheme(napi_env env, napi_callback_info info);
/ohos5.0/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/src/
H A Dapp_domain_verify_mgr_client.cpp227 if (uri.GetScheme() != SCHEME_HTTPS) { in IsValidUrl()
229 … APP_DOMAIN_VERIFY_MGR_MODULE_CLIENT, "scheme:%{public}s is not https", uri.GetScheme().c_str()); in IsValidUrl()
269 …ret = appDomainVerifyMgrServiceProxy_->IsAtomicServiceUrl(uri.GetScheme() + "://" + uri.GetHost()); in IsAtomicServiceUrl()
/ohos5.0/foundation/ability/ability_runtime/services/dataobsmgr/src/
H A Ddataobs_mgr_inner_ext.cpp40 std::vector<std::string> path = { uri.GetScheme(), uri.GetAuthority() }; in HandleRegisterObserver()
60 std::vector<std::string> path = { uri.GetScheme(), uri.GetAuthority() }; in HandleUnregisterObserver()
91 path.emplace_back(uri.GetScheme()); in HandleNotifyChange()
H A Ddataobs_mgr_service.cpp103 if (const_cast<Uri &>(uri).GetScheme() == SHARE_PREFERENCES) { in RegisterObserver()
132 if (const_cast<Uri &>(uri).GetScheme() == SHARE_PREFERENCES) { in UnregisterObserver()
172 if (const_cast<Uri &>(uri).GetScheme() == SHARE_PREFERENCES) { in NotifyChange()
/ohos5.0/foundation/ability/ability_runtime/service_router_framework/services/srms/src/
H A Dservice_router_data_mgr.cpp162 …if (uri.GetScheme().empty() || uri.GetHost().empty() || uri.GetScheme() != SCHEME_SERVICE_ROUTER) { in GetBusinessType()
/ohos5.0/foundation/bundlemanager/app_domain_verify/frameworks/common/include/utils/
H A Ddomain_url_util.h28 static std::string GetScheme(const std::string& url);
/ohos5.0/base/notification/common_event_service/test/fuzztest/matchingskills_fuzzer/
H A Dmatchingskills_fuzzer.cpp63 matchingSkills.GetScheme(index); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/common_event_service/frameworks/native/src/
H A Dmatching_skills.cpp110 std::string MatchingSkills::GetScheme(size_t index) const in GetScheme() function in OHOS::EventFwk::MatchingSkills
313 …n MatchEvent(want.GetAction()) && MatchEntity(want.GetEntities()) && MatchScheme(want.GetScheme()); in Match()
/ohos5.0/foundation/ability/ability_base/test/unittest/want/
H A Dskills_test.cpp251 EXPECT_EQ(skills1->GetScheme(i), skills1->GetScheme(i)); in CompareSkills()
482 EXPECT_EQ(scheme, base_->GetScheme(0));
680 EXPECT_EQ(empty, base_->GetScheme(0));
933 EXPECT_EQ(schemeString, skills.GetScheme(0));
934 EXPECT_EQ(entityString1, skills.GetScheme(index));
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/uri/include/
H A Duri.h34 std::string GetScheme();
/ohos5.0/base/notification/common_event_service/interfaces/inner_api/
H A Dmatching_skills.h125 std::string GetScheme(size_t index) const;
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/test/
H A Dtest_napi.cpp232 DealNapiStrValue(env, url.GetScheme(env), output);
301 DealNapiStrValue(env, url.GetScheme(env), output);
310 DealNapiStrValue(env, url.GetScheme(env), output);
319 DealNapiStrValue(env, url.GetScheme(env), output);
328 DealNapiStrValue(env, url.GetScheme(env), output);
337 DealNapiStrValue(env, url.GetScheme(env), output);
417 DealNapiStrValue(env, url.GetScheme(env), output);
426 DealNapiStrValue(env, url.GetScheme(env), output);
435 DealNapiStrValue(env, url.GetScheme(env), output);
444 DealNapiStrValue(env, url.GetScheme(env), output);
[all …]
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_matching_skill.cpp96 std::string MatchingSkills::GetScheme(size_t index) const in GetScheme() function in OHOS::EventFwk::MatchingSkills
/ohos5.0/foundation/ability/ability_base/test/fuzztest/wantthird_fuzzer/
H A Dwantthird_fuzzer.cpp44 want->GetScheme(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/commonlibrary/ets_utils/js_api_module/uri/
H A Djs_uri.h115 std::string GetScheme() const;
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmedia_file_uri.cpp155 std::string scheme = uri->GetScheme(); in CalNetworkId()
329 std::string scheme = this->GetScheme(); in IsValid()
408 std::string scheme = uri.GetScheme(); in UriValidCheck()
/ohos5.0/foundation/communication/nfc/services/src/tag/
H A Dndef_har_data_parser.cpp182 std::string scheme = ndefUri.GetScheme(); in ParseUriLink()
252 std::string scheme = ndefUri.GetScheme(); in IsWebUri()
/ohos5.0/foundation/filemanagement/user_file_service/test/unittest/
H A Dexternal_file_access_test.cpp124 std::string scheme = uri.GetScheme(); in ReplaceBundleNameFromPath()

123