Searched defs:p_ie (Results 1 - 5 of 5) sorted by relevance

/system/bt/stack/a2dp/
H A Da2dp_vendor_aptx.cc88 // |p_ie| is a pointer to the aptX Codec Information Element information.
92 const tA2DP_APTX_CIE* p_ie,
94 if (p_ie == NULL || p_result == NULL) {
101 *p_result++ = (uint8_t)(p_ie->vendorId & 0x000000FF);
102 *p_result++ = (uint8_t)((p_ie->vendorId & 0x0000FF00) >> 8);
103 *p_result++ = (uint8_t)((p_ie->vendorId & 0x00FF0000) >> 16);
104 *p_result++ = (uint8_t)((p_ie->vendorId & 0xFF000000) >> 24);
105 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF);
106 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8);
107 *p_result++ = p_ie
91 A2DP_BuildInfoAptx(uint8_t media_type, const tA2DP_APTX_CIE* p_ie, uint8_t* p_result) argument
118 A2DP_ParseInfoAptx(tA2DP_APTX_CIE* p_ie, const uint8_t* p_codec_info, bool is_capability) argument
[all...]
H A Da2dp_aac.cc94 // |p_ie| is a pointer to the AAC Codec Information Element information.
98 const tA2DP_AAC_CIE* p_ie,
100 if (p_ie == NULL || p_result == NULL) {
109 if (p_ie->objectType == 0) return A2DP_INVALID_PARAMS;
110 *p_result++ = p_ie->objectType;
113 if (p_ie->sampleRate == 0) return A2DP_INVALID_PARAMS;
114 *p_result++ = (uint8_t)(p_ie->sampleRate & A2DP_AAC_SAMPLING_FREQ_MASK0);
115 *p_result = (uint8_t)((p_ie->sampleRate & A2DP_AAC_SAMPLING_FREQ_MASK1) >> 8);
118 if (p_ie->channelMode == 0) return A2DP_INVALID_PARAMS;
119 *p_result++ |= (p_ie
97 A2DP_BuildInfoAac(uint8_t media_type, const tA2DP_AAC_CIE* p_ie, uint8_t* p_result) argument
138 A2DP_ParseInfoAac(tA2DP_AAC_CIE* p_ie, const uint8_t* p_codec_info, bool is_capability) argument
[all...]
H A Da2dp_vendor_aptx_hd.cc95 // |p_ie| is a pointer to the aptX-HD Codec Information Element information.
99 const tA2DP_APTX_HD_CIE* p_ie,
101 if (p_ie == NULL || p_result == NULL) {
108 *p_result++ = (uint8_t)(p_ie->vendorId & 0x000000FF);
109 *p_result++ = (uint8_t)((p_ie->vendorId & 0x0000FF00) >> 8);
110 *p_result++ = (uint8_t)((p_ie->vendorId & 0x00FF0000) >> 16);
111 *p_result++ = (uint8_t)((p_ie->vendorId & 0xFF000000) >> 24);
112 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF);
113 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8);
114 *p_result++ = p_ie
98 A2DP_BuildInfoAptxHd(uint8_t media_type, const tA2DP_APTX_HD_CIE* p_ie, uint8_t* p_result) argument
129 A2DP_ParseInfoAptxHd(tA2DP_APTX_HD_CIE* p_ie, const uint8_t* p_codec_info, bool is_capability) argument
[all...]
H A Da2dp_vendor_ldac.cc86 // |p_ie| is a pointer to the LDAC Codec Information Element information.
90 const tA2DP_LDAC_CIE* p_ie,
92 if (p_ie == NULL || p_result == NULL) {
101 *p_result++ = (uint8_t)(p_ie->vendorId & 0x000000FF);
102 *p_result++ = (uint8_t)((p_ie->vendorId & 0x0000FF00) >> 8);
103 *p_result++ = (uint8_t)((p_ie->vendorId & 0x00FF0000) >> 16);
104 *p_result++ = (uint8_t)((p_ie->vendorId & 0xFF000000) >> 24);
105 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF);
106 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8);
109 *p_result = (uint8_t)(p_ie
89 A2DP_BuildInfoLdac(uint8_t media_type, const tA2DP_LDAC_CIE* p_ie, uint8_t* p_result) argument
126 A2DP_ParseInfoLdac(tA2DP_LDAC_CIE* p_ie, const uint8_t* p_codec_info, bool is_capability) argument
[all...]
H A Da2dp_sbc.cc112 // |p_ie| is a pointer to the SBC Codec Information Element information.
116 const tA2DP_SBC_CIE* p_ie,
118 if (p_ie == NULL || p_result == NULL ||
119 (p_ie->samp_freq & ~A2DP_SBC_IE_SAMP_FREQ_MSK) ||
120 (p_ie->ch_mode & ~A2DP_SBC_IE_CH_MD_MSK) ||
121 (p_ie->block_len & ~A2DP_SBC_IE_BLOCKS_MSK) ||
122 (p_ie->num_subbands & ~A2DP_SBC_IE_SUBBAND_MSK) ||
123 (p_ie->alloc_method & ~A2DP_SBC_IE_ALLOC_MD_MSK) ||
124 (p_ie->min_bitpool > p_ie
115 A2DP_BuildInfoSbc(uint8_t media_type, const tA2DP_SBC_CIE* p_ie, uint8_t* p_result) argument
154 A2DP_ParseInfoSbc(tA2DP_SBC_CIE* p_ie, const uint8_t* p_codec_info, bool is_capability) argument
[all...]

Completed in 60 milliseconds