Searched refs:origins (Results 1 – 9 of 9) sorted by relevance
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/getoriginbypermission_fuzzer/ |
D | getoriginbypermission_fuzzer.cpp | 32 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/ |
D | base_utility_unit_test.cpp | 51 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/ |
D | permission_data_base_adapter_test.cpp | 256 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/ |
D | ohos_web_permission_data_base_adapter_impl.h | 55 …void GetOriginsByPermission(const WebPermissionType& key, std::vector<std::string>& origins) const…
|
/base/web/webview/ohos_adapter/interfaces/ |
D | ohos_web_data_base_adapter.h | 62 … GetOriginsByPermission(const WebPermissionType& key, std::vector<std::string>& origins) const = 0;
|
/base/web/webview/interfaces/kits/napi/webdatabase/ |
D | napi_geolocation_permission.cpp | 39 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/ |
D | napi_web_storage.cpp | 128 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()
|
D | napi_web_storage.h | 50 std::vector<NapiWebStorageOrigin> origins; member
|
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/src/ |
D | ohos_web_permission_data_base_adapter_impl.cpp | 224 std::vector<std::string>& origins) const in GetOriginsByPermission() 246 origins.push_back(origin); in GetOriginsByPermission()
|