Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_sbc.cc60 uint8_t alloc_method; /* Allocation method */ member
146 (p_ie->alloc_method & ~A2DP_SBC_IE_ALLOC_MD_MSK) || (p_ie->min_bitpool > p_ie->max_bitpool) || in A2DP_BuildInfoSbc()
162 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_method; in A2DP_BuildInfoSbc()
204 p_ie->alloc_method = *p_codec_info & A2DP_SBC_IE_ALLOC_MD_MSK; in A2DP_ParseInfoSbc()
232 if (A2DP_BitsSet(p_ie->alloc_method) == A2DP_SET_ZERO_BIT) { in A2DP_ParseInfoSbc()
251 if (A2DP_BitsSet(p_ie->alloc_method) != A2DP_SET_ONE_BIT) { in A2DP_ParseInfoSbc()
329 log::verbose("ALLOC_METHOD peer: 0x{:x}, capability 0x{:x}", cfg_cie.alloc_method, in A2DP_CodecInfoMatchesCapabilitySbc()
330 p_cap->alloc_method); in A2DP_CodecInfoMatchesCapabilitySbc()
357 if ((cfg_cie.alloc_method & p_cap->alloc_method) == 0) { in A2DP_CodecInfoMatchesCapabilitySbc()
422 (sbc_cie_a.alloc_method == sbc_cie_b.alloc_method) && in A2DP_CodecEqualsSbc()
[all …]
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.cc261 uint8_t alloc_method = a2dp_offload.codec_info[0] & A2DP_SBC_IE_ALLOC_MD_MSK; in A2dpSbcToHalConfig() local
262 switch (alloc_method) { in A2dpSbcToHalConfig()
270 log::error("Unknown SBC alloc_method={}", alloc_method); in A2dpSbcToHalConfig()
Dclient_interface_hidl_unittest.cc421 for (auto alloc_method : alloc_methods) { in SbcCodecConfigurationsGenerator() local
434 .allocMethod = alloc_method, in SbcCodecConfigurationsGenerator()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/a2dp/
Dcodec_status_aidl.cc267 uint8_t alloc_method = a2dp_offload.codec_info[0] & A2DP_SBC_IE_ALLOC_MD_MSK; in A2dpSbcToHalConfig() local
268 switch (alloc_method) { in A2dpSbcToHalConfig()
276 log::error("Unknown SBC alloc_method={}", alloc_method); in A2dpSbcToHalConfig()