Home
last modified time | relevance | path

Searched refs:origins (Results 1 – 9 of 9) sorted by relevance

/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/getoriginbypermission_fuzzer/
Dgetoriginbypermission_fuzzer.cpp32 std::vector<std::string> origins; in DoSomethingInterestingWithMyAPI() local
35 origins.push_back(origin1); in DoSomethingInterestingWithMyAPI()
36 origins.push_back(origin2); in DoSomethingInterestingWithMyAPI()
37 OhosWebPermissionDataBaseAdapterImpl::GetInstance().GetOriginsByPermission(key, origins); in DoSomethingInterestingWithMyAPI()
/base/hiviewdfx/hiview/base/utility/test/unittest/common/
Dbase_utility_unit_test.cpp51 std::vector<std::string> origins; variable
52 origins.emplace_back("1");
53 origins.emplace_back("2");
54 origins.emplace_back("3");
56 auto ret = StringUtil::ConvertVectorToStr(origins, split);
/base/web/webview/test/unittest/ohos_adapter/permission_data_base_adapter_test/
Dpermission_data_base_adapter_test.cpp256 std::vector<std::string> origins; variable
258 dataBase.GetOriginsByPermission(WebPermissionType::NONE_TYPE, origins);
259 dataBase.GetOriginsByPermission(WebPermissionType::GEOLOCATION, origins);
261 g_dataBaseNull->GetOriginsByPermission(WebPermissionType::GEOLOCATION, origins);
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/include/
Dohos_web_permission_data_base_adapter_impl.h55 …void GetOriginsByPermission(const WebPermissionType& key, std::vector<std::string>& origins) const…
/base/web/webview/ohos_adapter/interfaces/
Dohos_web_data_base_adapter.h62 … GetOriginsByPermission(const WebPermissionType& key, std::vector<std::string>& origins) const = 0;
/base/web/webview/interfaces/kits/napi/webdatabase/
Dnapi_geolocation_permission.cpp39 std::vector<std::string> origins; member
346 for (uint32_t i = 0; i < param->origins.size(); i++) { in GetOriginComplete()
347 std::string str = param->origins[i]; in GetOriginComplete()
376 for (uint32_t i = 0; i < param->origins.size(); i++) { in GetOriginsPromiseComplete()
377 std::string str = param->origins[i]; in GetOriginsPromiseComplete()
403 …param->origins = dataBase->GetOriginsByPermission(OHOS::NWeb::NWebDataBase::WebPermissionType::GEO… in ExecuteGetOrigins()
/base/web/webview/interfaces/kits/napi/webstorage/
Dnapi_web_storage.cpp128 std::vector<OHOS::NWeb::NWebWebStorageOrigin> origins = web_storage->GetOrigins(); in ExecuteGetOrigins() local
129 for (auto origin : origins) { in ExecuteGetOrigins()
134 param->origins.push_back(napiOrigin); in ExecuteGetOrigins()
136 param->errCode = param->origins.empty() ? NWebError::NO_WEBSTORAGE_ORIGIN : INTERFACE_OK; in ExecuteGetOrigins()
180 GetNapiWebStorageOriginForResult(env, param->origins, setResult[PARAMONE]); in GetOriginComplete()
204 GetNapiWebStorageOriginForResult(env, param->origins, setResult[PARAMONE]); in GetOriginsPromiseComplete()
Dnapi_web_storage.h50 std::vector<NapiWebStorageOrigin> origins; member
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/src/
Dohos_web_permission_data_base_adapter_impl.cpp224 std::vector<std::string>& origins) const in GetOriginsByPermission()
246 origins.push_back(origin); in GetOriginsByPermission()