Home
last modified time | relevance | path

Searched refs:getChannelCount (Results 1 – 25 of 25) sorted by relevance

/hardware/interfaces/audio/aidl/common/tests/
Dutils_tests.cpp29 using aidl::android::hardware::audio::common::getChannelCount;
39 EXPECT_EQ(0UL, getChannelCount(AudioChannelLayout{})); in TEST()
40 EXPECT_EQ(0UL, getChannelCount(AudioChannelLayout::make<Tag::invalid>(0))); in TEST()
41 EXPECT_EQ(0UL, getChannelCount(AudioChannelLayout::make<Tag::invalid>(-1))); in TEST()
46 EXPECT_EQ(0UL, getChannelCount(AudioChannelLayout::make<Tag::indexMask>(0))); in TEST()
51 EXPECT_EQ(N##UL, getChannelCount(l)) << l.toString(); \ in TEST()
95 EXPECT_EQ(expected_count, getChannelCount(l)) << l.toString(); in TEST()
110 EXPECT_EQ(expected_count, getChannelCount(l)) << l.toString(); in TEST()
/hardware/interfaces/bluetooth/audio/utils/aidl_session/
DBluetoothLeAudioCodecsProvider.cpp97 strategy_config.getChannelCount(); in GetLeAudioCodecInfo()
395 strategy_configuration_iter->second.getChannelCount(), in GetUnicastCapability()
404 strategy_configuration_iter->second.getChannelCount(), in GetUnicastCapability()
443 strategy_configuration_iter->second.getChannelCount(), bcastLc3Cap); in GetBroadcastCapability()
533 strategy_configuration.getChannelCount() == 1) || in IsValidStrategyConfiguration()
535 strategy_configuration.getChannelCount() == 2)) { in IsValidStrategyConfiguration()
541 strategy_configuration.getChannelCount() == 2) { in IsValidStrategyConfiguration()
548 strategy_configuration.getChannelCount() == 1) { in IsValidStrategyConfiguration()
/hardware/interfaces/audio/common/7.1/enums/include/
Dandroid_audio_policy_configuration_V7_1-enums.h28 static inline size_t getChannelCount(AudioChannelMask mask) { in getChannelCount() function
133 static inline ssize_t getChannelCount(const std::string& mask) { in getChannelCount() function
134 return getChannelCount(stringToAudioChannelMask(mask)); in getChannelCount()
/hardware/interfaces/audio/common/7.0/enums/include/
Dandroid_audio_policy_configuration_V7_0-enums.h28 static inline size_t getChannelCount(AudioChannelMask mask) { in getChannelCount() function
131 static inline ssize_t getChannelCount(const std::string& mask) { in getChannelCount() function
132 return getChannelCount(stringToAudioChannelMask(mask)); in getChannelCount()
/hardware/interfaces/audio/aidl/default/
DEffectContext.cpp22 using aidl::android::hardware::audio::common::getChannelCount;
175 mInputChannelCount = getChannelCount(input.base.channelMask); in setCommon()
176 mOutputChannelCount = getChannelCount(output.base.channelMask); in setCommon()
DStream.cpp31 using aidl::android::hardware::audio::common::getChannelCount;
97 streamDataProcessor->startDataProcessor(mSampleRate, getChannelCount(mChannelLayout), in startStreamDataProcessor()
840 getChannelCount(getContext().getChannelLayout()), in getActiveMicrophones()
889 : mChannelCount(getChannelCount(context->getChannelLayout())), mHwGains(mChannelCount, 0.0f) {} in StreamInHwGainHelper()
1020 : mChannelCount(getChannelCount(context->getChannelLayout())), in StreamOutHwVolumeHelper()
/hardware/interfaces/audio/aidl/default/alsa/
DUtils.cpp29 using aidl::android::hardware::audio::common::getChannelCount;
73 channelMaskToCountMap.emplace(getChannelCount(channelMask), channelMask); in make_ChannelCountToMaskMap()
191 static_cast<unsigned>(getChannelCount(channelMask)), 0u /*defaultValue*/); in getChannelCountFromChannelMask()
195 static_cast<unsigned>(getChannelCount(channelMask)), in getChannelCountFromChannelMask()
/hardware/interfaces/audio/aidl/default/spatializer/
DSpatializerSw.cpp26 using aidl::android::hardware::audio::common::getChannelCount;
207 const auto inputChannelCount = getChannelCount(mCommon.input.base.channelMask); in process()
208 const auto outputChannelCount = getChannelCount(mCommon.output.base.channelMask); in process()
/hardware/interfaces/audio/aidl/common/include/
DUtils.h82 constexpr size_t getChannelCount(
110 return getPcmSampleSizeInBytes(format.pcm) * getChannelCount(layout); in getFrameSizeInBytes()
/hardware/interfaces/audio/aidl/default/r_submix/
DSubmixRoute.cpp27 using aidl::android::hardware::audio::common::getChannelCount;
185 const int channelCount = getChannelCount(streamConfig.channelLayout); in createPipe()
/hardware/interfaces/audio/aidl/vts/
DVtsHalPresetReverbTargetTest.cpp27 using aidl::android::hardware::audio::common::getChannelCount;
88 getChannelCount(AudioChannelLayout::make<AudioChannelLayout::layoutMask>(
DVtsHalVirtualizerTargetTest.cpp26 using aidl::android::hardware::audio::common::getChannelCount;
101 int kChannelCount = getChannelCount(
DVtsHalBassBoostTargetTest.cpp27 using aidl::android::hardware::audio::common::getChannelCount;
82 int channelCount = getChannelCount( in setFrameCounts()
DVtsHalVolumeTargetTest.cpp24 using aidl::android::hardware::audio::common::getChannelCount;
68 int channelCount = getChannelCount( in initFrameCount()
DVtsHalEnvironmentalReverbTargetTest.cpp26 using aidl::android::hardware::audio::common::getChannelCount;
288 getChannelCount(AudioChannelLayout::make<AudioChannelLayout::layoutMask>(
DVtsHalDownmixTargetTest.cpp25 using aidl::android::hardware::audio::common::getChannelCount;
145 mInputChannelCount = getChannelCount( in setDataTestParams()
DVtsHalDynamicsProcessingTest.cpp50 mChannelCount = ::aidl::android::hardware::audio::common::getChannelCount( in DynamicsProcessingTestHelper()
DVtsHalAudioCoreModuleTargetTest.cpp58 using aidl::android::hardware::audio::common::getChannelCount;
3318 GenerateTestArrays<float>(getChannelCount(portConfig.channelMask.value()), in HwGainHwVolume()
3325 GenerateTestArrays<float>(getChannelCount(portConfig.channelMask.value()), in HwGainHwVolume()
/hardware/interfaces/audio/core/all-versions/vts/functional/tests/
Dgenerators_tests.cpp160 xsd::getChannelCount(config.base.channelMask); in TEST()
/hardware/interfaces/audio/effect/all-versions/vts/functional/
DVtsHalAudioEffectTargetTest.cpp221 void getChannelCount(uint32_t* channelCount);
279 void AudioEffectHidlTest::getChannelCount(uint32_t* channelCount) { in getChannelCount() function in AudioEffectHidlTest
302 *channelCount = android::audio::policy::configuration::V7_0::getChannelCount( in getChannelCount()
546 ASSERT_NO_FATAL_FAILURE(getChannelCount(&channelCount)); in TEST_P()
562 ASSERT_NO_FATAL_FAILURE(getChannelCount(&channelCount)); in TEST_P()
/hardware/interfaces/audio/aidl/default/dynamicProcessing/
DDynamicsProcessingSw.h35 mChannelCount(::aidl::android::hardware::audio::common::getChannelCount( in DynamicsProcessingSwContext()
DDynamicsProcessingSw.cpp285 mChannelCount = ::aidl::android::hardware::audio::common::getChannelCount( in setCommon()
/hardware/interfaces/audio/aidl/default/virtualizer/
DVirtualizerSw.cpp174 const auto chNum = ::aidl::android::hardware::audio::common::getChannelCount(payload.layout); in getSpeakerAngles()
/hardware/interfaces/bluetooth/audio/utils/le_audio_codec_capabilities/schema/
Dcurrent.txt85 method public short getChannelCount();
/hardware/interfaces/audio/aidl/default/bluetooth/
DStreamBluetooth.cpp135 aidl::android::hardware::audio::common::getChannelCount(config.channelMask); in checkConfigParams()