/ohos5.0/foundation/arkui/napi/module_manager/ |
H A D | native_module_manager.cpp | 248 if (isAppModule && IsExistedPath(pathKey)) { in GetModuleFileName() 286 tailNativeModule_->isAppModule = isAppModule_; in Register() 305 headNativeModule_->isAppModule = isAppModule_; in Register() 599 if (isAppModule) { in LoadNativeModule() 636 isAppModule_ = isAppModule; in LoadNativeModule() 717 isAppModule = true; in GetNativeModulePath() 727 if (isAppModule && IsExistedPath(path)) { in GetNativeModulePath() 761 if (!isAppModule || !IsExistedPath(path)) { in GetNativeModulePath() 827 if (!isAppModule || !IsExistedPath(path)) { in GetNativeModulePath() 905 if (isAppModule && IsExistedPath(pathKey)) { in LoadModuleLibrary() [all …]
|
H A D | native_module_manager.h | 71 bool isAppModule = false; member 87 NativeModule* LoadNativeModule(const char* moduleName, const char* path, bool isAppModule, 91 std::string GetModuleFileName(const char* moduleName, bool isAppModule); 132 bool isAppModule, char nativeModulePath[][NAPI_PATH_MAX], int32_t pathLength); 134 …bool internal, const bool isAppModule, std::string& errInfo, char nativeModulePath[][NAPI_PATH_MAX… 142 const bool isAppModule, std::string& errInfo, uint32_t& errReason);
|
/ohos5.0/foundation/arkui/napi/module_manager/test/mock/src/ |
H A D | mock_native_module_manager.cpp | 58 const char* relativePath, bool internal, const bool isAppModule, std::string& errInfo, in FindNativeModuleByDisk() argument 66 const char* pathKey, const bool isAppModule, std::string& errInfo, uint32_t& errReason) in LoadModuleLibrary() argument
|
/ohos5.0/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | ark_interop_engine.cpp | 254 …ARKTS_Env env, const char* target, bool isNativeModule, bool isAppModule, const char* relativePath) in ARKTS_Require() argument 273 ARKTS_Value args[] = { targetValue, ARKTS_CreateBool(isAppModule), ARKTS_CreateUndefined(), in ARKTS_Require() 277 ARKTS_Value args[] = { targetValue, ARKTS_CreateBool(isAppModule) }; in ARKTS_Require()
|
H A D | ark_interop_napi.h | 169 …ARKTS_Value ARKTS_Require(ARKTS_Env env, const char* target, bool isNativeModule, bool isAppModule,
|
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.cpp | 388 bool isAppModule = false; in ArkNativeEngine() local 405 isAppModule = ret->Value(); in ArkNativeEngine() 407 arkNativeEngine->isAppModule_ = isAppModule; in ArkNativeEngine() 408 if (arkNativeEngine->isLimitedWorker_ && !isAppModule) { in ArkNativeEngine() 419 path->ToString(ecmaVm).c_str(), isAppModule, errInfo, false, ""); in ArkNativeEngine() 423 …odule = moduleManager->LoadNativeModule(moduleName->ToString(ecmaVm).c_str(), nullptr, isAppModule, in ArkNativeEngine() 428 nullptr, isAppModule, errInfo, false, ""); in ArkNativeEngine() 993 … const std::string& moduleName, bool isAppModule, const std::string& id, const std::string& param, in GetModuleFromName() argument 1000 …NativeModule* module = moduleManager->LoadNativeModule(moduleName.c_str(), nullptr, isAppModule, e… in GetModuleFromName() 1043 …anda::ObjectRef> ArkNativeEngine::LoadModuleByName(const std::string& moduleName, bool isAppModule, in LoadModuleByName() argument [all …]
|
H A D | ark_native_engine.h | 213 …RT panda::Local<panda::ObjectRef> LoadModuleByName(const std::string& moduleName, bool isAppModule, 310 … const std::string& moduleName, bool isAppModule, const std::string& id, const std::string& param,
|