Home
last modified time | relevance | path

Searched refs:adapterDescs_ (Results 1 – 8 of 8) sorted by relevance

/test/xts/hats/hdf/audio/idl/common/adapter/src/
Daudio_adapter_multchannel_test.cpp40 struct AudioAdapterDescriptor *adapterDescs_ = nullptr; member in __anonb73685ab0111::HdfAudioAdapterMultiTest
101 ASSERT_NE(adapterDescs_, nullptr); in InitDevDesc()
102 ASSERT_NE(adapterDescs_->ports, nullptr); in InitDevDesc()
103 for (uint32_t index = 0; index < adapterDescs_->portsLen; index++) { in InitDevDesc()
104 if (adapterDescs_->ports[index].dir == PORT_OUT) { in InitDevDesc()
105 devDesc.portId = adapterDescs_->ports[index].portId; in InitDevDesc()
117 adapterDescs_ = (struct AudioAdapterDescriptor *)OsalMemCalloc( in SetUp()
119 ASSERT_NE(adapterDescs_, nullptr); in SetUp()
121 ASSERT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &size)); in SetUp()
123 ReleaseAdapterDescs(&adapterDescs_, g_audioAdapterNumMax); in SetUp()
[all …]
Daudio_adapter_common_test.cpp42 struct AudioAdapterDescriptor *adapterDescs_ = nullptr; member in __anon3632d8390111::HdfAudioUtAdapterTest
101 ASSERT_NE(adapterDescs_, nullptr); in InitDevDesc()
102 ASSERT_NE(adapterDescs_->ports, nullptr); in InitDevDesc()
103 for (uint32_t index = 0; index < adapterDescs_->portsLen; index++) { in InitDevDesc()
104 if (adapterDescs_->ports[index].dir == PORT_OUT) { in InitDevDesc()
105 devDesc.portId = adapterDescs_->ports[index].portId; in InitDevDesc()
117 adapterDescs_ = (struct AudioAdapterDescriptor *)OsalMemCalloc( in SetUp()
119 ASSERT_NE(adapterDescs_, nullptr); in SetUp()
121 ASSERT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &size)); in SetUp()
123 ReleaseAdapterDescs(&adapterDescs_, g_audioAdapterNumMax); in SetUp()
[all …]
/test/xts/hats/hdf/audio/idl/benchmarktest/manager/
Daudio_manager_benchmarktest.cpp34 struct AudioAdapterDescriptor *adapterDescs_ = nullptr; member in __anon7a1c393b0111::AudioManagerBenchmarkTest
87 adapterDescs_ = (struct AudioAdapterDescriptor *)OsalMemCalloc( in BENCHMARK_F()
89 ASSERT_NE(adapterDescs_, nullptr); in BENCHMARK_F()
92 ret = manager_->GetAllAdapters(manager_, adapterDescs_, &size); in BENCHMARK_F()
95 ReleaseAdapterDescs(&adapterDescs_, g_audioAdapterNumMax); in BENCHMARK_F()
106 adapterDescs_ = (struct AudioAdapterDescriptor *)OsalMemCalloc( in BENCHMARK_F()
108 ASSERT_NE(adapterDescs_, nullptr); in BENCHMARK_F()
109 ret = manager_->GetAllAdapters(manager_, adapterDescs_, &size); in BENCHMARK_F()
113 ret = manager_->LoadAdapter(manager_, &adapterDescs_[0], &adapter); in BENCHMARK_F()
118 ret = manager_->UnloadAdapter(manager_, adapterDescs_[0].adapterName); in BENCHMARK_F()
[all …]
/test/xts/hats/hdf/audio/idl/benchmarktest/adapter/
Daudio_adapter_benchmarktest.cpp43 struct AudioAdapterDescriptor *adapterDescs_ = nullptr; member in __anondaea2d470111::AudioAdapterBenchmarkTest
104 ASSERT_NE(adapterDescs_, nullptr); in InitDevDesc()
105 ASSERT_NE(adapterDescs_->ports, nullptr); in InitDevDesc()
106 for (uint32_t index = 0; index < adapterDescs_->portsLen; index++) { in InitDevDesc()
107 if (adapterDescs_->ports[index].dir == PORT_OUT) { in InitDevDesc()
108 devDesc.portId = adapterDescs_->ports[index].portId; in InitDevDesc()
120 adapterDescs_ = (struct AudioAdapterDescriptor *)OsalMemCalloc( in SetUp()
122 ASSERT_NE(adapterDescs_, nullptr); in SetUp()
124 ASSERT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &size)); in SetUp()
126 ReleaseAdapterDescs(&adapterDescs_, g_audioAdapterNumMax); in SetUp()
[all …]
/test/xts/hats/hdf/audio/idl/benchmarktest/capture/
Daudio_capture_benchmarktest.cpp47 struct AudioAdapterDescriptor *adapterDescs_ = nullptr; member in __anon384b3d2d0111::AudioCaptureBenchmarkTest
92 ASSERT_NE(adapterDescs_, nullptr); in InitCaptureDevDesc()
93 ASSERT_NE(adapterDescs_->ports, nullptr); in InitCaptureDevDesc()
94 for (uint32_t index = 0; index < adapterDescs_->portsLen; index++) { in InitCaptureDevDesc()
95 if (adapterDescs_->ports[index].dir == PORT_IN) { in InitCaptureDevDesc()
96 devDesc.portId = adapterDescs_->ports[index].portId; in InitCaptureDevDesc()
158 adapterDescs_ = (struct AudioAdapterDescriptor *)OsalMemCalloc( in SetUp()
160 ASSERT_NE(adapterDescs_, nullptr); in SetUp()
162 EXPECT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &size)); in SetUp()
164 ReleaseAllAdapterDescs(&adapterDescs_, MAX_AUDIO_ADAPTER_NUM); in SetUp()
[all …]
/test/xts/hats/hdf/audio/idl/common/capture/src/
Daudio_capture_common_test.cpp40 struct AudioAdapterDescriptor *adapterDescs_ = nullptr; member in __anon83dd681f0111::AudioUtCaptureTest
86 ASSERT_NE(adapterDescs_, nullptr); in InitCaptureDevDesc()
87 ASSERT_NE(adapterDescs_->ports, nullptr); in InitCaptureDevDesc()
88 for (uint32_t index = 0; index < adapterDescs_->portsLen; index++) { in InitCaptureDevDesc()
89 if (adapterDescs_->ports[index].dir == PORT_IN) { in InitCaptureDevDesc()
90 devDesc.portId = adapterDescs_->ports[index].portId; in InitCaptureDevDesc()
152 adapterDescs_ = (struct AudioAdapterDescriptor *)OsalMemCalloc( in SetUp()
154 ASSERT_NE(adapterDescs_, nullptr); in SetUp()
156 EXPECT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &size)); in SetUp()
158 ReleaseAllAdapterDescs(&adapterDescs_, MAX_AUDIO_ADAPTER_NUM); in SetUp()
[all …]
/test/xts/hats/hdf/audio/idl/common/adapter_additional/src/
Daudio_adapter_common_test.cpp42 struct AudioAdapterDescriptor *adapterDescs_ = nullptr; member in __anone421cb710111::HdfAudioUtAdapterTestAdditional
104 ASSERT_NE(adapterDescs_, nullptr); in InitDevDesc()
105 ASSERT_NE(adapterDescs_->ports, nullptr); in InitDevDesc()
106 for (uint32_t index = 0; index < adapterDescs_->portsLen; index++) { in InitDevDesc()
107 if (adapterDescs_->ports[index].dir == PORT_OUT) { in InitDevDesc()
108 devDesc.portId = adapterDescs_->ports[index].portId; in InitDevDesc()
120 adapterDescs_ = in SetUp()
122 ASSERT_NE(adapterDescs_, nullptr); in SetUp()
124 ASSERT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &size)); in SetUp()
126 ReleaseAdapterDescs(&adapterDescs_, AUDIO_ADAPTER_NUM_MAX); in SetUp()
[all …]
/test/xts/hats/hdf/audio/idl/common/capture_additional/src/
DAudioCaptureCommonTestAdditional.cpp41 struct AudioAdapterDescriptor *adapterDescs_ = nullptr; member in __anonb42db0530111::AudioUtCaptureTestAdditional
86 ASSERT_NE(adapterDescs_, nullptr); in InitCaptureDevDesc()
87 ASSERT_NE(adapterDescs_->ports, nullptr); in InitCaptureDevDesc()
88 for (uint32_t index = 0; index < adapterDescs_->portsLen; index++) { in InitCaptureDevDesc()
89 if (adapterDescs_->ports[index].dir == PORT_IN) { in InitCaptureDevDesc()
90 devDesc.portId = adapterDescs_->ports[index].portId; in InitCaptureDevDesc()
152 adapterDescs_ = in SetUp()
154 ASSERT_NE(adapterDescs_, nullptr); in SetUp()
156 EXPECT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &size)); in SetUp()
158 ReleaseAllAdapterDescs(&adapterDescs_, MAX_AUDIO_ADAPTER_NUM); in SetUp()
[all …]