Home
last modified time | relevance | path

Searched refs:audioProfile (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp166 status_t checkExact(const sp<AudioProfile> &audioProfile, in checkExact() argument
171 if (audio_formats_match(format, audioProfile->getFormat()) && in checkExact()
172 audioProfile->supportsChannels(channelMask) && in checkExact()
173 audioProfile->supportsRate(samplingRate)) { in checkExact()
179 status_t checkCompatibleSamplingRate(const sp<AudioProfile> &audioProfile, in checkCompatibleSamplingRate() argument
185 const SampleRateSet sampleRates = audioProfile->getSampleRates(); in checkCompatibleSamplingRate()
215 status_t checkCompatibleChannelMask(const sp<AudioProfile> &audioProfile, in checkCompatibleChannelMask() argument
221 const ChannelMaskSet channelMasks = audioProfile->getChannels(); in checkCompatibleChannelMask()
/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp71 sp<AudioProfile> audioProfile = AudioProfile::createFullDynamic(); in getAudioProfileVectorForTest() local
72 audioProfile->setChannels({AUDIO_CHANNEL_OUT_MONO, AUDIO_CHANNEL_OUT_STEREO}); in getAudioProfileVectorForTest()
73 audioProfile->setSampleRates({48000}); in getAudioProfileVectorForTest()
74 audioProfiles.add(audioProfile); in getAudioProfileVectorForTest()
/frameworks/av/media/libaudiofoundation/
DAudioProfile.cpp276 for (const auto &audioProfile : *this) { in writeToParcel()
277 if ((status = parcel->writeParcelable(*audioProfile)) != NO_ERROR) { in writeToParcel()