Lines Matching refs:isAppModule
223 std::string NativeModuleManager::GetModuleFileName(const char* moduleName, bool isAppModule) in GetModuleFileName() argument
229 HILOG_INFO("moduleName is '%{public}s', isAppModule is %{public}d", moduleName, isAppModule); in GetModuleFileName()
232 std::string name = isAppModule ? (prefix_ + "/" + moduleName) : moduleName; in GetModuleFileName()
235 … if (!GetNativeModulePath(moduleName, pathKey, "", isAppModule, nativeModulePath, NAPI_PATH_MAX)) { in GetModuleFileName()
248 if (isAppModule && IsExistedPath(pathKey)) { in GetModuleFileName()
286 tailNativeModule_->isAppModule = isAppModule_; in Register()
305 headNativeModule_->isAppModule = isAppModule_; in Register()
537 …* NativeModuleManager::LoadNativeModule(const char* moduleName, const char* path, bool isAppModule, in LoadNativeModule() argument
590 …if (!GetNativeModulePath(strCutName.c_str(), path, relativePath, isAppModule, nativeModulePath, NA… in LoadNativeModule()
599 if (isAppModule) { in LoadNativeModule()
607 …if (!GetNativeModulePath(moduleName, prefixTmp.c_str(), relativePath, isAppModule, nativeModulePat… in LoadNativeModule()
636 isAppModule_ = isAppModule; in LoadNativeModule()
642 …ativeModule = FindNativeModuleByDisk(strCutName.c_str(), path, relativePath, internal, isAppModule, in LoadNativeModule()
646 …veModule = FindNativeModuleByDisk(moduleName, prefix_.c_str(), relativePath, internal, isAppModule, in LoadNativeModule()
682 …const char* relativePath, bool isAppModule, char nativeModulePath[][NAPI_PATH_MAX], int32_t pathLe… in GetNativeModulePath() argument
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()
864 const char* pathKey, const bool isAppModule, std::string& errInfo, uint32_t& errReason) in LoadModuleLibrary() argument
874 …EBUG("path: %{public}s, pathKey: %{public}s, isAppModule: %{public}d", path, pathKey, isAppModule); in LoadModuleLibrary()
905 if (isAppModule && IsExistedPath(pathKey)) { in LoadModuleLibrary()
983 const char* relativePath, bool internal, const bool isAppModule, std::string& errInfo, in FindNativeModuleByDisk() argument
994 if (isAppModule) { in FindNativeModuleByDisk()
1005 LIBHANDLE lib = LoadModuleLibrary(moduleKey, loadPath, path, isAppModule, errInfo, errReason0); in FindNativeModuleByDisk()
1011 lib = LoadModuleLibrary(moduleKey, loadPath, path, isAppModule, errInfo, errReason1); in FindNativeModuleByDisk()