Home
last modified time | relevance | path

Searched refs:alloc_method (Results 1 – 3 of 3) sorted by relevance

/system/bt/stack/a2dp/
Da2dp_sbc.cc50 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()
[all …]
/system/bt/audio_hal_interface/
Dcodec_status.cc282 uint8_t alloc_method = a2dp_offload.codec_info[0] & A2DP_SBC_IE_ALLOC_MD_MSK; in A2dpSbcToHalConfig() local
283 switch (alloc_method) { in A2dpSbcToHalConfig()
291 LOG(ERROR) << __func__ << ": Unknown SBC alloc_method=" << alloc_method; in A2dpSbcToHalConfig()
Dclient_interface_unittest.cc439 for (auto alloc_method : alloc_methods) { in SbcCodecConfigurationsGenerator() local
453 .allocMethod = alloc_method, in SbcCodecConfigurationsGenerator()