Home
last modified time | relevance | path

Searched refs:devicedesc (Results 1 – 4 of 4) sorted by relevance

/test/xts/hats/hdf/audio/idl/common/adapter_additional/src/
Daudio_adapter_common_test.cpp171 struct AudioDeviceDescriptor devicedesc = {}; variable
173 …EXPECT_NE(HDF_SUCCESS, adapter_->CreateRender(adapter_, &devicedesc, &attrs, nullptr, &renderId_));
184 struct AudioDeviceDescriptor devicedesc = {}; variable
186 InitDevDesc(devicedesc);
187 devicedesc.desc = const_cast<char *>("primary");
188 devicedesc.pins = PIN_OUT_HEADSET;
190 int32_t ret = adapter_->CreateRender(adapter_, &devicedesc, &attrs, &render, &renderId_);
193 …EXPECT_EQ(HDF_SUCCESS, adapter_->CreateRender(adapter_, &devicedesc, &attrs, &render, &renderId_));
206 struct AudioDeviceDescriptor devicedesc = {}; variable
208 InitDevDesc(devicedesc);
[all …]
/test/xts/hats/hdf/audio/idl/benchmarktest/adapter/
Daudio_adapter_benchmarktest.cpp169 struct AudioDeviceDescriptor devicedesc = {}; in BENCHMARK_F() local
171 InitDevDesc(devicedesc); in BENCHMARK_F()
172 devicedesc.desc = const_cast<char*>("primary"); in BENCHMARK_F()
173 devicedesc.pins = PIN_OUT_SPEAKER; in BENCHMARK_F()
179 ret = adapter_->CreateRender(adapter_, &devicedesc, &attrs, &render, &renderId_); in BENCHMARK_F()
182 …ASSERT_EQ(HDF_SUCCESS, adapter_->CreateRender(adapter_, &devicedesc, &attrs, &render, &renderId_)); in BENCHMARK_F()
196 struct AudioDeviceDescriptor devicedesc = {}; in BENCHMARK_F() local
198 InitDevDesc(devicedesc); in BENCHMARK_F()
199 devicedesc.desc = const_cast<char*>("primary"); in BENCHMARK_F()
200 devicedesc.pins = PIN_IN_MIC; in BENCHMARK_F()
[all …]
/test/xts/hats/hdf/audio/idl/common/adapter/src/
Daudio_adapter_multchannel_test.cpp157 struct AudioDeviceDescriptor devicedesc = {}; variable
159 InitDevDesc(devicedesc);
160 devicedesc.desc = strdup("");
161 devicedesc.pins = PIN_OUT_SPEAKER;
164 int32_t ret = adapter_->CreateRender(adapter_, &devicedesc, &attrs, &render, &renderId_);
Daudio_adapter_common_test.cpp167 struct AudioDeviceDescriptor devicedesc = {}; variable
169 … EXPECT_NE(HDF_SUCCESS, adapter_->CreateRender(nullptr, &devicedesc, &attrs, &render, &renderId_));
182 struct AudioDeviceDescriptor devicedesc = {}; variable
183 …EXPECT_EQ(HDF_ERR_INVALID_PARAM, adapter_->CreateRender(adapter_, &devicedesc, nullptr, &render, &…
189 struct AudioDeviceDescriptor devicedesc = {}; variable
191 InitDevDesc(devicedesc);
192 devicedesc.desc = const_cast<char*>("primary");
193 devicedesc.pins = PIN_OUT_SPEAKER;
197 int32_t ret = adapter_->CreateRender(adapter_, &devicedesc, &attrs, &render, &renderId_);
200 …ASSERT_EQ(HDF_SUCCESS, adapter_->CreateRender(adapter_, &devicedesc, &attrs, &render, &renderId_));
[all …]