Home
last modified time | relevance | path

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

/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
H A DAudioPrimaryHidlHalUtils.h48 static auto get(T t, hidl_vec<hidl_string> keys, ReturnIn returnIn) { in get()
50 return t->getParameters(context, keys, returnIn); in get()
68 EXPECT_OK(stream->getSupportedSampleRates(getFormat(stream), returnIn(res, rates))); in sampleRates()
75 EXPECT_OK(stream->getSupportedChannelMasks(getFormat(stream), returnIn(res, channels))); in channelMasks()
81 EXPECT_OK(stream->getSupportedFormats(returnIn(capabilities))); in formats()
87 EXPECT_OK(stream->getSupportedFormats(returnIn(res, capabilities))); in formats()
H A DAudioPrimaryHidlHalTest.cpp51 ASSERT_OK(getDevice()->getMicrophones(returnIn(res, microphones))); in TEST_P()
92 ASSERT_OK(stream->getActiveMicrophones(returnIn(res, activeMicrophones))); in TEST_P()
142 ASSERT_OK(stream->getDevices(returnIn(res, devices)));
189 ASSERT_OK(device->getHwAvSync(returnIn(res, sync)));
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/2.0/
H A DAudioPrimaryHidlHalUtils.h35 static auto get(T t, hidl_vec<hidl_string> keys, ReturnIn returnIn) { in get()
36 return t->getParameters(keys, returnIn); in get()
55 EXPECT_OK(stream->getSupportedSampleRates(returnIn(rates))); in sampleRates()
60 EXPECT_OK(stream->getSupportedChannelMasks(returnIn(channels))); in channelMasks()
65 EXPECT_OK(stream->getSupportedFormats(returnIn(capabilities))); in formats()
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
H A DAudioPrimaryHidlHalTest.cpp28 ASSERT_OK(getDevice()->getInputBufferSize(getConfig(), returnIn(res, bufferSize))); in TEST_P()
149 returnIn(res, handle))); in TEST_P()
160 returnIn(res, handle))); in TEST_P()
178 returnIn(res, handle))); in TEST_P()
189 hidl_vec<AudioPortConfig>{validSink}, returnIn(res, handle))); in TEST_P()
546 returnIn(res, mPatchHandle))); in createPatchIfNeeded()
592 ASSERT_OK(stream->getPresentationPosition(returnIn(res, frames, ts))); in waitForPresentationPositionAdvance()
719 returnIn(res, mPatchHandle))); in createPatchIfNeeded()
752 ASSERT_OK(stream->getCapturePosition(returnIn(res, framesInitial, ts))); in waitForCapturePositionAdvance()
763 ASSERT_OK(stream->getCapturePosition(returnIn(res, frames, ts))); in waitForCapturePositionAdvance()
[all …]
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/
H A DAudioPrimaryHidlHalTest.h728 ASSERT_OK(Parameters::get(getDevice(), keys, returnIn(res, values))); in TEST_P()
1364 auto ret = stream->getSupportedProfiles(returnIn(res, profiles));
1379 auto ret = stream->getSupportedProfiles(returnIn(res, profiles));
1424 auto ret = stream->getAudioProperties(returnIn(res, actualConfig));
1444 ASSERT_OK(Parameters::get(stream, keys, returnIn(res, parameters)));
1520 EXPECT_OK(stream->createMmapBuffer(value, returnIn(res, info)));
1531 ASSERT_OK(stream->getMmapPosition(returnIn(res, position)));
1546 ASSERT_OK(stream->getAudioSource(returnIn(res, source)));
1627 ASSERT_OK(stream->getCapturePosition(returnIn(res, frames, time))); in TEST_P()
1702 ASSERT_OK(stream->getRenderPosition(returnIn(res, dspFrames))); in TEST_P()
[all …]
H A DDeviceManager.h146 auto ret = factory->openDevice(name, returnIn(result, device)); in openDevice()
163 auto ret = factory->openDevice(IDevicesFactory::Device::PRIMARY, returnIn(result, device)); in openPrimaryDevice()
165 auto ret = factory->openPrimaryDevice(returnIn(result, device)); in openPrimaryDevice()
/aosp12/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/
H A DReturnIn.h64 detail::ReturnIn<ResultStore...> returnIn(ResultStore&... ts) { in returnIn() function
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/
H A DAudioPrimaryHidlHalTest.cpp52 hidl_vec<AudioPortConfig>(), returnIn(res, ignored))); in TEST_P()