Home
last modified time | relevance | path

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

/test/xts/hats/hdf/audio/idl/effect/src/
Deffect_common.cpp41 …id EffectControllerReleaseDescs(struct EffectControllerDescriptor *descs, const uint32_t *descsLen) in EffectControllerReleaseDescs() argument
43 … if (descs == nullptr || descsLen == nullptr || *descsLen == 0 || *descsLen > HDF_EFFECT_NUM_MAX) { in EffectControllerReleaseDescs()
47 for (uint32_t i = 0; i < *descsLen; i++) { in EffectControllerReleaseDescs()
Deffect_model_test.cpp102 uint32_t descsLen = MAX_DESCRIPTOR_NUM; variable
105 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, model_->GetAllEffectDescriptors(nullptr, descs, &descsLen));
106 EXPECT_EQ(HDF_ERR_INVALID_PARAM, model_->GetAllEffectDescriptors(model_, nullptr, &descsLen));
118 uint32_t descsLen = MAX_DESCRIPTOR_NUM; variable
121 int32_t ret = model_->GetAllEffectDescriptors(model_, descs, &descsLen);
123 EXPECT_GE(MAX_DESCRIPTOR_NUM, descsLen);
134 uint32_t descsLen = MAX_DESCRIPTOR_NUM; variable
137 int32_t ret = model_->GetAllEffectDescriptors(model_, descs, &descsLen);
139 EXPECT_GE(MAX_DESCRIPTOR_NUM, descsLen);
141 for (uint32_t i = 0; i < descsLen; i++) {
[all …]
Deffect_common.h22 …d EffectControllerReleaseDescs(struct EffectControllerDescriptor *descs, const uint32_t *descsLen);
/test/xts/hats/hdf/audio/idl/effect_additional/src/
Deffect_common.cpp41 …id EffectControllerReleaseDescs(struct EffectControllerDescriptor *descs, const uint32_t *descsLen) in EffectControllerReleaseDescs() argument
43 … if (descs == nullptr || descsLen == nullptr || *descsLen == 0 || *descsLen > HDF_EFFECT_NUM_MAX) { in EffectControllerReleaseDescs()
47 for (uint32_t i = 0; i < *descsLen; i++) { in EffectControllerReleaseDescs()
Deffect_model_test.cpp148 uint32_t descsLen = MAX_DESCRIPTOR_NUM; variable
149 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, model_->GetAllEffectDescriptors(nullptr, nullptr, &descsLen));
159 uint32_t descsLen = MAX_DESCRIPTOR_NUM; variable
161 … EXPECT_EQ(HDF_ERR_INVALID_OBJECT, model_->GetAllEffectDescriptors(nullptr, nullptr, &descsLen));
240 uint32_t descsLen = 0; variable
242 EXPECT_EQ(HDF_ERR_INVALID_PARAM, model_->GetAllEffectDescriptors(model_, descs, &descsLen));
300 uint32_t descsLen = 0; variable
301 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, model_->GetAllEffectDescriptors(nullptr, nullptr, &descsLen));
311 uint32_t descsLen = 0; variable
313 … EXPECT_EQ(HDF_ERR_INVALID_OBJECT, model_->GetAllEffectDescriptors(nullptr, nullptr, &descsLen));
[all …]
Deffect_common.h22 …d EffectControllerReleaseDescs(struct EffectControllerDescriptor *descs, const uint32_t *descsLen);
/test/xts/hats/hdf/audio/idl/benchmarktest/effect/include/
Deffect_common.cpp41 …id EffectControllerReleaseDescs(struct EffectControllerDescriptor *descs, const uint32_t *descsLen) in EffectControllerReleaseDescs() argument
43 … if (descs == nullptr || descsLen == nullptr || *descsLen == 0 || *descsLen > HDF_EFFECT_NUM_MAX) { in EffectControllerReleaseDescs()
47 for (uint32_t i = 0; i < *descsLen; i++) { in EffectControllerReleaseDescs()
Deffect_common.h22 …d EffectControllerReleaseDescs(struct EffectControllerDescriptor *descs, const uint32_t *descsLen);
/test/xts/hats/hdf/audio/idl/benchmarktest/manager/
Daudio_manager_benchmarktest.cpp38 void ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen);
61 …ManagerBenchmarkTest::ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen) in ReleaseAdapterDescs() argument
63 if ((descsLen > 0) && (descs != nullptr) && ((*descs) != nullptr)) { in ReleaseAdapterDescs()
64 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAdapterDescs()
/test/xts/hats/hdf/audio/idl/common/manager_additional/src/
DAudioManagerCommonTest.cpp36 void ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen);
60 …anagerTestAdditional::ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen) in ReleaseAdapterDescs() argument
62 if ((descsLen > 0) && (descs != nullptr) && ((*descs) != nullptr)) { in ReleaseAdapterDescs()
63 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAdapterDescs()
/test/xts/hats/hdf/audio/idl/common/adapter/src/
Daudio_adapter_multchannel_test.cpp48 void ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen);
71 …udioAdapterMultiTest::ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen) in ReleaseAdapterDescs() argument
73 if ((descsLen > 0) && (descs != nullptr) && ((*descs) != nullptr)) { in ReleaseAdapterDescs()
74 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAdapterDescs()
Daudio_adapter_common_test.cpp50 void ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen);
73 …dfAudioUtAdapterTest::ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen) in ReleaseAdapterDescs() argument
75 if ((descsLen > 0) && (descs != nullptr) && ((*descs) != nullptr)) { in ReleaseAdapterDescs()
76 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAdapterDescs()
/test/xts/hats/hdf/audio/idl/common/render/src/
Daudio_render_offload_test.cpp53 void ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen);
109 …tRenderOffloadTest::ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen) in ReleaseAllAdapterDescs() argument
111 if (descs == nullptr || descsLen == 0) { in ReleaseAllAdapterDescs()
115 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAllAdapterDescs()
Daudio_render_mmap_test.cpp50 void ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen);
100 …ioUtRenderMmapTest::ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen) in ReleaseAllAdapterDescs() argument
102 if (descs == nullptr || descsLen == 0) { in ReleaseAllAdapterDescs()
106 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAllAdapterDescs()
Daudio_render_common_test.cpp55 void ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen);
134 … AudioUtRenderTest::ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen) in ReleaseAllAdapterDescs() argument
136 if (descs == nullptr || descsLen == 0) { in ReleaseAllAdapterDescs()
140 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAllAdapterDescs()
/test/xts/hats/hdf/audio/idl/benchmarktest/effect/
Deffect_model_test.cpp94 uint32_t descsLen = MAX_DESCRIPTOR_NUM; in BENCHMARK_F() local
97 ret = model_->GetAllEffectDescriptors(model_, descs, &descsLen); in BENCHMARK_F()
100 EXPECT_GE(MAX_DESCRIPTOR_NUM, descsLen); in BENCHMARK_F()
/test/xts/hats/hdf/audio/idl/common/manager/src/
Daudio_manager_common_test.cpp36 void ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen);
59 …dfAudioUtManagerTest::ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen) in ReleaseAdapterDescs() argument
61 if ((descsLen > 0) && (descs != nullptr) && ((*descs) != nullptr)) { in ReleaseAdapterDescs()
62 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAdapterDescs()
/test/xts/hats/hdf/audio/idl/benchmarktest/adapter/
Daudio_adapter_benchmarktest.cpp51 void ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen);
74 …AdapterBenchmarkTest::ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen) in ReleaseAdapterDescs() argument
76 if ((descsLen > 0) && (descs != nullptr) && ((*descs) == nullptr)) { in ReleaseAdapterDescs()
80 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAdapterDescs()
/test/xts/hats/hdf/audio/idl/common/render_additional/src/
DAudioRenderMmapTest.cpp51 void ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen);
100 …MmapTestAdditional::ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen) in ReleaseAllAdapterDescs() argument
102 if (descs == nullptr || descsLen == 0) { in ReleaseAllAdapterDescs()
106 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAllAdapterDescs()
DAudioRenderCommonTest.cpp53 void ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen);
130 …nderTestAdditional::ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen) in ReleaseAllAdapterDescs() argument
132 if (descs == nullptr || descsLen == 0) { in ReleaseAllAdapterDescs()
136 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAllAdapterDescs()
/test/xts/hats/hdf/audio/idl/benchmarktest/capture/
Daudio_capture_benchmarktest.cpp54 void ReleaseAllAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen);
138 …tureBenchmarkTest::ReleaseAllAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen) in ReleaseAllAdapterDescs() argument
140 if ((descsLen > 0) && (descs != nullptr) && ((*descs) != nullptr)) { in ReleaseAllAdapterDescs()
141 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAllAdapterDescs()
/test/xts/hats/hdf/audio/idl/benchmarktest/render/
Daudio_render_benchmarktest.cpp60 void ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen);
138 …enderBenchmarkTest::ReleaseAllAdapterDescs(struct AudioAdapterDescriptor *descs, uint32_t descsLen) in ReleaseAllAdapterDescs() argument
140 if (descs == nullptr || descsLen == 0) { in ReleaseAllAdapterDescs()
144 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAllAdapterDescs()
/test/xts/hats/hdf/audio/idl/common/capture/src/
Daudio_capture_common_test.cpp47 void ReleaseAllAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen);
132 …udioUtCaptureTest::ReleaseAllAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen) in ReleaseAllAdapterDescs() argument
134 if ((descsLen > 0) && (descs != nullptr) && ((*descs) != nullptr)) { in ReleaseAllAdapterDescs()
135 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAllAdapterDescs()
/test/xts/hats/hdf/audio/idl/common/adapter_additional/src/
Daudio_adapter_common_test.cpp50 void ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen);
74 …dapterTestAdditional::ReleaseAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen) in ReleaseAdapterDescs() argument
76 if ((descsLen > 0) && (descs != nullptr) && ((*descs) != nullptr)) { in ReleaseAdapterDescs()
77 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAdapterDescs()
/test/xts/hats/hdf/audio/idl/common/capture_additional/src/
DAudioCaptureCommonTestAdditional.cpp48 void ReleaseAllAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen);
132 …ureTestAdditional::ReleaseAllAdapterDescs(struct AudioAdapterDescriptor **descs, uint32_t descsLen) in ReleaseAllAdapterDescs() argument
134 if ((descsLen > 0) && (descs != nullptr) && ((*descs) != nullptr)) { in ReleaseAllAdapterDescs()
135 for (uint32_t i = 0; i < descsLen; i++) { in ReleaseAllAdapterDescs()