Lines Matching refs:alloc_method

50   uint8_t alloc_method; /* Allocation method */  member
133 (p_ie->alloc_method & ~A2DP_SBC_IE_ALLOC_MD_MSK) || in A2DP_BuildInfoSbc()
150 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_method; in A2DP_BuildInfoSbc()
189 p_ie->alloc_method = *p_codec_info & A2DP_SBC_IE_ALLOC_MD_MSK; in A2DP_ParseInfoSbc()
215 if (A2DP_BitsSet(p_ie->alloc_method) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
228 if (A2DP_BitsSet(p_ie->alloc_method) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
371 cfg_cie.alloc_method, p_cap->alloc_method); in A2DP_CodecInfoMatchesCapabilitySbc()
391 if ((cfg_cie.alloc_method & p_cap->alloc_method) == 0) in A2DP_CodecInfoMatchesCapabilitySbc()
455 (sbc_cie_a.alloc_method == sbc_cie_b.alloc_method) && in A2DP_CodecEqualsSbc()
576 switch (sbc_cie.alloc_method) { in A2DP_GetAllocationMethodCodeSbc()
756 AppendField(&field, (sbc_cie.alloc_method == 0), "NONE"); in A2DP_CodecInfoStringSbc()
757 AppendField(&field, (sbc_cie.alloc_method & A2DP_SBC_IE_ALLOC_MD_S), "SNR"); in A2DP_CodecInfoStringSbc()
758 AppendField(&field, (sbc_cie.alloc_method & A2DP_SBC_IE_ALLOC_MD_L), in A2DP_CodecInfoStringSbc()
760 res << "\talloc_method: " << field << " (" << loghex(sbc_cie.alloc_method) in A2DP_CodecInfoStringSbc()
1071 uint8_t alloc_method; in setCodecConfig() local
1391 alloc_method = p_a2dp_sbc_caps->alloc_method & peer_info_cie.alloc_method; in setCodecConfig()
1392 if (alloc_method & A2DP_SBC_IE_ALLOC_MD_L) { in setCodecConfig()
1393 result_config_cie.alloc_method = A2DP_SBC_IE_ALLOC_MD_L; in setCodecConfig()
1394 } else if (alloc_method & A2DP_SBC_IE_ALLOC_MD_S) { in setCodecConfig()
1395 result_config_cie.alloc_method = A2DP_SBC_IE_ALLOC_MD_S; in setCodecConfig()
1400 __func__, p_a2dp_sbc_caps->alloc_method, peer_info_cie.alloc_method); in setCodecConfig()