/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_sbc.cc | 294 tA2DP_SBC_CIE cfg_cie; in A2DP_IsSourceCodecValidSbc() local 297 return (A2DP_ParseInfoSbc(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsSourceCodecValidSbc() 298 (A2DP_ParseInfoSbc(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsSourceCodecValidSbc() 302 tA2DP_SBC_CIE cfg_cie; in A2DP_IsSinkCodecValidSbc() local 305 return (A2DP_ParseInfoSbc(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsSinkCodecValidSbc() 306 (A2DP_ParseInfoSbc(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsSinkCodecValidSbc() 310 tA2DP_SBC_CIE cfg_cie; in A2DP_IsPeerSourceCodecValidSbc() local 313 return (A2DP_ParseInfoSbc(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsPeerSourceCodecValidSbc() 314 (A2DP_ParseInfoSbc(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsPeerSourceCodecValidSbc() 318 tA2DP_SBC_CIE cfg_cie; in A2DP_IsPeerSinkCodecValidSbc() local [all …]
|
D | a2dp_vendor_opus.cc | 274 tA2DP_OPUS_CIE cfg_cie; in A2DP_IsVendorSourceCodecValidOpus() local 277 return (A2DP_ParseInfoOpus(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsVendorSourceCodecValidOpus() 278 (A2DP_ParseInfoOpus(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsVendorSourceCodecValidOpus() 282 tA2DP_OPUS_CIE cfg_cie; in A2DP_IsVendorSinkCodecValidOpus() local 285 return (A2DP_ParseInfoOpus(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsVendorSinkCodecValidOpus() 286 (A2DP_ParseInfoOpus(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsVendorSinkCodecValidOpus() 290 tA2DP_OPUS_CIE cfg_cie; in A2DP_IsVendorPeerSourceCodecValidOpus() local 293 return (A2DP_ParseInfoOpus(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsVendorPeerSourceCodecValidOpus() 294 (A2DP_ParseInfoOpus(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsVendorPeerSourceCodecValidOpus() 298 tA2DP_OPUS_CIE cfg_cie; in A2DP_IsVendorPeerSinkCodecValidOpus() local [all …]
|
D | a2dp_aac.cc | 244 tA2DP_AAC_CIE cfg_cie; in A2DP_IsSourceCodecValidAac() local 247 return (A2DP_ParseInfoAac(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsSourceCodecValidAac() 248 (A2DP_ParseInfoAac(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsSourceCodecValidAac() 252 tA2DP_AAC_CIE cfg_cie; in A2DP_IsSinkCodecValidAac() local 255 return (A2DP_ParseInfoAac(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsSinkCodecValidAac() 256 (A2DP_ParseInfoAac(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsSinkCodecValidAac() 260 tA2DP_AAC_CIE cfg_cie; in A2DP_IsPeerSourceCodecValidAac() local 263 return (A2DP_ParseInfoAac(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsPeerSourceCodecValidAac() 264 (A2DP_ParseInfoAac(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsPeerSourceCodecValidAac() 268 tA2DP_AAC_CIE cfg_cie; in A2DP_IsPeerSinkCodecValidAac() local [all …]
|
D | a2dp_vendor_ldac.cc | 226 tA2DP_LDAC_CIE cfg_cie; in A2DP_IsVendorSourceCodecValidLdac() local 229 return (A2DP_ParseInfoLdac(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsVendorSourceCodecValidLdac() 230 (A2DP_ParseInfoLdac(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsVendorSourceCodecValidLdac() 234 tA2DP_LDAC_CIE cfg_cie; in A2DP_IsVendorSinkCodecValidLdac() local 237 return (A2DP_ParseInfoLdac(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsVendorSinkCodecValidLdac() 238 (A2DP_ParseInfoLdac(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsVendorSinkCodecValidLdac() 242 tA2DP_LDAC_CIE cfg_cie; in A2DP_IsVendorPeerSourceCodecValidLdac() local 245 return (A2DP_ParseInfoLdac(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsVendorPeerSourceCodecValidLdac() 246 (A2DP_ParseInfoLdac(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsVendorPeerSourceCodecValidLdac() 250 tA2DP_LDAC_CIE cfg_cie; in A2DP_IsVendorPeerSinkCodecValidLdac() local [all …]
|
D | a2dp_vendor_aptx_hd.cc | 196 tA2DP_APTX_HD_CIE cfg_cie; in A2DP_IsVendorSourceCodecValidAptxHd() local 199 return (A2DP_ParseInfoAptxHd(&cfg_cie, p_codec_info, false) == in A2DP_IsVendorSourceCodecValidAptxHd() 201 (A2DP_ParseInfoAptxHd(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsVendorSourceCodecValidAptxHd() 205 tA2DP_APTX_HD_CIE cfg_cie; in A2DP_IsVendorPeerSinkCodecValidAptxHd() local 208 return (A2DP_ParseInfoAptxHd(&cfg_cie, p_codec_info, false) == in A2DP_IsVendorPeerSinkCodecValidAptxHd() 210 (A2DP_ParseInfoAptxHd(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsVendorPeerSinkCodecValidAptxHd() 226 tA2DP_APTX_HD_CIE cfg_cie; in A2DP_CodecInfoMatchesCapabilityAptxHd() local 229 status = A2DP_ParseInfoAptxHd(&cfg_cie, p_codec_info, is_capability); in A2DP_CodecInfoMatchesCapabilityAptxHd() 237 log::verbose("FREQ peer: 0x{:x}, capability 0x{:x}", cfg_cie.sampleRate, in A2DP_CodecInfoMatchesCapabilityAptxHd() 239 log::verbose("CH_MODE peer: 0x{:x}, capability 0x{:x}", cfg_cie.channelMode, in A2DP_CodecInfoMatchesCapabilityAptxHd() [all …]
|
D | a2dp_vendor_aptx.cc | 179 tA2DP_APTX_CIE cfg_cie; in A2DP_IsVendorSourceCodecValidAptx() local 182 return (A2DP_ParseInfoAptx(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsVendorSourceCodecValidAptx() 183 (A2DP_ParseInfoAptx(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsVendorSourceCodecValidAptx() 187 tA2DP_APTX_CIE cfg_cie; in A2DP_IsVendorPeerSinkCodecValidAptx() local 190 return (A2DP_ParseInfoAptx(&cfg_cie, p_codec_info, false) == A2DP_SUCCESS) || in A2DP_IsVendorPeerSinkCodecValidAptx() 191 (A2DP_ParseInfoAptx(&cfg_cie, p_codec_info, true) == A2DP_SUCCESS); in A2DP_IsVendorPeerSinkCodecValidAptx() 207 tA2DP_APTX_CIE cfg_cie; in A2DP_CodecInfoMatchesCapabilityAptx() local 210 status = A2DP_ParseInfoAptx(&cfg_cie, p_codec_info, is_capability); in A2DP_CodecInfoMatchesCapabilityAptx() 218 log::verbose("FREQ peer: 0x{:x}, capability 0x{:x}", cfg_cie.sampleRate, in A2DP_CodecInfoMatchesCapabilityAptx() 220 log::verbose("CH_MODE peer: 0x{:x}, capability 0x{:x}", cfg_cie.channelMode, in A2DP_CodecInfoMatchesCapabilityAptx() [all …]
|