Home
last modified time | relevance | path

Searched refs:media_type (Results 1 – 13 of 13) sorted by relevance

/system/bt/stack/include/
Davdt_api.h307 uint8_t media_type; /* Media type: AVDT_MEDIA_TYPE_* */ member
475 media_type(0), in AvdtpStreamConfig()
487 media_type = 0; in Reset()
499 uint8_t media_type; // Media type: AVDT_MEDIA_TYPE_* variable
/system/bt/stack/a2dp/
Da2dp_vendor_aptx.cc92 static tA2DP_STATUS A2DP_BuildInfoAptx(uint8_t media_type, in A2DP_BuildInfoAptx() argument
100 *p_result++ = (media_type << 4); in A2DP_BuildInfoAptx()
123 uint8_t media_type; in A2DP_ParseInfoAptx() local
132 media_type = (*p_codec_info++) >> 4; in A2DP_ParseInfoAptx()
135 if (media_type != AVDT_MEDIA_TYPE_AUDIO || in A2DP_ParseInfoAptx()
Da2dp_vendor_aptx_hd.cc99 static tA2DP_STATUS A2DP_BuildInfoAptxHd(uint8_t media_type, in A2DP_BuildInfoAptxHd() argument
107 *p_result++ = (media_type << 4); in A2DP_BuildInfoAptxHd()
134 uint8_t media_type; in A2DP_ParseInfoAptxHd() local
143 media_type = (*p_codec_info++) >> 4; in A2DP_ParseInfoAptxHd()
146 if (media_type != AVDT_MEDIA_TYPE_AUDIO || in A2DP_ParseInfoAptxHd()
Da2dp_aac.cc118 static tA2DP_STATUS A2DP_BuildInfoAac(uint8_t media_type, in A2DP_BuildInfoAac() argument
126 *p_result++ = (media_type << 4); in A2DP_BuildInfoAac()
163 uint8_t media_type; in A2DP_ParseInfoAac() local
172 media_type = (*p_codec_info++) >> 4; in A2DP_ParseInfoAac()
175 if (media_type != AVDT_MEDIA_TYPE_AUDIO || codec_type != A2DP_MEDIA_CT_AAC) { in A2DP_ParseInfoAac()
Da2dp_vendor_ldac.cc110 static tA2DP_STATUS A2DP_BuildInfoLdac(uint8_t media_type, in A2DP_BuildInfoLdac() argument
118 *p_result++ = (media_type << 4); in A2DP_BuildInfoLdac()
151 uint8_t media_type; in A2DP_ParseInfoLdac() local
160 media_type = (*p_codec_info++) >> 4; in A2DP_ParseInfoLdac()
163 if (media_type != AVDT_MEDIA_TYPE_AUDIO || in A2DP_ParseInfoLdac()
Da2dp_sbc.cc121 static tA2DP_STATUS A2DP_BuildInfoSbc(uint8_t media_type, in A2DP_BuildInfoSbc() argument
140 *p_result++ = (media_type << 4); in A2DP_BuildInfoSbc()
164 uint8_t media_type; in A2DP_ParseInfoSbc() local
173 media_type = (*p_codec_info++) >> 4; in A2DP_ParseInfoSbc()
176 if (media_type != AVDT_MEDIA_TYPE_AUDIO || codec_type != A2DP_MEDIA_CT_SBC) { in A2DP_ParseInfoSbc()
Da2dp_codec_config.cc1144 uint8_t media_type = (p_codec_info[A2DP_MEDIA_TYPE_OFFSET] >> 4) & 0x0f; in A2DP_GetMediaType() local
1145 return media_type; in A2DP_GetMediaType()
/system/bt/bta/av/
Dbta_av_aact.cc365 (p_scb->sep_info[i].media_type == p_scb->media_type)) { in bta_av_next_getcap()
1004 p_info->media_type = p_scb->media_type; in bta_av_config_ind()
1179 p_scb->sep_info[i].media_type = p_scb->media_type; in bta_av_setconfig_rsp()
1450 (p_scb->sep_info[i].media_type == p_scb->media_type)) { in bta_av_disc_results()
1505 (p_scb->sep_info[i].media_type == p_scb->media_type)) { in bta_av_disc_res_as_acp()
1694 uint8_t media_type = A2DP_GetMediaType(p_scb->peer_cap.codec_info); in bta_av_getcap_results() local
1705 APPL_TRACE_DEBUG("%s: media type 0x%x, 0x%x", __func__, media_type, in bta_av_getcap_results()
1706 p_scb->media_type); in bta_av_getcap_results()
1711 if ((p_scb->peer_cap.num_codec != 0) && (media_type == p_scb->media_type) && in bta_av_getcap_results()
2325 if (p_scb->media_type == AVDT_MEDIA_TYPE_AUDIO) { in bta_av_start_ok()
Dbta_av_main.cc602 p_scb->media_type = AVDT_MEDIA_TYPE_AUDIO; in bta_av_api_register()
604 avdtp_stream_config.media_type = AVDT_MEDIA_TYPE_AUDIO; in bta_av_api_register()
1468 dprintf(fd, " Media type: %d\n", p_scb->media_type); in bta_debug_av_dump()
Dbta_av_int.h474 uint8_t media_type; /* Media type: AVDT_MEDIA_TYPE_* */ member
/system/bt/stack/avdt/
Davdt_ccb_act.cc159 sep_info[p_data->msg.discover_rsp.num_seps].media_type = in avdt_ccb_hdl_discover_cmd()
160 p_scb->stream_config.media_type; in avdt_ccb_hdl_discover_cmd()
Davdt_msg.cc454 p_msg->discover_rsp.p_sep_info[i].media_type, in avdt_msg_bld_discover_rsp()
902 p_msg->discover_rsp.p_sep_info[i].media_type, in avdt_msg_prs_discover_rsp()
Davdt_api.cc1253 dprintf(fd, " Media type: 0x%x\n", scb.stream_config.media_type); in stack_debug_avdtp_api_dump()