Searched refs:audioProfile (Results 1 – 3 of 3) sorted by relevance
166 status_t checkExact(const sp<AudioProfile> &audioProfile, in checkExact() argument171 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() argument185 const SampleRateSet sampleRates = audioProfile->getSampleRates(); in checkCompatibleSamplingRate()215 status_t checkCompatibleChannelMask(const sp<AudioProfile> &audioProfile, in checkCompatibleChannelMask() argument221 const ChannelMaskSet channelMasks = audioProfile->getChannels(); in checkCompatibleChannelMask()
71 sp<AudioProfile> audioProfile = AudioProfile::createFullDynamic(); in getAudioProfileVectorForTest() local72 audioProfile->setChannels({AUDIO_CHANNEL_OUT_MONO, AUDIO_CHANNEL_OUT_STEREO}); in getAudioProfileVectorForTest()73 audioProfile->setSampleRates({48000}); in getAudioProfileVectorForTest()74 audioProfiles.add(audioProfile); in getAudioProfileVectorForTest()
276 for (const auto &audioProfile : *this) { in writeToParcel()277 if ((status = parcel->writeParcelable(*audioProfile)) != NO_ERROR) { in writeToParcel()