Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.cc93 bool aac_offloading_capability_match(const AacParameters& aac_capability, in aac_offloading_capability_match() argument
95 if ((static_cast<AacObjectType>(aac_capability.objectType & in aac_offloading_capability_match()
98 (static_cast<SampleRate>(aac_capability.sampleRate & in aac_offloading_capability_match()
101 (static_cast<ChannelMode>(aac_capability.channelMode & in aac_offloading_capability_match()
104 (aac_capability.variableBitRateEnabled != AacVariableBitRate::ENABLED && in aac_offloading_capability_match()
106 (static_cast<BitsPerSample>(aac_capability.bitsPerSample & in aac_offloading_capability_match()
110 toString(aac_capability)); in aac_offloading_capability_match()
114 toString(aac_capability)); in aac_offloading_capability_match()
545 auto aac_capability = codec_capability.capabilities.aacCapabilities(); in IsCodecOffloadingEnabled() local
547 return aac_offloading_capability_match(aac_capability, aac_config); in IsCodecOffloadingEnabled()
Dclient_interface_hidl_unittest.cc292 AacParameters aac_capability = in IsCodecOffloadingSupported() local
295 (aac_config.objectType & aac_capability.objectType && in IsCodecOffloadingSupported()
296 aac_config.sampleRate & aac_capability.sampleRate && in IsCodecOffloadingSupported()
297 aac_config.channelMode & aac_capability.channelMode && in IsCodecOffloadingSupported()
300 aac_capability.variableBitRateEnabled == in IsCodecOffloadingSupported()
302 aac_config.bitsPerSample & aac_capability.bitsPerSample); in IsCodecOffloadingSupported()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dcodec_status_aidl.cc100 bool aac_offloading_capability_match(const AacCapabilities& aac_capability, in aac_offloading_capability_match() argument
102 if (!ContainedInVector(aac_capability.channelMode, aac_config.channelMode) || in aac_offloading_capability_match()
103 !ContainedInVector(aac_capability.objectType, aac_config.objectType) || in aac_offloading_capability_match()
104 !ContainedInVector(aac_capability.bitsPerSample, in aac_offloading_capability_match()
106 !ContainedInVector(aac_capability.sampleRateHz, in aac_offloading_capability_match()
108 (!aac_capability.variableBitRateSupported && in aac_offloading_capability_match()
111 aac_capability.toString()); in aac_offloading_capability_match()
115 aac_capability.toString()); in aac_offloading_capability_match()
597 auto aac_capability = in IsCodecOffloadingEnabled() local
603 return aac_offloading_capability_match(aac_capability, aac_config); in IsCodecOffloadingEnabled()