Searched refs:moduleKey (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/arkui/napi/module_manager/ |
H A D | native_module_manager.cpp | 132 moduleLibMap_.emplace(moduleKey, lib); in EmplaceModuleLib() 141 auto it = moduleLibMap_.find(moduleKey); in RemoveModuleLib() 154 auto it = moduleLibMap_.find(moduleKey); in GetNativeModuleHandle() 175 auto it = moduleBufMap_.find(moduleKey); in RemoveModuleBuffer() 188 auto it = moduleBufMap_.find(moduleKey); in GetBufferHandle() 921 EmplaceModuleLib(moduleKey, lib); in LoadModuleLibrary() 936 std::string abcModuleKey = moduleKey; in GetFileBuffer() 993 std::string moduleKey(moduleName); in FindNativeModuleByDisk() local 995 moduleKey = path; in FindNativeModuleByDisk() 996 moduleKey = moduleKey + '/' + moduleName; in FindNativeModuleByDisk() [all …]
|
H A D | native_module_manager.h | 90 bool UnloadNativeModule(const std::string& moduleKey); 141 LIBHANDLE LoadModuleLibrary(std::string& moduleKey, const char* path, const char* pathKey, 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) const; 157 bool RemoveNativeModuleByCache(const std::string& moduleKey); [all …]
|
/ohos5.0/foundation/arkui/napi/module_manager/test/unittest/module_manager_test/ |
H A D | module_manager_test.cpp | 183 std::string moduleKey = "this is moduleKey"; variable 187 moduleManager.SetNativeEngine(moduleKey, engine); 308 std::string moduleKey = "aa"; variable 309 moduleManager->EmplaceModuleLib(moduleKey, nullptr); 330 std::string moduleKey = "aa"; variable 331 moduleManager->EmplaceModuleLib(moduleKey, nullptr); 351 std::string moduleKey = "aa"; variable 352 moduleManager->EmplaceModuleLib(moduleKey, nullptr); 376 std::string moduleKey = "aa"; variable 377 moduleManager->EmplaceModuleLib(moduleKey, nullptr); [all …]
|
/ohos5.0/foundation/arkui/napi/module_manager/test/mock/src/ |
H A D | mock_native_module_manager.cpp | 65 LIBHANDLE NativeModuleManager::LoadModuleLibrary(std::string &moduleKey, const char* path, in LoadModuleLibrary() argument
|
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/ |
H A D | bundle_active_group_controller.cpp | 136 std::string moduleKey = BundleActiveUtil::GetBundleUsageKey(bundleName, uid); in DeleteUsageGroupCache() local 137 userHostory->erase(moduleKey); in DeleteUsageGroupCache()
|
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/ |
H A D | bundle_active_user_service.cpp | 115 std::string moduleKey = bundleName + " " + std::to_string(deletedUid); in DeleteMemRecords() local 116 if (it->first.find(moduleKey) != std::string::npos) { in DeleteMemRecords()
|
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.cpp | 565 …std::function<bool(const std::string&)> func = [moduleManager](const std::string& moduleKey) -> bo… in ArkNativeEngine() argument 566 return moduleManager->UnloadNativeModule(moduleKey); in ArkNativeEngine()
|
/ohos5.0/foundation/ability/ability_base/test/unittest/want/ |
H A D | want_test.cpp | 3859 std::string moduleKey = "moduleName"; variable 3861 p1->SetParam(moduleKey, moduleValue);
|