Home
last modified time | relevance | path

Searched refs:libName (Results 1 – 25 of 27) sorted by relevance

12

/drivers/hdf_core/adapter/uhdf2/hdi/src/
Dhdi_support.cpp73 std::ostringstream libName; in ParseLibName() local
74libName << "lib" << interfaceName << "_" << serviceName << "_" << versionMajor << "." << versionMi… in ParseLibName()
75 libName << HDI_SO_EXTENSION; in ParseLibName()
76 return libName.str(); in ParseLibName()
98 const std::string &desc, std::string &interface, std::string &libName, const char *serviceName) in ParseInterface() argument
118 libName = ParseLibName(TransFileName(interface), serviceName, versionMajor, versionMinor); in ParseInterface()
139 std::string libName; in LoadHdiImpl() local
140 if (ParseInterface(desc, interfaceName, libName, serviceName) != HDF_SUCCESS) { in LoadHdiImpl()
146 auto constructor = g_hdiConstructorMap.find(libName); in LoadHdiImpl()
152 hdiImpl.handler = dlopen(libName.c_str(), RTLD_LAZY); in LoadHdiImpl()
[all …]
/drivers/peripheral/audio/effect/test/fuzztest/effectcontrol_fuzzer/
Deffectcontrol_fuzzer.cpp94 char *libName = strdup("libmock_effect_lib"); in DoSomethingInterestingWithMyAPI() local
97 .libName = libName, in DoSomethingInterestingWithMyAPI()
114 if (libName != nullptr) { in DoSomethingInterestingWithMyAPI()
115 free(libName); in DoSomethingInterestingWithMyAPI()
116 libName = nullptr; in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/audio/interfaces/effect/v1_0/
Deffect_types_vdi.h27 char *libName; member
33 char *libName; member
40 char *libName; member
/drivers/hdf_core/framework/core/host/src/
Dhdf_load_vdi.c24 struct HdfVdiObject *HdfLoadVdi(const char *libName) in HdfLoadVdi() argument
29 if (libName == NULL) { in HdfLoadVdi()
34 if (snprintf_s(path, sizeof(path), sizeof(path) - 1, "%s/%s", VDI_PATH, libName) < 0) { in HdfLoadVdi()
35 HDF_LOGE("%{public}s %{public}s snprintf_s failed", __func__, libName); in HdfLoadVdi()
/drivers/peripheral/audio/effect/test/unittest/
Deffect_common.cpp34 OsalMemFree(desc->libName); in EffectControllerReleaseDesc()
35 desc->libName = nullptr; in EffectControllerReleaseDesc()
Deffect_model_test.cpp157 .libName = libName_,
177 .libName = libName_,
199 .libName = libName_,
244 EXPECT_STREQ(desc.libName, libName_);
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/
Dcodec_omx_core.cpp32 int32_t CodecOMXCore::Init(const std::string &libName) in Init() argument
34 if (libName.empty()) { in Init()
39 libHandle_ = dlopen(libName.c_str(), RTLD_LAZY); in Init()
41 CODEC_LOGE("failed to dlopen %{public}s.", libName.c_str()); in Init()
Dcomponent_mgr.cpp88 void ComponentMgr::AddComponentByLibName(const char *libName) in AddComponentByLibName() argument
91 core->Init(libName); in AddComponentByLibName()
/drivers/peripheral/codec/hal/idl_service/src/
Dcodec_omx_core.cpp32 int32_t CodecOMXCore::Init(const std::string &libName) in Init() argument
34 if (libName.empty()) { in Init()
39 libHandle_ = dlopen(libName.c_str(), RTLD_LAZY); in Init()
41 CODEC_LOGE("Failed to dlopen %{public}s.", libName.c_str()); in Init()
Dcomponent_mgr.cpp88 void ComponentMgr::AddComponentByLibName(const char *libName) in AddComponentByLibName() argument
91 core->Init(libName); in AddComponentByLibName()
/drivers/hdf_core/framework/core/host/test/unittest/
Dhdf_vdi_test.cpp111 char libName[PATH_MAX + 1]; variable
112 (void)memset_s(libName, PATH_MAX, 'a', PATH_MAX);
113 libName[PATH_MAX] = 0;
114 vdi = HdfLoadVdi(libName);
/drivers/peripheral/audio/test/benchmarktest/effect/
Daudio_effectcontrol_benchmarktest.cpp62 OsalMemFree(desc->libName); in EffectControllerReleaseDesc()
63 desc->libName = nullptr; in EffectControllerReleaseDesc()
75 .libName = libName_, in SetUp()
157 EXPECT_STREQ(desc.libName, libName_); in BENCHMARK_F()
Daudio_effectmodel_benchmarktest.cpp58 OsalMemFree(desc->libName); in EffectControllerReleaseDesc()
59 desc->libName = nullptr; in EffectControllerReleaseDesc()
146 .libName = libName_, in BENCHMARK_F()
175 EXPECT_STREQ(desc.libName, libName_); in BENCHMARK_F()
/drivers/peripheral/codec/image/jpeg/src/
Dcodec_jpeg_core.cpp68 std::string libName = HDF_LIBRARY_FULL_PATH(CODEC_JPEG_VDI_NAME); in AddVendorLib() local
70 if (realpath(libName.c_str(), pathBuf) == nullptr) { in AddVendorLib()
76 CODEC_LOGE("Failed to dlopen %{public}s.", libName.c_str()); in AddVendorLib()
/drivers/peripheral/audio/effect/test/fuzztest/effectmodel_fuzzer/
Deffectmodel_fuzzer.cpp70 .libName = reinterpret_cast<char *>(data), in EffectModelFucSwitch()
79 .libName = reinterpret_cast<char *>(data), in EffectModelFucSwitch()
/drivers/peripheral/audio/effect/model/src/mock_effect/
Dmock_effect_lib.c30 .libName = "libmock_effect_lib",
183 OsalMemFree((void *)desc->libName); in MockEffectReleaseDesc()
184 desc->libName = NULL; in MockEffectReleaseDesc()
230 if (MockCpyDesc(g_mockEffectDescriptor.libName, &(desc->libName)) != HDF_SUCCESS) { in MockGetEffectDescriptorSub()
/drivers/peripheral/audio/effect/config/include/
Dparse_effect_config.h24 const char *libName; member
/drivers/hdf_core/interfaces/inner_api/host/uhdf/
Dhdf_load_vdi.h40 struct HdfVdiObject *HdfLoadVdi(const char *libName);
/drivers/interface/audio/effect/v1_0/
DEffectTypes.idl22 String libName; /**< assign the effect library name which is used to create contoller */
31 String libName; /**< assign the effect library name which is used to create contoller */
41 String libName; /**< Name of the effect library*/
/drivers/peripheral/audio/effect/model/src/
Deffect_model.c121 lib = GetEffectLibFromList(info->libName); in EffectModelCreateEffectController()
159 contollerId->libName = strdup(info->libName); in EffectModelCreateEffectController()
173 lib = GetEffectLibFromList(contollerId->libName); in EffectModelDestroyEffectController()
/drivers/peripheral/audio/effect/model/include/
Deffect_host_common.h58 char libName[HDF_EFFECT_LIB_NAME_LEN]; member
/drivers/peripheral/codec/hal/v2.0/hdi_impl/include/
Dcomponent_mgr.h54 void AddComponentByLibName(const char *libName);
Dcodec_omx_core.h37 int32_t Init(const std::string &libName);
/drivers/peripheral/codec/hal/idl_service/include/
Dcomponent_mgr.h54 void AddComponentByLibName(const char *libName);
Dcodec_omx_core.h38 int32_t Init(const std::string &libName);

12