Home
last modified time | relevance | path

Searched refs:capture_ (Results 1 – 2 of 2) sorted by relevance

/drivers/peripheral/audio/test/unittest/common/capture/
Daudio_capture_common_test.cpp39 struct IAudioCapture *capture_ = nullptr; member in __anon0b8ad0680111::AudioUtCaptureTest
60 if (capture_ == nullptr) { in GetCaptureBufferSize()
64 ret = capture_->GetFrameSize(capture_, &frameSize); in GetCaptureBufferSize()
69 ret = capture_->GetFrameCount(capture_, &frameCount); in GetCaptureBufferSize()
172 …EXPECT_EQ(HDF_SUCCESS, adapter_->CreateCapture(adapter_, &devDesc, &attrs, &capture_, &captureId_)… in SetUp()
173 if (capture_ == nullptr) { in SetUp()
177 ASSERT_NE(capture_, nullptr); in SetUp()
186 ASSERT_NE(capture_, nullptr); in TearDown()
201 ASSERT_NE(capture_->CaptureFrame, nullptr);
203 int32_t ret = capture_->Start(capture_);
[all …]
/drivers/peripheral/audio/test/benchmarktest/capture/
Daudio_capture_benchmarktest.cpp45 struct IAudioCapture *capture_ = nullptr; member in __anon555357fe0111::AudioCaptureBenchmarkTest
65 if (capture_ == nullptr) { in GetCaptureBufferSize()
69 ret = capture_->GetFrameSize(capture_, &frameSize); in GetCaptureBufferSize()
74 ret = capture_->GetFrameCount(capture_, &frameCount); in GetCaptureBufferSize()
177 …EXPECT_EQ(HDF_SUCCESS, adapter_->CreateCapture(adapter_, &devDesc, &attrs, &capture_, &captureId_)… in SetUp()
178 if (capture_ == nullptr) { in SetUp()
182 ASSERT_NE(capture_, nullptr); in SetUp()
191 ASSERT_NE(capture_, nullptr); in TearDown()
203 ASSERT_NE(capture_, nullptr); in BENCHMARK_F()
207 int32_t ret = capture_->Start(capture_); in BENCHMARK_F()
[all …]