/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | app_module_checker_test.cpp | 86 std::unique_ptr<ApiAllowListChecker> apiAllowListChecker(nullptr); 87 bool ret = appModuleChecker_->CheckModuleLoadable("module4", apiAllowListChecker); 105 std::unique_ptr<ApiAllowListChecker> apiAllowListChecker(nullptr); 106 bool ret = appModuleChecker_->CheckModuleLoadable("module4", apiAllowListChecker); 124 std::unique_ptr<ApiAllowListChecker> apiAllowListChecker(nullptr); 125 bool ret = appModuleChecker_->CheckModuleLoadable("module2", apiAllowListChecker);
|
/ohos5.0/foundation/arkui/napi/module_manager/ |
H A D | module_load_checker.cpp | 21 const char* moduleName, std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker) in CheckModuleLoadable() argument 24 apiAllowListChecker = nullptr; in CheckModuleLoadable() 29 return moduleCheckerDelegate_->CheckModuleLoadable(moduleName, apiAllowListChecker); in CheckModuleLoadable()
|
H A D | native_module_manager.cpp | 530 std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker, NativeModule* nativeModule) in MoveApiAllowListCheckerPtr() argument 532 if (apiAllowListChecker != nullptr) { in MoveApiAllowListCheckerPtr() 533 nativeModule->apiAllowListChecker.reset(apiAllowListChecker.release()); in MoveApiAllowListCheckerPtr() 555 std::unique_ptr<ApiAllowListChecker> apiAllowListChecker = nullptr; in LoadNativeModule() local 557 !moduleLoadChecker_->CheckModuleLoadable(moduleName, apiAllowListChecker)) { in LoadNativeModule() 659 MoveApiAllowListCheckerPtr(apiAllowListChecker, nativeModule); in LoadNativeModule() 986 std::unique_ptr<ApiAllowListChecker> apiAllowListChecker = nullptr; in FindNativeModuleByDisk() local 987 …(moduleLoadChecker_ && !moduleLoadChecker_->CheckModuleLoadable(moduleName, apiAllowListChecker)) { in FindNativeModuleByDisk() 1076 MoveApiAllowListCheckerPtr(apiAllowListChecker, tailNativeModule_); in FindNativeModuleByDisk() 1098 MoveApiAllowListCheckerPtr(apiAllowListChecker, tailNativeModule_); in FindNativeModuleByDisk()
|
H A D | module_checker_delegate.h | 39 std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker) = 0;
|
H A D | module_load_checker.h | 40 …kModuleLoadable(const char* moduleName, std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker);
|
H A D | native_module_manager.h | 72 std::unique_ptr<ApiAllowListChecker> apiAllowListChecker = nullptr; member 161 std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker, NativeModule* nativeModule);
|
/ohos5.0/foundation/ability/form_fwk/services/form_render_service/src/ |
H A D | form_module_checker.cpp | 86 std::unique_ptr<ApiAllowListChecker> &apiAllowListChecker) in CheckModuleLoadable() argument 94 if (apiAllowListChecker == nullptr) { in CheckModuleLoadable() 95 … apiAllowListChecker = std::make_unique<ApiAllowListChecker>([](const std::string& apiPath) { in CheckModuleLoadable()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | app_module_checker.cpp | 23 … std::unique_ptr<ApiAllowListChecker> &apiAllowListChecker) in CheckModuleLoadable() argument 25 apiAllowListChecker = nullptr; in CheckModuleLoadable()
|
/ohos5.0/foundation/arkui/napi/module_manager/test/mock/src/ |
H A D | mock_native_module_manager.cpp | 73 std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker) in CheckModuleLoadable() argument 75 apiAllowListChecker = nullptr; in CheckModuleLoadable()
|
/ohos5.0/foundation/ability/form_fwk/services/form_render_service/include/ |
H A D | form_module_checker.h | 36 std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker) override;
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | app_module_checker.h | 39 std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker) override;
|
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.cpp | 309 std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker = module->apiAllowListChecker; in CheckArkApiAllowList() local 310 if (apiAllowListChecker != nullptr) { in CheckArkApiAllowList() 312 if ((*apiAllowListChecker)(apiPath)) { in CheckArkApiAllowList() 313 …CopyPropertyApiFilter(apiAllowListChecker, context.ecmaVm, context.exportObj, exportCopy, apiPath); in CheckArkApiAllowList() 320 …ativeEngine::CopyPropertyApiFilter(const std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker, in CopyPropertyApiFilter() argument 329 if ((*apiAllowListChecker)(curPath)) { in CopyPropertyApiFilter() 333 CopyPropertyApiFilter(apiAllowListChecker, ecmaVm, value, subObject, curPath); in CopyPropertyApiFilter()
|
H A D | ark_native_engine.h | 367 … static void CopyPropertyApiFilter(const std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker,
|