/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbccodecctrl/src/ |
H A D | a2dp_sbc_dynamic_lib_ctrl.cpp | 38 CODECSbcLib *lib = new CODECSbcLib(); in LoadCodecSbcLib() local 39 if (lib != nullptr) { in LoadCodecSbcLib() 41 lib->lib = dlopen(CODEC_LIB_SBC, RTLD_LAZY | RTLD_NODELETE); in LoadCodecSbcLib() 42 if (lib->lib == nullptr) { in LoadCodecSbcLib() 47 lib->sbcEncoder.createSbcEncode = (sbc::createSbcEncoder)dlsym(lib->lib, "CreateEncode"); in LoadCodecSbcLib() 48 if (lib in LoadCodecSbcLib() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/ |
H A D | hdi_wrapper.c | 31 HDILib *lib = MEM_CALLOC.alloc(sizeof(HDILib)); in LoadHdiLib() local 32 if (lib != NULL) { in LoadHdiLib() 34 lib->lib = dlopen(HDI_LIB, RTLD_LAZY | RTLD_NODELETE); in LoadHdiLib() 35 if (lib->lib == NULL) { in LoadHdiLib() 40 lib->hdiInit = dlsym(lib->lib, "HdiInit"); in LoadHdiLib() 41 if (lib in LoadHdiLib() 67 UnloadHdiLib(HDILib *lib) UnloadHdiLib() argument [all...] |
H A D | hdi_wrapper.h | 30 void *lib; member 34 void UnloadHdiLib(HDILib *lib);
|
/foundation/distributedhardware/device_manager/services/implementation/include/config/ |
H A D | json_config.h | 32 "soPath": "/system/lib/" 40 "soPath": "/system/lib/" 55 "soPath": "/system/lib/" 64 "soPath": "/system/lib/" 73 "soPath": "/system/lib/" 82 "soPath": "/system/lib/"
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/model/ |
H A D | component_config.cpp | 22 SetValue(node[GET_NAME(lib)], lib); in Marshal() 34 GetValue(node, GET_NAME(lib), lib); in Unmarshal()
|
/foundation/distributeddatamgr/pasteboard/services/load/src/ |
H A D | config.cpp | 21 SetValue(node, lib, GET_NAME(lib)); in Marshal() 31 GetValue(node, GET_NAME(lib), lib); in Unmarshal()
|
H A D | loader.cpp | 29 if (component.lib.empty()) { in LoadComponents() 34 auto handle = dlopen(component.lib.c_str(), RTLD_LAZY); in LoadComponents() 37 PASTEBOARD_MODULE_SERVICE, "dlopen(%{public}s) failed(%{public}d)!", component.lib.c_str(), errno); in LoadComponents()
|
/foundation/arkui/napi/module_manager/ |
H A D | native_module_manager.cpp | 127 void NativeModuleManager::EmplaceModuleLib(std::string moduleKey, const LIBHANDLE lib) in EmplaceModuleLib() argument 131 if (lib != nullptr) { in EmplaceModuleLib() 132 moduleLibMap_.emplace(moduleKey, lib); in EmplaceModuleLib() 161 void NativeModuleManager::EmplaceModuleBuffer(const std::string moduleKey, const uint8_t* lib) in EmplaceModuleBuffer() argument 165 if (lib != nullptr) { in EmplaceModuleBuffer() 166 moduleBufMap_.emplace(moduleKey, lib); in EmplaceModuleBuffer() 711 std::string sysPrefix("/system/lib/module"); in GetNativeModulePath() 763 if (sprintf_s(nativeModulePath[0], pathLength, "lib%s%s", dupModuleName, soPostfix) == -1) { in GetNativeModulePath() 767 if (sprintf_s(nativeModulePath[0], pathLength, "%s/lib%s%s%s", in GetNativeModulePath() 772 if (sprintf_s(nativeModulePath[1], pathLength, "%s/lib in GetNativeModulePath() 872 LIBHANDLE lib = nullptr; LoadModuleLibrary() local 929 const uint8_t* lib = nullptr; GetFileBuffer() local 1005 LIBHANDLE lib = LoadModuleLibrary(moduleKey, loadPath, path, isAppModule, errInfo, errReason0); FindNativeModuleByDisk() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbccodecctrl/include/ |
H A D | a2dp_sbc_dynamic_lib_ctrl.h | 35 void *lib; member 43 void UnloadCodecSbcLib(CODECSbcLib *lib) const;
|
/foundation/multimedia/player_framework/services/services/factory/ |
H A D | engine_factory_repo.cpp | 30 static const std::string MEDIA_ENGINE_LIB_PATH = "/system/lib/media"; 56 for (auto &lib : factoryLibs_) { in UnloadLib() 57 if (lib != nullptr) { in UnloadLib() 58 (void)dlclose(lib); in UnloadLib() 59 lib = nullptr; in UnloadLib() 75 MEDIA_LOGE("failed to dlsym %{public}s for lib %{public}s, errno:%{public}d, errormsg:%{public}s", in LoadLib() 83 MEDIA_LOGE("failed to create engine factory for lib: %{public}s", libPath.c_str()); in LoadLib()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | data_detector_mgr.cpp | 30 auto lib = DataDetectorLoader::Load(); in DataDetectorMgr() local 31 if (lib == nullptr || (engine_ = lib->CreateDataDetector()) == nullptr) { in DataDetectorMgr()
|
H A D | image_analyzer_mgr.cpp | 30 auto lib = ImageAnalyzerLoader::Load(); in ImageAnalyzerMgr() local 31 if (!lib || (engine_ = lib->CreateImageAnalyzer()) == nullptr) { in ImageAnalyzerMgr()
|
H A D | data_detector_loader.cpp | 24 constexpr char AI_ADAPTER_SO_PATH[] = "system/lib/libai_text_analyzer_innerapi.z.so"; 63 return DataDetectorInstance(mCreateDataDetectorInstance_(), [lib = shared_from_this(), in CreateDataDetector()
|
H A D | image_analyzer_loader.cpp | 26 constexpr char IMAGE_ANALYZER_SO_PATH[] = "system/lib/libai_image_analyzer_innerapi.z.so"; 68 return { createImageAnalyzerInstance_(env), [lib = shared_from_this(), in CreateImageAnalyzer()
|
H A D | stylus_detector_loader.cpp | 27 const std::string STYLUS_CLIENT_SO_PATH = "/system/lib/libstylus_innerapi.z.so"; 75 return { createStylusDetectorInstance_(), [lib = shared_from_this(), destroy = destroyStylusDetectorInstance_]( in CreateStylusDetector()
|
/foundation/ai/ai_engine/services/common/platform/dl_operation/source/ |
H A D | aie_dl_operation.cpp | 49 HILOGD("[AieDlOperation] lib path is error."); in AieDlopen() 57 void AieDlclose(void *lib) in AieDlclose() argument 59 dlclose(lib); in AieDlclose()
|
/foundation/arkui/napi/jsvm/ |
H A D | build_jsvm_inter.sh | 43 mkdir -p ${TARGET_GEN_DIR}/../../../../../lib.unstripped/jsvm/ 44 cp -u ${workdir}/out/Release/libjsvm.so ${TARGET_GEN_DIR}/../../../../../lib.unstripped/jsvm/ 45 cp -u ${workdir}/deps/v8/lib.unstripped/libv8_shared.so ${TARGET_GEN_DIR}/../../../../../lib.unstripped/jsvm/
|
/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/ |
H A D | config.h | 258 #define PA_DLSEARCHPATH "/system/lib" 262 #define PA_LIBDIR /usr/local/lib/x86_64-linux-gnu 266 #define PA_MACHINE_ID_FALLBACK "/var/local/lib/dbus/machine-id" 276 #define PA_SYSTEM_CONFIG_PATH "/var/local/lib/pulse" 286 #define PULSEDSP_LOCATION /usr/local/lib/x86_64-linux-gnu/pulseaudio
|
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_effect_server.cpp | 35 constexpr const char *LD_EFFECT_LIBRARY_PATH[] = {"/sys_prod/lib/", "/system/lib/"}; 63 AUDIO_ERR_LOG("<log error> dlopen lib %{public}s Fail", relativePath.c_str()); 66 AUDIO_INFO_LOG("<log info> dlopen lib %{public}s successful", relativePath.c_str()); 79 AUDIO_INFO_LOG("<log info> dlsym lib %{public}s successful", relativePath.c_str()); 116 for (const std::shared_ptr<AudioEffectLibEntry> &lib : libList) { in FindLibrary() 117 if (lib->libraryName == name) { in FindLibrary() 118 return lib; in FindLibrary() 142 AUDIO_ERR_LOG("<log error> the effect %{public}s in lib %{public}s, open check file!", in LoadEffect()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/bootstrap/src/ |
H A D | bootstrap.cpp | 61 if (comp.lib.empty()) { in LoadComponents() 65 auto handle = dlopen(comp.lib.c_str(), RTLD_LAZY); in LoadComponents() 67 ZLOGE("dlopen(%{public}s) failed(%{public}d)!", comp.lib.c_str(), errno); in LoadComponents()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/include/model/ |
H A D | component_config.h | 24 std::string lib = ""; member in OHOS::DistributedData::final
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ |
H A D | plugin_registry.cpp | 104 ILibrary::Ptr lib; member 155 if (ILibrary::Ptr lib = ILibrary::Load(absoluteFile); lib) { in GatherDynamicPlugins() 156 const IPlugin* plugin = lib->GetPlugin(); in GatherDynamicPlugins() 159 plugins.push_back({ move(lib), plugin }); in GatherDynamicPlugins() 360 RegisterPlugin(move(plugin.lib), *plugin.plugin, in LoadPlugins() 571 void PluginRegistry::RegisterPlugin(ILibrary::Ptr lib, const IPlugin& plugin, bool asDependency) in RegisterPlugin() argument 585 PluginData pd { move(lib), {}, asDependency ? 0 : 1 }; in RegisterPlugin()
|
/foundation/distributeddatamgr/pasteboard/services/load/include/ |
H A D | config.h | 25 std::string lib = ""; member in OHOS::MiscServices::final::final
|
/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | serializable_test.cpp | 70 isSame = oldComp.lib == newComp.lib && isSame; in IsSame() 92 component.lib = prefix + "lib" + std::to_string(index); in CreateComponent() 437 " \"lib\": \"lib1\", \n" in HWTEST_F() 443 " \"lib\": \"lib2\", \n" in HWTEST_F() 460 ASSERT_EQ(config.components[0].lib, "lib1"); in HWTEST_F() 465 ASSERT_EQ(config.components[1].lib, "lib2"); in HWTEST_F()
|
/foundation/multimedia/media_foundation/engine/plugin/core/ |
H A D | plugin_register.cpp | 379 struct dirent* lib = nullptr; in RegisterPluginsFromPath() local 381 while ((lib = readdir(libDir))) { in RegisterPluginsFromPath() 382 if (lib->d_name[0] == '.') { in RegisterPluginsFromPath() 385 std::string libName = lib->d_name; in RegisterPluginsFromPath() 392 std::string libPath = libDirPath + fileSeparator + lib->d_name; in RegisterPluginsFromPath()
|