Lines Matching refs:NativeModuleManager

47 NativeModuleManager* NativeModuleManager::instance_ = NULL;
50 NativeModuleManager::NativeModuleManager() in NativeModuleManager() function in NativeModuleManager
57 NativeModuleManager::~NativeModuleManager() in ~NativeModuleManager()
105 NativeModuleManager* NativeModuleManager::GetInstance() in GetInstance()
110 instance_ = new NativeModuleManager(); in GetInstance()
117 void NativeModuleManager::SetNativeEngine(std::string moduleKey, NativeEngine* nativeEngine) in SetNativeEngine()
127 void NativeModuleManager::EmplaceModuleLib(std::string moduleKey, const LIBHANDLE lib) in EmplaceModuleLib()
136 bool NativeModuleManager::RemoveModuleLib(const std::string moduleKey) in RemoveModuleLib()
150 LIBHANDLE NativeModuleManager::GetNativeModuleHandle(const std::string& moduleKey) const in GetNativeModuleHandle()
161 void NativeModuleManager::EmplaceModuleBuffer(const std::string moduleKey, const uint8_t* lib) in EmplaceModuleBuffer()
170 bool NativeModuleManager::RemoveModuleBuffer(const std::string moduleKey) in RemoveModuleBuffer()
184 const uint8_t* NativeModuleManager::GetBufferHandle(const std::string& moduleKey) const in GetBufferHandle()
195 bool NativeModuleManager::RemoveNativeModule(const std::string& moduleKey) in RemoveNativeModule()
206 bool NativeModuleManager::UnloadNativeModule(const std::string& moduleKey) in UnloadNativeModule()
223 std::string NativeModuleManager::GetModuleFileName(const char* moduleName, bool isAppModule) in GetModuleFileName()
256 void NativeModuleManager::Register(NativeModule* nativeModule) in Register()
318 bool NativeModuleManager::CreateHeadNativeModule() in CreateHeadNativeModule()
341 bool NativeModuleManager::CreateTailNativeModule() in CreateTailNativeModule()
366 void NativeModuleManager::CreateSharedLibsSonames() in CreateSharedLibsSonames()
440 void NativeModuleManager::CreateLdNamespace(const std::string moduleName, const char* lib_ld_path,
497 void NativeModuleManager::SetAppLibPath(const std::string& moduleName, const std::vector<std::strin… in SetAppLibPath()
529 void NativeModuleManager::MoveApiAllowListCheckerPtr( in MoveApiAllowListCheckerPtr()
537 NativeModule* NativeModuleManager::LoadNativeModule(const char* moduleName, const char* path, bool … in LoadNativeModule()
667 bool NativeModuleManager::CheckNativeListChanged( in CheckNativeListChanged()
681 bool NativeModuleManager::GetNativeModulePath(const char* moduleName, const char* path, in GetNativeModulePath()
863 LIBHANDLE NativeModuleManager::LoadModuleLibrary(std::string& moduleKey, const char* path, in LoadModuleLibrary()
926 const uint8_t* NativeModuleManager::GetFileBuffer(const std::string& filePath, in GetFileBuffer()
953 bool NativeModuleManager::UnloadModuleLibrary(LIBHANDLE handle) in UnloadModuleLibrary()
970 bool NativeModuleManager::CheckModuleExist(const char* modulePath) in CheckModuleExist()
982 NativeModule* NativeModuleManager::FindNativeModuleByDisk(const char* moduleName, const char* path, in FindNativeModuleByDisk()
1103 void NativeModuleManager::RegisterByBuffer(const std::string& moduleKey, const uint8_t* abcBuffer, … in RegisterByBuffer()
1131 bool NativeModuleManager::RemoveNativeModuleByCache(const std::string& moduleKey) in RemoveNativeModuleByCache()
1186 NativeModule* NativeModuleManager::FindNativeModuleByCache(const char* moduleName, in FindNativeModuleByCache()
1223 bool NativeModuleManager::IsExistedPath(const char* pathKey) const in IsExistedPath()
1230 void NativeModuleManager::SetModuleLoadChecker(const std::shared_ptr<ModuleCheckerDelegate>& module… in SetModuleLoadChecker()
1240 void NativeModuleManager::SetPreviewSearchPath(const std::string& previewSearchPath) in SetPreviewSearchPath()