Searched refs:adapterSize_ (Results 1 – 2 of 2) sorted by relevance
/drivers/peripheral/audio/test/benchmarktest/capture/ |
D | audio_capture_mmap_benchmarktest.cpp | 45 uint32_t adapterSize_ = 0; member in __anonaa199e280111::AudioCaptureMmapBenchmarkTest 116 adapterSize_ = MAX_AUDIO_ADAPTER_NUM; in SetUp() 120 EXPECT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &adapterSize_)); in SetUp() 121 if (adapterSize_ > MAX_AUDIO_ADAPTER_NUM) { in SetUp() 122 ReleaseAllAdapterDescs(adapterDescs_, adapterSize_); in SetUp() 123 ASSERT_LT(adapterSize_, MAX_AUDIO_ADAPTER_NUM); in SetUp() 128 ReleaseAllAdapterDescs(adapterDescs_, adapterSize_); in SetUp() 139 ReleaseAllAdapterDescs(adapterDescs_, adapterSize_); in SetUp() 155 ReleaseAllAdapterDescs(adapterDescs_, adapterSize_); in TearDown()
|
/drivers/peripheral/audio/test/unittest/common/capture/ |
D | audio_capture_mmap_test.cpp | 42 uint32_t adapterSize_ = 0; member in __anond32922ea0111::AudioUtCaptureMmapTest 113 adapterSize_ = MAX_AUDIO_ADAPTER_NUM; in SetUp() 117 EXPECT_EQ(HDF_SUCCESS, manager_->GetAllAdapters(manager_, adapterDescs_, &adapterSize_)); in SetUp() 118 if (adapterSize_ > MAX_AUDIO_ADAPTER_NUM) { in SetUp() 119 ReleaseAllAdapterDescs(adapterDescs_, adapterSize_); in SetUp() 120 ASSERT_LT(adapterSize_, MAX_AUDIO_ADAPTER_NUM); in SetUp() 125 ReleaseAllAdapterDescs(adapterDescs_, adapterSize_); in SetUp() 136 ReleaseAllAdapterDescs(adapterDescs_, adapterSize_); in SetUp() 152 ReleaseAllAdapterDescs(adapterDescs_, adapterSize_); in TearDown()
|