/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothCodecType.java | 72 private BluetoothCodecType(@BluetoothCodecConfig.SourceCodecType int codecType, long codecId) { in BluetoothCodecType() argument 74 mCodecId = codecId & 0xFFFFFFFFL; in BluetoothCodecType() 87 public BluetoothCodecType(int codecType, long codecId, @NonNull String codecName) { in BluetoothCodecType() argument 89 mCodecId = codecId & 0xFFFFFFFFL; in BluetoothCodecType() 175 long codecId = in createFromType() local 188 if (codecId == -1) { in createFromType() 191 return new BluetoothCodecType(codecType, codecId); in createFromType()
|
D | BluetoothLeBroadcastSubgroup.java | 45 long codecId, in BluetoothLeBroadcastSubgroup() argument 49 mCodecId = codecId; in BluetoothLeBroadcastSubgroup() 252 public @NonNull Builder setCodecId(long codecId) { in setCodecId() argument 253 mCodecId = codecId; in setCodecId()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | A2dp.kt | 374 val codecId = packCodecId(request.configuration.id) in setConfiguration() constant 393 .filter { it?.getExtendedCodecType()?.getCodecId() == codecId } in setConfiguration() 401 private fun unpackCodecId(codecId: Long): CodecId { in unpackCodecId() 402 val codecType = (codecId and 0xFF).toInt() in unpackCodecId() 403 val vendorId = ((codecId shr 8) and 0xFFFF).toInt() in unpackCodecId() 404 val vendorCodecId = ((codecId shr 24) and 0xFFFF).toInt() in unpackCodecId() 424 private fun packCodecId(codecId: CodecId): Long { in packCodecId() 429 codecId.hasSbc() -> { in packCodecId() 432 codecId.hasMpegAac() -> { in packCodecId() 435 codecId.hasVendor() -> { in packCodecId() [all …]
|
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/a2dp/ |
D | a2dp_provider_info_unittest.cc | 102 CodecId::Vendor test_opus_codec_id = {.id = A2DP_OPUS_VENDOR_ID, .codecId = A2DP_OPUS_CODEC_ID}; 103 CodecId::Vendor test_foobar_codec_id = {.id = 0x00003344, .codecId = 0x1122}; 104 CodecId::Vendor test_unknown_vendor_codec_id = {.id = 0x12345678, .codecId = 0x1234}; 119 void CreateTestA2dpCodecInfo(CodecInfo& codecInfo, CodecId codecId, std::string codecName, in CreateTestA2dpCodecInfo() argument 124 codecInfo.id = codecId; in CreateTestA2dpCodecInfo() 382 provider_info->SourceCodecIndex(test_opus_codec_id.id, test_opus_codec_id.codecId); in TEST_F() 386 provider_info->SourceCodecIndex(test_foobar_codec_id.id, test_foobar_codec_id.codecId); in TEST_F() 390 test_unknown_vendor_codec_id.codecId); in TEST_F() 426 provider_info->SinkCodecIndex(test_opus_codec_id.id, test_opus_codec_id.codecId); in TEST_F() 431 provider_info->SinkCodecIndex(test_foobar_codec_id.id, test_foobar_codec_id.codecId); in TEST_F() [all …]
|
D | a2dp_provider_info.cc | 119 int codec_id = codec.id.get<CodecId::vendor>().codecId; in assignSourceCodecIndex() 171 int codec_id = codec.id.get<CodecId::vendor>().codecId; in assignSinkCodecIndex() 230 codec->id.get<CodecId::vendor>().codecId == codec_id && in SourceCodecIndex() 275 codec->id.get<CodecId::vendor>().codecId == codec_id && in SinkCodecIndex() 330 uint16_t codec_id = static_cast<uint16_t>(id.codecId); in BuildCodecCapabilities() 371 bluetooth::a2dp::VendorCodecId(id.id, id.codecId)); in CodecCapabilities()
|
D | a2dp_encoding_aidl.cc | 454 a2dp_stream_configuration.codecId = in setup_codec() 763 CodecId::Vendor({.id = (int32_t)vendor_id, .codecId = codec_id})); in get_a2dp_configuration() 837 hint.codecId = codec.value()->id; in get_a2dp_configuration()
|
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/ |
D | le_audio_utils.cc | 51 vc.codecId = codec_id.vendor_codec_id; in GetAidlCodecIdFromStackFormat() 79 codec.vendor_codec_id = vendor.codecId; in GetStackCodecIdFromAidlFormat() 279 cap.codecId = GetAidlCodecIdFromStackFormat(rec.codec_id); in GetAidlLeAudioDeviceCapabilitiesFromStackFormat() 308 ase_config.codecId = GetAidlCodecIdFromStackFormat(codec_config.id); in GetAidlLeAudioAseConfigurationFromStackFormat() 374 out_codec_id = GetStackCodecIdFromAidlFormat(aidl_cfg.bisConfiguration.codecId); in GetStackBisConfigFromAidlFormat() 457 if (ase_config->codecId.has_value()) { in GetCodecConfigSettingFromAidl() 458 stack_config.id = GetStackCodecIdFromAidlFormat(ase_config->codecId.value()); in GetCodecConfigSettingFromAidl() 486 .codecId = GetStackCodecIdFromAidlFormat(dp.isoDataPathConfiguration.codecId), in GetStackDataPathFromAidlFormat() 495 config.isoDataPathConfig.codecId.coding_format = 0x03; // Transparent in GetStackDataPathFromAidlFormat() 496 config.isoDataPathConfig.codecId.vendor_codec_id = 0x00; in GetStackDataPathFromAidlFormat() [all …]
|
D | le_audio_utils_unittest.cc | 60 .codecId = 0xF00D}; 170 config.isoDataPathConfiguration.codecId = kAidlCodecVendor1; in PrepareReferenceLeAudioDataPathConfigurationVendor() 178 stack_config.isoDataPathConfig.codecId = config.isoDataPathConfiguration.isTransparent in PrepareReferenceLeAudioDataPathConfigurationVendor() 200 .codecId = kAidlCodecLc3, in PrepareReferenceLeAudioDataPathConfigurationLc3() 213 stack_config.isoDataPathConfig.codecId = in PrepareReferenceLeAudioDataPathConfigurationLc3() 364 aidl_ase_config.aseConfiguration.codecId = kAidlCodecLc3; in PrepareReferenceAseDirectionConfigLc3() 429 aidl_ase_config.aseConfiguration.codecId = kAidlCodecVendor1; in PrepareReferenceAseDirectionConfigVendor1() 684 aidl_cfg.bisConfiguration.codecId = kAidlCodecLc3; in PrepareReferenceBisConfiguration() 719 .codecId = kAidlCodecLc3, in PrepareReferenceBroadcastSubgroups() 734 .codecId = kAidlCodecLc3, in PrepareReferenceBroadcastSubgroups() [all …]
|
/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_vendor_aptx.cc | 53 uint16_t codecId; /* Codec ID for aptX */ member 111 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoAptx() 112 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8); in A2DP_BuildInfoAptx() 152 p_ie->codecId = (*p_codec_info & 0x00FF) | (*(p_codec_info + 1) << 8 & 0xFF00); in A2DP_ParseInfoAptx() 154 if (p_ie->vendorId != A2DP_APTX_VENDOR_ID || p_ie->codecId != A2DP_APTX_CODEC_ID_BLUETOOTH) { in A2DP_ParseInfoAptx() 580 result_config_cie.codecId = a2dp_aptx_source_caps.codecId; in setCodecConfig()
|
D | a2dp_vendor_aptx_hd.cc | 53 uint16_t codecId; /* Codec ID for aptX-HD */ member 118 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoAptxHd() 119 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8); in A2DP_BuildInfoAptxHd() 163 p_ie->codecId = (*p_codec_info & 0x00FF) | (*(p_codec_info + 1) << 8 & 0xFF00); in A2DP_ParseInfoAptxHd() 166 p_ie->codecId != A2DP_APTX_HD_CODEC_ID_BLUETOOTH) { in A2DP_ParseInfoAptxHd() 594 result_config_cie.codecId = a2dp_aptx_hd_source_caps.codecId; in setCodecConfig()
|
D | a2dp_vendor_opus.cc | 53 uint16_t codecId; /* Codec ID for Opus */ member 152 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoOpus() 153 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8); in A2DP_BuildInfoOpus() 216 p_ie->codecId = (*p_codec_info & 0x00FF) | (*(p_codec_info + 1) << 8 & 0xFF00); in A2DP_ParseInfoOpus() 218 if (p_ie->vendorId != A2DP_OPUS_VENDOR_ID || p_ie->codecId != A2DP_OPUS_CODEC_ID) { in A2DP_ParseInfoOpus() 872 result_config_cie.codecId = p_a2dp_opus_caps->codecId; in setCodecConfig()
|
D | a2dp_vendor_ldac.cc | 53 uint16_t codecId; /* Codec ID for LDAC */ member 123 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoLdac() 124 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8); in A2DP_BuildInfoLdac() 176 p_ie->codecId = (*p_codec_info & 0x00FF) | (*(p_codec_info + 1) << 8 & 0xFF00); in A2DP_ParseInfoLdac() 178 if (p_ie->vendorId != A2DP_LDAC_VENDOR_ID || p_ie->codecId != A2DP_LDAC_CODEC_ID) { in A2DP_ParseInfoLdac() 845 result_config_cie.codecId = p_a2dp_ldac_caps->codecId; in setCodecConfig()
|
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/ |
D | state_machine.cc | 523 : iso_datapath_config.codecId.coding_format), in TriggerIsoDatapathSetup() 527 : iso_datapath_config.codecId.vendor_company_id), in TriggerIsoDatapathSetup() 531 : iso_datapath_config.codecId.vendor_codec_id), in TriggerIsoDatapathSetup()
|
D | broadcast_configuration_provider.h | 154 .codecId = kLeAudioCodecIdLc3,
|
D | broadcaster_test.cc | 1063 .codecId = kLeAudioCodecIdVendor1,
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | le_audio_set_configuration_provider_json.cc | 205 config.data_path_configuration.isoDataPathConfig.codecId = { in SetConfigurationFromFlatSubconfig() 215 config.data_path_configuration.isoDataPathConfig.codecId = { in SetConfigurationFromFlatSubconfig() 229 config.data_path_configuration.isoDataPathConfig.codecId = codec_config.id; in SetConfigurationFromFlatSubconfig()
|
D | le_audio_types.h | 1044 types::LeAudioCodecId codecId = {0, 0, 0}; member 1050 if (codecId != other.codecId) {
|
D | state_machine.cc | 1806 .codec_id_format = ase->data_path_configuration.isoDataPathConfig.codecId.coding_format, in PrepareDataPath() 1808 ase->data_path_configuration.isoDataPathConfig.codecId.vendor_company_id, in PrepareDataPath() 1810 ase->data_path_configuration.isoDataPathConfig.codecId.vendor_codec_id, in PrepareDataPath() 1819 ToString(ase->data_path_configuration.isoDataPathConfig.codecId)); in PrepareDataPath()
|
D | le_audio_types.cc | 712 os << "IsoDataPathCfg{codecId: " << config.codecId << ", isTransparent: " << config.isTransparent in operator <<()
|
/packages/modules/Bluetooth/system/audio_hal_interface/ |
D | hfp_client_interface.cc | 69 .codecId = CodecId::Core::CVSD, in get_default_hfp_configuration() 95 .codecId = sco_codec_to_hal_codec(offload_config.sco_codec), in stream_config_to_hal_audio_config()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | a2dp_codec_api.h | 80 bluetooth::a2dp::CodecId codecId() const { return codec_id_; } in codecId() function
|
/packages/modules/Bluetooth/system/btif/co/ |
D | bta_av_co.cc | 105 codec_info.codec_id = static_cast<uint64_t>(codec_config->codecId()); in Init()
|