Home
last modified time | relevance | path

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

/system/bt/audio_hal_interface/
Dcodec_status.cc85 bool aac_offloading_capability_match(const AacParameters& aac_capability, in aac_offloading_capability_match() argument
87 if ((static_cast<AacObjectType>(aac_capability.objectType & in aac_offloading_capability_match()
90 (static_cast<SampleRate>(aac_capability.sampleRate & in aac_offloading_capability_match()
93 (static_cast<ChannelMode>(aac_capability.channelMode & in aac_offloading_capability_match()
96 (aac_capability.variableBitRateEnabled != AacVariableBitRate::ENABLED && in aac_offloading_capability_match()
98 (static_cast<BitsPerSample>(aac_capability.bitsPerSample & in aac_offloading_capability_match()
102 << " capability=" << toString(aac_capability); in aac_offloading_capability_match()
106 << " capability=" << toString(aac_capability); in aac_offloading_capability_match()
539 auto aac_capability = codec_capability.capabilities.aacCapabilities(); in IsCodecOffloadingEnabled() local
541 return aac_offloading_capability_match(aac_capability, aac_config); in IsCodecOffloadingEnabled()
Dclient_interface_unittest.cc210 AacParameters aac_capability = in IsCodecOffloadingSupported() local
213 (aac_config.objectType & aac_capability.objectType && in IsCodecOffloadingSupported()
214 aac_config.sampleRate & aac_capability.sampleRate && in IsCodecOffloadingSupported()
215 aac_config.channelMode & aac_capability.channelMode && in IsCodecOffloadingSupported()
218 aac_capability.variableBitRateEnabled == in IsCodecOffloadingSupported()
220 aac_config.bitsPerSample & aac_capability.bitsPerSample); in IsCodecOffloadingSupported()