Searched refs:apiPath (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/ability/form_fwk/services/form_render_service/src/ |
H A D | form_module_checker.cpp | 34 bool FormModuleChecker::CheckApiAllowList(const std::string& apiPath) in CheckApiAllowList() argument 60 if (CheckApiWithSuffix(apiPath, item)) { in CheckApiAllowList() 68 bool FormModuleChecker::CheckApiWithSuffix(const std::string& apiPath, const std::string& item) in CheckApiWithSuffix() argument 70 if (item.compare(0, apiPath.size(), apiPath) == 0) { in CheckApiWithSuffix() 71 …HILOG_DEBUG("api allowed by allowlist: '%{public}s' matches '%{public}s'", apiPath.c_str(), item.c… in CheckApiWithSuffix() 77 if (apiPath.compare(0, path.size(), path) == 0) { in CheckApiWithSuffix() 78 …HILOG_DEBUG("api allowed by allowlist: '%{public}s' matches '%{public}s'", apiPath.c_str(), item.c… in CheckApiWithSuffix() 95 … apiAllowListChecker = std::make_unique<ApiAllowListChecker>([](const std::string& apiPath) { in CheckModuleLoadable() argument 96 return CheckApiAllowList(apiPath); in CheckModuleLoadable()
|
/ohos5.0/foundation/arkui/napi/test/unittest/ |
H A D | test_ark_api_allowlist.cpp | 173 std::string apiPath = "i18n"; variable 174 if ((*apiAllowListFilter)(apiPath)) { 175 … ArkNativeEngine::CopyPropertyApiFilter(apiAllowListFilter, vm, i18nObj, exportCopy, apiPath); 227 std::string apiPath = "intl"; variable 228 if ((*apiAllowListFilter)(apiPath)) { 229 … ArkNativeEngine::CopyPropertyApiFilter(apiAllowListFilter, vm, intlObj, exportCopy, apiPath);
|
/ohos5.0/foundation/ability/form_fwk/services/form_render_service/include/ |
H A D | form_module_checker.h | 38 static bool CheckApiAllowList(const std::string& apiPath); 40 static bool CheckApiWithSuffix(const std::string& apiPath, const std::string& item);
|
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.cpp | 311 const std::string apiPath = context.moduleName->ToString(context.ecmaVm); in CheckArkApiAllowList() local 312 if ((*apiAllowListChecker)(apiPath)) { in CheckArkApiAllowList() 313 …CopyPropertyApiFilter(apiAllowListChecker, context.ecmaVm, context.exportObj, exportCopy, apiPath); in CheckArkApiAllowList() 322 const std::string& apiPath) in CopyPropertyApiFilter() argument 328 const std::string curPath = apiPath + "." + nameValue->ToString(ecmaVm)->ToString(ecmaVm); in CopyPropertyApiFilter()
|
H A D | ark_native_engine.h | 369 panda::Local<panda::ObjectRef>& exportCopy, const std::string& apiPath);
|