Home
last modified time | relevance | path

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

/system/bt/bta/av/
Dbta_av_sbc.c482 if (peer_cie.alloc_mthd & p_pref->alloc_mthd) in bta_av_sbc_cfg_for_cap()
484 peer_cie.alloc_mthd = p_pref->alloc_mthd; in bta_av_sbc_cfg_for_cap()
488 … APPL_TRACE_ERROR("bta_av_sbc_cfg_for_cap: alloc_mthd(0x%02X) not supported", p_pref->alloc_mthd); in bta_av_sbc_cfg_for_cap()
540 … APPL_TRACE_DEBUG(" ALLOC_MTHD peer: 0%x, capability 0%x", cfg_cie.alloc_mthd, p_cap->alloc_mthd); in bta_av_sbc_cfg_matches_cap()
565 else if ((cfg_cie.alloc_mthd & p_cap->alloc_mthd) == 0) in bta_av_sbc_cfg_matches_cap()
629 else if ((cfg_cie.alloc_mthd & p_cap->alloc_mthd) == 0) in bta_av_sbc_cfg_in_cap()
/system/bt/stack/a2dp/
Da2d_sbc.c232 (p_ie->alloc_mthd & ~A2D_SBC_IE_ALLOC_MD_MSK) || in A2D_BldSbcInfo()
252 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_mthd; in A2D_BldSbcInfo()
300 p_ie->alloc_mthd = *p_info & A2D_SBC_IE_ALLOC_MD_MSK; in A2D_ParsSbcInfo()
322 if(A2D_BitsSet(p_ie->alloc_mthd) != A2D_SET_ONE_BIT) in A2D_ParsSbcInfo()
/system/bt/stack/include/
Da2d_sbc.h83 UINT8 alloc_mthd; /* Allocation method */ member
/system/bt/btif/src/
Dbtif_media_task.c651 … msg.AllocationMethod = (sbc_config.alloc_mthd == A2D_SBC_IE_ALLOC_MD_L) ? SBC_LOUDNESS : SBC_SNR; in btif_a2dp_encoder_init()
2087 switch(sbc_cie.alloc_mthd) in btif_media_task_aa_handle_decoder_reset()
2090 APPL_TRACE_DEBUG("\talloc_mthd:%d (SNR)", sbc_cie.alloc_mthd); in btif_media_task_aa_handle_decoder_reset()
2093 APPL_TRACE_DEBUG("\talloc_mthd:%d (Loudness)", sbc_cie.alloc_mthd); in btif_media_task_aa_handle_decoder_reset()
2734 if (sbc_cie.alloc_mthd == A2D_SBC_IE_ALLOC_MD_S) in dump_codec_info()
2735 { APPL_TRACE_DEBUG("\talloc_mthd:%d (SNR)", sbc_cie.alloc_mthd);} in dump_codec_info()
2736 else if (sbc_cie.alloc_mthd == A2D_SBC_IE_ALLOC_MD_L) in dump_codec_info()
2737 { APPL_TRACE_DEBUG("\talloc_mthd:%d (Loundess)", sbc_cie.alloc_mthd);} in dump_codec_info()
2739 { APPL_TRACE_DEBUG("\tBAD alloc_mthd:%d", sbc_cie.alloc_mthd);} in dump_codec_info()
/system/bt/btif/co/
Dbta_av_co.c433 if (src_cap.alloc_mthd & A2D_SBC_IE_ALLOC_MD_L) in bta_av_build_src_cfg()
434 pref_cap.alloc_mthd = A2D_SBC_IE_ALLOC_MD_L; in bta_av_build_src_cfg()
435 else if(src_cap.alloc_mthd & A2D_SBC_IE_ALLOC_MD_S) in bta_av_build_src_cfg()
436 pref_cap.alloc_mthd = A2D_SBC_IE_ALLOC_MD_S; in bta_av_build_src_cfg()