Home
last modified time | relevance | path

Searched refs:moduleKey (Results 1 - 8 of 8) sorted by relevance

/foundation/arkui/napi/module_manager/
H A Dnative_module_manager.cpp117 void NativeModuleManager::SetNativeEngine(std::string moduleKey, NativeEngine* nativeEngine) in SetNativeEngine() argument
119 HILOG_DEBUG("modulekey is '%{public}s'", moduleKey.c_str()); in SetNativeEngine()
121 nativeEngine->SetModuleName(moduleKey); in SetNativeEngine()
124 nativeEngineList_.emplace(moduleKey, nativeEngine); in SetNativeEngine()
127 void NativeModuleManager::EmplaceModuleLib(std::string moduleKey, const LIBHANDLE lib) in EmplaceModuleLib() argument
129 HILOG_DEBUG("modulekey is '%{public}s'", moduleKey.c_str()); in EmplaceModuleLib()
132 moduleLibMap_.emplace(moduleKey, lib); in EmplaceModuleLib()
136 bool NativeModuleManager::RemoveModuleLib(const std::string moduleKey) in RemoveModuleLib() argument
138 HILOG_DEBUG("moduleKey is '%{public}s'", moduleKey in RemoveModuleLib()
161 EmplaceModuleBuffer(const std::string moduleKey, const uint8_t* lib) EmplaceModuleBuffer() argument
170 RemoveModuleBuffer(const std::string moduleKey) RemoveModuleBuffer() argument
195 RemoveNativeModule(const std::string& moduleKey) RemoveNativeModule() argument
206 UnloadNativeModule(const std::string& moduleKey) UnloadNativeModule() argument
863 LoadModuleLibrary(std::string& moduleKey, const char* path, const char* pathKey, const bool isAppModule, std::string& errInfo, uint32_t& errReason) LoadModuleLibrary() argument
926 GetFileBuffer(const std::string& filePath, const std::string& moduleKey, size_t &len) GetFileBuffer() argument
1103 RegisterByBuffer(const std::string& moduleKey, const uint8_t* abcBuffer, size_t len) RegisterByBuffer() argument
1131 RemoveNativeModuleByCache(const std::string& moduleKey) RemoveNativeModuleByCache() argument
[all...]
H A Dnative_module_manager.h90 bool UnloadNativeModule(const std::string& moduleKey);
141 LIBHANDLE LoadModuleLibrary(std::string& moduleKey, const char* path, const char* pathKey,
143 const uint8_t* GetFileBuffer(const std::string& filePath, const std::string& moduleKey, size_t &len);
148 void EmplaceModuleLib(const std::string moduleKey, LIBHANDLE lib);
149 bool RemoveModuleLib(const std::string moduleKey);
150 void EmplaceModuleBuffer(const std::string moduleKey, const uint8_t* lib);
151 bool RemoveModuleBuffer(const std::string moduleKey);
152 const uint8_t* GetBufferHandle(const std::string& moduleKey) const;
153 void RegisterByBuffer(const std::string& moduleKey, const uint8_t* abcBuffer, size_t len);
156 LIBHANDLE GetNativeModuleHandle(const std::string& moduleKey) cons
[all...]
/foundation/arkui/napi/module_manager/test/unittest/module_manager_test/
H A Dmodule_manager_test.cpp183 std::string moduleKey = "this is moduleKey"; in HWTEST_F() local
187 moduleManager.SetNativeEngine(moduleKey, engine); in HWTEST_F()
308 std::string moduleKey = "aa"; in HWTEST_F() local
309 moduleManager->EmplaceModuleLib(moduleKey, nullptr); in HWTEST_F()
310 bool result1 = moduleManager->RemoveModuleLib(moduleKey); in HWTEST_F()
330 std::string moduleKey = "aa"; in HWTEST_F() local
331 moduleManager->EmplaceModuleLib(moduleKey, nullptr); in HWTEST_F()
351 std::string moduleKey = "aa"; in HWTEST_F() local
352 moduleManager->EmplaceModuleLib(moduleKey, nullpt in HWTEST_F()
376 std::string moduleKey = "aa"; HWTEST_F() local
412 std::string moduleKey = "aa"; HWTEST_F() local
[all...]
/foundation/arkui/napi/module_manager/test/mock/src/
H A Dmock_native_module_manager.cpp65 LIBHANDLE NativeModuleManager::LoadModuleLibrary(std::string &moduleKey, const char* path, in LoadModuleLibrary() argument
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/
H A Dbundle_active_group_controller.cpp136 std::string moduleKey = BundleActiveUtil::GetBundleUsageKey(bundleName, uid); in DeleteUsageGroupCache() local
137 userHostory->erase(moduleKey); in DeleteUsageGroupCache()
/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/
H A Dbundle_active_user_service.cpp117 std::string moduleKey = bundleName + " " + std::to_string(deletedUid); in DeleteMemRecords() local
118 if (it->first.find(moduleKey) != std::string::npos) { in DeleteMemRecords()
/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.cpp551 std::function<bool(const std::string&)> func = [moduleManager](const std::string& moduleKey) -> bool { in ArkNativeEngine()
552 return moduleManager->UnloadNativeModule(moduleKey); in ArkNativeEngine()
/foundation/ability/ability_base/test/unittest/want/
H A Dwant_test.cpp3859 std::string moduleKey = "moduleName"; in HWTEST_F() local
3861 p1->SetParam(moduleKey, moduleValue); in HWTEST_F()

Completed in 16 milliseconds