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.c61 (p_ie->alloc_mthd & ~A2D_SBC_IE_ALLOC_MD_MSK) || in A2D_BldSbcInfo()
81 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_mthd; in A2D_BldSbcInfo()
129 p_ie->alloc_mthd = *p_info & A2D_SBC_IE_ALLOC_MD_MSK; in A2D_ParsSbcInfo()
151 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.c804 … msg.AllocationMethod = (sbc_config.alloc_mthd == A2D_SBC_IE_ALLOC_MD_L) ? SBC_LOUDNESS : SBC_SNR; in btif_a2dp_encoder_init()
2363 switch (sbc_cie.alloc_mthd) in btif_media_task_aa_handle_decoder_reset()
2366 APPL_TRACE_DEBUG("\talloc_mthd:%d (SNR)", sbc_cie.alloc_mthd); in btif_media_task_aa_handle_decoder_reset()
2369 APPL_TRACE_DEBUG("\talloc_mthd:%d (Loudness)", sbc_cie.alloc_mthd); in btif_media_task_aa_handle_decoder_reset()
3216 if (sbc_cie.alloc_mthd == A2D_SBC_IE_ALLOC_MD_S) in dump_codec_info()
3217 { APPL_TRACE_DEBUG("\talloc_mthd:%d (SNR)", sbc_cie.alloc_mthd);} in dump_codec_info()
3218 else if (sbc_cie.alloc_mthd == A2D_SBC_IE_ALLOC_MD_L) in dump_codec_info()
3219 { APPL_TRACE_DEBUG("\talloc_mthd:%d (Loundess)", sbc_cie.alloc_mthd);} in dump_codec_info()
3221 { APPL_TRACE_DEBUG("\tBAD alloc_mthd:%d", sbc_cie.alloc_mthd);} in dump_codec_info()
/system/bt/btif/co/
Dbta_av_co.c434 if (src_cap.alloc_mthd & A2D_SBC_IE_ALLOC_MD_L) in bta_av_build_src_cfg()
435 pref_cap.alloc_mthd = A2D_SBC_IE_ALLOC_MD_L; in bta_av_build_src_cfg()
436 else if(src_cap.alloc_mthd & A2D_SBC_IE_ALLOC_MD_S) in bta_av_build_src_cfg()
437 pref_cap.alloc_mthd = A2D_SBC_IE_ALLOC_MD_S; in bta_av_build_src_cfg()