Home
last modified time | relevance | path

Searched refs:p_cap (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/include/
Davdtc_api.h110 AvdtpSepConfig* p_cap);
122 AvdtpSepConfig* p_cap);
/system/bt/stack/a2dp/
Da2dp_sbc.cc111 const tA2DP_SBC_CIE* p_cap, const uint8_t* p_codec_info,
344 const tA2DP_SBC_CIE* p_cap, const uint8_t* p_codec_info, in A2DP_CodecInfoMatchesCapabilitySbc() argument
359 cfg_cie.samp_freq, p_cap->samp_freq); in A2DP_CodecInfoMatchesCapabilitySbc()
361 cfg_cie.ch_mode, p_cap->ch_mode); in A2DP_CodecInfoMatchesCapabilitySbc()
363 cfg_cie.block_len, p_cap->block_len); in A2DP_CodecInfoMatchesCapabilitySbc()
365 cfg_cie.num_subbands, p_cap->num_subbands); in A2DP_CodecInfoMatchesCapabilitySbc()
367 cfg_cie.alloc_method, p_cap->alloc_method); in A2DP_CodecInfoMatchesCapabilitySbc()
369 cfg_cie.min_bitpool, p_cap->min_bitpool); in A2DP_CodecInfoMatchesCapabilitySbc()
371 cfg_cie.max_bitpool, p_cap->max_bitpool); in A2DP_CodecInfoMatchesCapabilitySbc()
374 if ((cfg_cie.samp_freq & p_cap->samp_freq) == 0) return A2DP_NS_SAMP_FREQ; in A2DP_CodecInfoMatchesCapabilitySbc()
[all …]
Da2dp_aac.cc110 const tA2DP_AAC_CIE* p_cap, const uint8_t* p_codec_info,
266 const tA2DP_AAC_CIE* p_cap, const uint8_t* p_codec_info, in A2DP_CodecInfoMatchesCapabilityAac() argument
281 cfg_cie.objectType, p_cap->objectType); in A2DP_CodecInfoMatchesCapabilityAac()
283 cfg_cie.sampleRate, p_cap->sampleRate); in A2DP_CodecInfoMatchesCapabilityAac()
285 cfg_cie.channelMode, p_cap->channelMode); in A2DP_CodecInfoMatchesCapabilityAac()
288 __func__, cfg_cie.variableBitRateSupport, p_cap->variableBitRateSupport); in A2DP_CodecInfoMatchesCapabilityAac()
290 cfg_cie.bitRate, p_cap->bitRate); in A2DP_CodecInfoMatchesCapabilityAac()
293 if ((cfg_cie.objectType & p_cap->objectType) == 0) return A2DP_BAD_OBJ_TYPE; in A2DP_CodecInfoMatchesCapabilityAac()
296 if ((cfg_cie.sampleRate & p_cap->sampleRate) == 0) return A2DP_BAD_SAMP_FREQ; in A2DP_CodecInfoMatchesCapabilityAac()
299 if ((cfg_cie.channelMode & p_cap->channelMode) == 0) return A2DP_NS_CH_MODE; in A2DP_CodecInfoMatchesCapabilityAac()
Da2dp_vendor_aptx.cc84 const tA2DP_APTX_CIE* p_cap, const uint8_t* p_codec_info,
203 const tA2DP_APTX_CIE* p_cap, const uint8_t* p_codec_info, in A2DP_CodecInfoMatchesCapabilityAptx() argument
218 cfg_cie.sampleRate, p_cap->sampleRate); in A2DP_CodecInfoMatchesCapabilityAptx()
220 cfg_cie.channelMode, p_cap->channelMode); in A2DP_CodecInfoMatchesCapabilityAptx()
223 if ((cfg_cie.sampleRate & p_cap->sampleRate) == 0) return A2DP_NS_SAMP_FREQ; in A2DP_CodecInfoMatchesCapabilityAptx()
226 if ((cfg_cie.channelMode & p_cap->channelMode) == 0) return A2DP_NS_CH_MODE; in A2DP_CodecInfoMatchesCapabilityAptx()
Da2dp_vendor_aptx_hd.cc91 const tA2DP_APTX_HD_CIE* p_cap, const uint8_t* p_codec_info,
221 const tA2DP_APTX_HD_CIE* p_cap, const uint8_t* p_codec_info, in A2DP_CodecInfoMatchesCapabilityAptxHd() argument
236 cfg_cie.sampleRate, p_cap->sampleRate); in A2DP_CodecInfoMatchesCapabilityAptxHd()
238 cfg_cie.channelMode, p_cap->channelMode); in A2DP_CodecInfoMatchesCapabilityAptxHd()
241 if ((cfg_cie.sampleRate & p_cap->sampleRate) == 0) return A2DP_NS_SAMP_FREQ; in A2DP_CodecInfoMatchesCapabilityAptxHd()
244 if ((cfg_cie.channelMode & p_cap->channelMode) == 0) return A2DP_NS_CH_MODE; in A2DP_CodecInfoMatchesCapabilityAptxHd()
Da2dp_vendor_ldac.cc102 const tA2DP_LDAC_CIE* p_cap, const uint8_t* p_codec_info,
274 const tA2DP_LDAC_CIE* p_cap, const uint8_t* p_codec_info, in A2DP_CodecInfoMatchesCapabilityLdac() argument
289 cfg_cie.sampleRate, p_cap->sampleRate); in A2DP_CodecInfoMatchesCapabilityLdac()
291 cfg_cie.channelMode, p_cap->channelMode); in A2DP_CodecInfoMatchesCapabilityLdac()
294 if ((cfg_cie.sampleRate & p_cap->sampleRate) == 0) return A2DP_NS_SAMP_FREQ; in A2DP_CodecInfoMatchesCapabilityLdac()
297 if ((cfg_cie.channelMode & p_cap->channelMode) == 0) return A2DP_NS_CH_MODE; in A2DP_CodecInfoMatchesCapabilityLdac()