/foundation/arkui/napi/module_manager/ |
H A D | native_module_manager.cpp | 117 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 D | native_module_manager.h | 90 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 D | module_manager_test.cpp | 183 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 D | mock_native_module_manager.cpp | 65 LIBHANDLE NativeModuleManager::LoadModuleLibrary(std::string &moduleKey, const char* path, in LoadModuleLibrary() argument
|
/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()
|
/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/ |
H A D | bundle_active_user_service.cpp | 117 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 D | ark_native_engine.cpp | 551 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 D | want_test.cpp | 3859 std::string moduleKey = "moduleName"; in HWTEST_F() local 3861 p1->SetParam(moduleKey, moduleValue); in HWTEST_F()
|