Lines Matching refs:alloc_method
50 uint8_t alloc_method; /* Allocation method */ member
129 (p_ie->alloc_method & ~A2DP_SBC_IE_ALLOC_MD_MSK) || in A2DP_BuildInfoSbc()
146 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_method; in A2DP_BuildInfoSbc()
185 p_ie->alloc_method = *p_codec_info & A2DP_SBC_IE_ALLOC_MD_MSK; in A2DP_ParseInfoSbc()
211 if (A2DP_BitsSet(p_ie->alloc_method) == A2DP_SET_ZERO_BIT) in A2DP_ParseInfoSbc()
224 if (A2DP_BitsSet(p_ie->alloc_method) != A2DP_SET_ONE_BIT) in A2DP_ParseInfoSbc()
367 cfg_cie.alloc_method, p_cap->alloc_method); in A2DP_CodecInfoMatchesCapabilitySbc()
387 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()
582 switch (sbc_cie.alloc_method) { in A2DP_GetAllocationMethodCodeSbc()
767 AppendField(&field, (sbc_cie.alloc_method == 0), "NONE"); in A2DP_CodecInfoStringSbc()
768 AppendField(&field, (sbc_cie.alloc_method & A2DP_SBC_IE_ALLOC_MD_S), "SNR"); in A2DP_CodecInfoStringSbc()
769 AppendField(&field, (sbc_cie.alloc_method & A2DP_SBC_IE_ALLOC_MD_L), in A2DP_CodecInfoStringSbc()
771 res << "\talloc_method: " << field << " (" << loghex(sbc_cie.alloc_method) in A2DP_CodecInfoStringSbc()
1082 uint8_t alloc_method; in setCodecConfig() local
1404 alloc_method = p_a2dp_sbc_caps->alloc_method & peer_info_cie.alloc_method; in setCodecConfig()
1405 if (alloc_method & A2DP_SBC_IE_ALLOC_MD_L) { in setCodecConfig()
1406 result_config_cie.alloc_method = A2DP_SBC_IE_ALLOC_MD_L; in setCodecConfig()
1407 } else if (alloc_method & A2DP_SBC_IE_ALLOC_MD_S) { in setCodecConfig()
1408 result_config_cie.alloc_method = A2DP_SBC_IE_ALLOC_MD_S; in setCodecConfig()
1413 __func__, p_a2dp_sbc_caps->alloc_method, in setCodecConfig()
1414 peer_info_cie.alloc_method); in setCodecConfig()