Home
last modified time | relevance | path

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

12

/drivers/peripheral/audio/effect/test/fuzztest/effectcontrol_fuzzer/
Deffectcontrol_fuzzer.cpp95 char *effectId = strdup("aaaabbbb-8888-9999-6666-aabbccdd9966ff"); in DoSomethingInterestingWithMyAPI() local
98 .effectId = effectId, in DoSomethingInterestingWithMyAPI()
118 if (effectId != nullptr) { in DoSomethingInterestingWithMyAPI()
119 free(effectId); in DoSomethingInterestingWithMyAPI()
120 effectId = nullptr; in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/audio/effect/model/src/
Deffect_core.c137 struct ControllerManager *GetControllerFromList(char *effectId) in GetControllerFromList() argument
142 if (effectId == NULL) { in GetControllerFromList()
153 if (getNode->ctrlMgr != NULL && getNode->ctrlMgr->effectId != NULL) { in GetControllerFromList()
154 if (strcmp(getNode->ctrlMgr->effectId, effectId) == 0) { in GetControllerFromList()
163 HDF_LOGE("effectId %s not exit in list", effectId); in GetControllerFromList()
Deffect_model.c62 … ret = factLib->GetDescriptor(factLib, g_cfgDescs->effectCfgDescs[i].effectId, &descs[descNum]); in EffectModelGetAllEffectDescriptors()
87 if (strcmp(uuid, g_cfgDescs->effectCfgDescs[i].effectId) != 0) { in EffectModelGetEffectDescriptor()
146 ctrlMgr->effectId = strdup(info->effectId); in EffectModelCreateEffectController()
160 contollerId->effectId = strdup(info->effectId); in EffectModelCreateEffectController()
179 ctrlMgr = GetControllerFromList(contollerId->effectId); in EffectModelDestroyEffectController()
192 if (ctrlMgr->effectId != NULL) { in EffectModelDestroyEffectController()
193 OsalMemFree(ctrlMgr->effectId); in EffectModelDestroyEffectController()
194 ctrlMgr->effectId = NULL; in EffectModelDestroyEffectController()
/drivers/peripheral/audio/interfaces/effect/v1_0/
Deffect_types_vdi.h28 char *effectId; member
34 char *effectId; member
38 char *effectId; member
Dieffect_model_vdi.h37 int32_t (*GetEffectDescriptor)(struct IEffectModelVdi *self, const char *effectId,
/drivers/interface/audio/effect/v1_0/
DEffectTypes.idl23 String effectId; /**< effectId of the effect */
28 * @brief Defines effect contoller info including which library its belongs to and it's effectId.
32 String effectId; /**< effectId of the effect */
39 String effectId; /**< effectId of the effect controller */
DIEffectModel.idl75 * @param effectId Indicates the effectId of the effect.
83 GetEffectDescriptor([in] String effectId, [out] struct EffectControllerDescriptor desc);
/drivers/peripheral/audio/effect/test/unittest/
Deffect_common.cpp28 OsalMemFree(desc->effectId); in EffectControllerReleaseDesc()
29 desc->effectId = nullptr; in EffectControllerReleaseDesc()
Deffect_model_test.cpp142 EXPECT_NE(nullptr, descs[i].effectId);
158 .effectId = effectId_,
178 .effectId = effectId_,
200 .effectId = effectId_,
242 EXPECT_STREQ(desc.effectId, effectId_);
Deffect_control_test.cpp53 .effectId = effectId_, in SetUp()
312 EXPECT_STREQ(desc.effectId, effectId_);
/drivers/peripheral/audio/test/benchmarktest/effect/
Daudio_effectmodel_benchmarktest.cpp52 OsalMemFree(desc->effectId); in EffectControllerReleaseDesc()
53 desc->effectId = nullptr; in EffectControllerReleaseDesc()
132 EXPECT_NE(nullptr, descs[i].effectId); in BENCHMARK_F()
147 .effectId = effectId_, in BENCHMARK_F()
173 EXPECT_STREQ(desc.effectId, effectId_); in BENCHMARK_F()
Daudio_effectcontrol_benchmarktest.cpp56 OsalMemFree(desc->effectId); in EffectControllerReleaseDesc()
57 desc->effectId = nullptr; in EffectControllerReleaseDesc()
76 .effectId = effectId_, in SetUp()
155 EXPECT_STREQ(desc.effectId, effectId_); in BENCHMARK_F()
/drivers/peripheral/audio/effect/model/src/mock_effect/
Dmock_effect_lib.c28 .effectId = "aaaabbbb-8888-9999-6666-aabbccdd9966ff",
177 OsalMemFree((void *)desc->effectId); in MockEffectReleaseDesc()
178 desc->effectId = NULL; in MockEffectReleaseDesc()
218 if (MockCpyDesc(g_mockEffectDescriptor.effectId, &(desc->effectId)) != HDF_SUCCESS) { in MockGetEffectDescriptorSub()
307 if (strcmp(uuid, g_mockEffectDescriptor.effectId) != 0) { in MockGetDescriptor()
/drivers/peripheral/audio/effect/test/fuzztest/effectmodel_fuzzer/
Deffectmodel_fuzzer.cpp71 .effectId = reinterpret_cast<char *>(data), in EffectModelFucSwitch()
80 .effectId = reinterpret_cast<char *>(data), in EffectModelFucSwitch()
/drivers/peripheral/audio/effect/config/include/
Dparse_effect_config.h31 const char *effectId; member
/drivers/peripheral/audio/effect/model/include/
Deffect_core.h46 struct ControllerManager *GetControllerFromList(char *effectId);
Deffect_host_common.h57 char *effectId; member
Deffect_compatible_access.h144 …int32_t (*GetDescriptor)(struct EffectFactory *self, const char *effectId, struct EffectController…
/drivers/peripheral/vibrator/interfaces/include/
Dvibrator_type.h137 int32_t effectId; /** Effect id. */ member
/drivers/peripheral/vibrator/interfaces/v1_1/
Divibrator_type_vdi.h64 int32_t effectId; member
/drivers/peripheral/audio/test/unittest/common/capture/
Daudio_capture_common_test.cpp934 uint64_t effectId = 0; variable
936 int32_t ret = capture_->AddAudioEffect(capture_, effectId);
943 uint64_t effectId = -1; variable
945 int32_t ret = capture_->AddAudioEffect(nullptr, effectId);
948 ret = capture_->AddAudioEffect(capture_, effectId);
956 uint64_t effectId = 0; variable
958 int32_t ret = capture_->RemoveAudioEffect(capture_, effectId);
965 uint64_t effectId = -1; variable
967 int32_t ret = capture_->RemoveAudioEffect(nullptr, effectId);
970 ret = capture_->RemoveAudioEffect(capture_, effectId);
/drivers/peripheral/vibrator/hdi_service/
Dvibrator_if_service.cpp221 hdfEffectVdi.primitiveEffect.effectId = compositeEffects.primitiveEffect.effectId; in EnableCompositeEffect()
/drivers/peripheral/audio/effect/config/src/
Dparse_effect_config.c191 if (AudioEffectParseItem(effectObj, "effectId", &(effectDesc->effectId)) != HDF_SUCCESS) { in AudioEffectParseEffect()
213 OsalMemFree((void *)effectDescs[i].effectId); in AudioEffectReleaseDescs()
/drivers/peripheral/audio/test/unittest/common/render/
Daudio_render_common_test.cpp837 uint64_t effectId = 0; variable
838 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->AddAudioEffect(nullptr, effectId));
843 uint64_t effectId = 0; variable
844 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->RemoveAudioEffect(nullptr, effectId));
/drivers/interface/vibrator/v1_1/
DVibratorTypes.idl91 int effectId; /** Effect id. */

12