Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/bta/av/
Dbta_av_sbc.c424 UINT8 bta_av_sbc_cfg_for_cap(UINT8 *p_peer, tA2D_SBC_CIE *p_cap, tA2D_SBC_CIE *p_pref) in bta_av_sbc_cfg_for_cap() argument
520 UINT8 bta_av_sbc_cfg_in_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap) in bta_av_sbc_cfg_in_cap() argument
534 if ((cfg_cie.samp_freq & p_cap->samp_freq) == 0) in bta_av_sbc_cfg_in_cap()
539 else if ((cfg_cie.ch_mode & p_cap->ch_mode) == 0) in bta_av_sbc_cfg_in_cap()
544 else if ((cfg_cie.block_len & p_cap->block_len) == 0) in bta_av_sbc_cfg_in_cap()
549 else if ((cfg_cie.num_subbands & p_cap->num_subbands) == 0) in bta_av_sbc_cfg_in_cap()
554 else if ((cfg_cie.alloc_mthd & p_cap->alloc_mthd) == 0) in bta_av_sbc_cfg_in_cap()
559 else if (cfg_cie.max_bitpool > p_cap->max_bitpool) in bta_av_sbc_cfg_in_cap()
564 else if (cfg_cie.min_bitpool < p_cap->min_bitpool) in bta_av_sbc_cfg_in_cap()
Dbta_av_aact.c311 if (p_scb->p_cap == NULL) in bta_av_next_getcap()
313 p_scb->p_cap = (tAVDT_CFG *) GKI_getbuf(sizeof(tAVDT_CFG)); in bta_av_next_getcap()
315 if (p_scb->p_cap == NULL) in bta_av_next_getcap()
330 p_scb->p_cap, bta_av_dt_cback[p_scb->hdi]); in bta_av_next_getcap()
923 utl_freebuf((void **) &p_scb->p_cap); in bta_av_cleanup()
1500 memcpy(&cfg, p_scb->p_cap, sizeof(tAVDT_CFG)); in bta_av_save_caps()
1597 cfg.num_protect = p_scb->p_cap->num_protect; in bta_av_getcap_results()
1598 memcpy(cfg.codec_info, p_scb->p_cap->codec_info, AVDT_CODEC_SIZE); in bta_av_getcap_results()
1599 memcpy(cfg.protect_info, p_scb->p_cap->protect_info, AVDT_PROTECT_SIZE); in bta_av_getcap_results()
1600 media_type = p_scb->p_cap->codec_info[BTA_AV_MEDIA_TYPE_IDX] >> 4; in bta_av_getcap_results()
[all …]
Dbta_av_int.h465 tAVDT_CFG *p_cap; /* buffer used for get capabilities */ member
/external/bluetooth/bluedroid/bta/include/
Dbta_av_sbc.h181 extern UINT8 bta_av_sbc_cfg_for_cap(UINT8 *p_peer, tA2D_SBC_CIE *p_cap, tA2D_SBC_CIE *p_pref);
193 extern UINT8 bta_av_sbc_cfg_in_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap);
/external/bluetooth/bluedroid/stack/include/
Davdtc_api.h102 AVDT_API extern void AVDTC_GetCapRsp(BD_ADDR bd_addr, UINT8 label, tAVDT_CFG *p_cap);
113 AVDT_API extern void AVDTC_GetAllCapRsp(BD_ADDR bd_addr, UINT8 label, tAVDT_CFG *p_cap);