Home
last modified time | relevance | path

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

/system/bt/stack/a2dp/
Da2dp_vendor.cc33 uint16_t codec_id = A2DP_VendorCodecGetCodecId(p_codec_info); in A2DP_IsVendorSourceCodecValid() local
37 codec_id == A2DP_APTX_CODEC_ID_BLUETOOTH) { in A2DP_IsVendorSourceCodecValid()
43 codec_id == A2DP_APTX_HD_CODEC_ID_BLUETOOTH) { in A2DP_IsVendorSourceCodecValid()
48 if (vendor_id == A2DP_LDAC_VENDOR_ID && codec_id == A2DP_LDAC_CODEC_ID) { in A2DP_IsVendorSourceCodecValid()
59 uint16_t codec_id = A2DP_VendorCodecGetCodecId(p_codec_info); in A2DP_IsVendorSinkCodecValid() local
65 if (vendor_id == A2DP_LDAC_VENDOR_ID && codec_id == A2DP_LDAC_CODEC_ID) { in A2DP_IsVendorSinkCodecValid()
74 uint16_t codec_id = A2DP_VendorCodecGetCodecId(p_codec_info); in A2DP_IsVendorPeerSourceCodecValid() local
80 if (vendor_id == A2DP_LDAC_VENDOR_ID && codec_id == A2DP_LDAC_CODEC_ID) { in A2DP_IsVendorPeerSourceCodecValid()
89 uint16_t codec_id = A2DP_VendorCodecGetCodecId(p_codec_info); in A2DP_IsVendorPeerSinkCodecValid() local
93 codec_id == A2DP_APTX_CODEC_ID_BLUETOOTH) { in A2DP_IsVendorPeerSinkCodecValid()
[all …]
Da2dp_codec_config.cc178 uint16_t codec_id; in getCodecSpecificConfig() local
203 codec_id = A2DP_VendorCodecGetCodecId(codec_config); in getCodecSpecificConfig()
208 p_a2dp_offload->codec_info[4] = (codec_id & 0x000000FF); in getCodecSpecificConfig()
209 p_a2dp_offload->codec_info[5] = (codec_id & 0x0000FF00) >> 8; in getCodecSpecificConfig()
210 if (vendor_id == A2DP_LDAC_VENDOR_ID && codec_id == A2DP_LDAC_CODEC_ID) { in getCodecSpecificConfig()