/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothCodecType.java | 69 private BluetoothCodecType(@BluetoothCodecConfig.SourceCodecType int codecType, long codecId) { in BluetoothCodecType() argument 71 mCodecId = codecId; in BluetoothCodecType() 84 public BluetoothCodecType(int codecType, long codecId, @NonNull String codecName) { in BluetoothCodecType() argument 86 mCodecId = codecId; in BluetoothCodecType() 167 long codecId = in createFromType() local 180 if (codecId == -1) { in createFromType() 183 return new BluetoothCodecType(codecType, codecId); in createFromType()
|
D | BluetoothLeBroadcastSubgroup.java | 43 long codecId, in BluetoothLeBroadcastSubgroup() argument 47 mCodecId = codecId; in BluetoothLeBroadcastSubgroup() 248 public @NonNull Builder setCodecId(long codecId) { in setCodecId() argument 249 mCodecId = codecId; in setCodecId()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
D | BaseDataTest.java | 38 assertThat(info.codecId.length).isEqualTo(5); in baseInformation() 40 assertThat(info.codecId) in baseInformation() 45 info.codecId[4] = (byte) 0xFE; in baseInformation() 46 assertThat(info.codecId) in baseInformation() 112 assertThat(level.codecId).isEqualTo(new byte[] {0x00, 0x00, 0x00, 0x00, 0x00}); in parseBaseData() 185 assertThat(level.codecId).isEqualTo(new byte[] {0x00, 0x00, 0x00, 0x00, 0x00}); in parseBaseData_longMetaData()
|
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/ |
D | a2dp_provider_info_unittest.cc | 109 .codecId = A2DP_OPUS_CODEC_ID}; 110 CodecId::Vendor test_foobar_codec_id = {.id = 0x00003344, .codecId = 0x1122}; 112 .codecId = 0x1234}; 127 void CreateTestA2dpCodecInfo(CodecInfo& codecInfo, CodecId codecId, in CreateTestA2dpCodecInfo() argument 133 codecInfo.id = codecId; in CreateTestA2dpCodecInfo() 456 test_opus_codec_id.id, test_opus_codec_id.codecId); in TEST_F_WITH_FLAGS() 460 test_foobar_codec_id.id, test_foobar_codec_id.codecId); in TEST_F_WITH_FLAGS() 464 test_unknown_vendor_codec_id.id, test_unknown_vendor_codec_id.codecId); in TEST_F_WITH_FLAGS() 505 test_opus_codec_id.id, test_opus_codec_id.codecId); in TEST_F_WITH_FLAGS() 510 test_foobar_codec_id.id, test_foobar_codec_id.codecId); in TEST_F_WITH_FLAGS() [all …]
|
D | le_audio_utils.cc | 43 vc.codecId = codec_id.vendor_codec_id; in GetAidlCodecIdFromStackFormat() 75 codec.vendor_codec_id = vendor.codecId; in GetStackCodecIdFromAidlFormat() 301 cap.codecId = GetAidlCodecIdFromStackFormat(rec.codec_id); in GetAidlLeAudioDeviceCapabilitiesFromStackFormat() 388 GetStackCodecIdFromAidlFormat(aidl_cfg.bisConfiguration.codecId); in GetStackBisConfigFromAidlFormat() 484 if (ase_config->codecId.has_value()) { in GetCodecConfigSettingFromAidl() 486 GetStackCodecIdFromAidlFormat(ase_config->codecId.value()); in GetCodecConfigSettingFromAidl() 514 .codecId = GetStackCodecIdFromAidlFormat( in GetStackDataPathFromAidlFormat() 515 dp.isoDataPathConfiguration.codecId), in GetStackDataPathFromAidlFormat() 525 config.isoDataPathConfig.codecId.coding_format = 0x03; // Transparent in GetStackDataPathFromAidlFormat() 526 config.isoDataPathConfig.codecId.vendor_codec_id = 0x00; in GetStackDataPathFromAidlFormat() [all …]
|
D | a2dp_provider_info.cc | 132 int codec_id = codec.id.get<CodecId::vendor>().codecId; in assignSourceCodecIndex() 187 int codec_id = codec.id.get<CodecId::vendor>().codecId; in assignSinkCodecIndex() 253 codec->id.get<CodecId::vendor>().codecId == codec_id && in SourceCodecIndex() 300 codec->id.get<CodecId::vendor>().codecId == codec_id && in SinkCodecIndex() 359 uint16_t codec_id = static_cast<uint16_t>(id.codecId); in BuildCodecCapabilities() 400 (static_cast<uint64_t>(id.codecId) << 24); in CodecCapabilities()
|
D | le_audio_utils_unittest.cc | 74 .id = 0xC0DE, .codecId = 0xF00D}; 211 config.isoDataPathConfiguration.codecId = kAidlCodecVendor1; in PrepareReferenceLeAudioDataPathConfigurationVendor() 219 stack_config.isoDataPathConfig.codecId = in PrepareReferenceLeAudioDataPathConfigurationVendor() 243 .codecId = kAidlCodecLc3, in PrepareReferenceLeAudioDataPathConfigurationLc3() 256 stack_config.isoDataPathConfig.codecId = in PrepareReferenceLeAudioDataPathConfigurationLc3() 391 aidl_ase_config.aseConfiguration.codecId = kAidlCodecLc3; in PrepareReferenceAseDirectionConfigLc3() 525 aidl_cfg.bisConfiguration.codecId = kAidlCodecLc3; in PrepareReferenceBisConfiguration() 565 .codecId = kAidlCodecLc3, in PrepareReferenceBroadcastSubgroups() 579 .codecId = kAidlCodecLc3, in PrepareReferenceBroadcastSubgroups() 886 aidl_pac->codecId.getTag()); in TEST() [all …]
|
D | a2dp_encoding_aidl.cc | 542 a2dp_stream_configuration.codecId = in setup_codec() 862 CodecId::Vendor({.id = (int32_t)vendor_id, .codecId = codec_id})); in get_a2dp_configuration()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BaseData.java | 67 public byte[] codecId = new byte[5]; field in BaseData.BaseInformation 89 codecId = new byte[5]; in BaseInformation() 111 return (codecId != null && codecId[4] == (byte) UNKNOWN_CODEC); in isCodecIdUnknown() 121 log("codecId: " + Arrays.toString(codecId)); in print() 255 node.codecId, in parseLevelTwo() 261 System.arraycopy(serviceData, offset, node.codecId, 0, METADATA_CODEC_LENGTH); in parseLevelTwo()
|
D | BassClientStateMachine.java | 620 byte[] arrayCodecId = baseLevel2.codecId; in getBroadcastMetadataFromBaseData()
|
D | BassClientService.java | 2022 byte[] arrayCodecId = baseLevel2.codecId; in getBroadcastMetadataFromBaseData()
|
/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_vendor_aptx_hd.cc | 44 uint16_t codecId; /* Codec ID for aptX-HD */ member 115 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoAptxHd() 116 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8); in A2DP_BuildInfoAptxHd() 159 p_ie->codecId = in A2DP_ParseInfoAptxHd() 163 p_ie->codecId != A2DP_APTX_HD_CODEC_ID_BLUETOOTH) { in A2DP_ParseInfoAptxHd() 664 result_config_cie.codecId = a2dp_aptx_hd_source_caps.codecId; in setCodecConfig()
|
D | a2dp_vendor_aptx.cc | 43 uint16_t codecId; /* Codec ID for aptX */ member 107 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoAptx() 108 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8); in A2DP_BuildInfoAptx() 147 p_ie->codecId = in A2DP_ParseInfoAptx() 151 p_ie->codecId != A2DP_APTX_CODEC_ID_BLUETOOTH) { in A2DP_ParseInfoAptx() 644 result_config_cie.codecId = a2dp_aptx_source_caps.codecId; in setCodecConfig()
|
D | a2dp_vendor_opus.cc | 43 uint16_t codecId; /* Codec ID for Opus */ member 146 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoOpus() 147 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8); in A2DP_BuildInfoOpus() 213 p_ie->codecId = in A2DP_ParseInfoOpus() 217 p_ie->codecId != A2DP_OPUS_CODEC_ID) { in A2DP_ParseInfoOpus() 937 result_config_cie.codecId = p_a2dp_opus_caps->codecId; in setCodecConfig()
|
D | a2dp_vendor_ldac.cc | 45 uint16_t codecId; /* Codec ID for LDAC */ member 128 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoLdac() 129 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8); in A2DP_BuildInfoLdac() 176 p_ie->codecId = in A2DP_ParseInfoLdac() 180 p_ie->codecId != A2DP_LDAC_CODEC_ID) { in A2DP_ParseInfoLdac() 982 result_config_cie.codecId = p_a2dp_ldac_caps->codecId; in setCodecConfig()
|
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/ |
D | state_machine.cc | 506 : iso_datapath_config.codecId.coding_format), in TriggerIsoDatapathSetup() 510 : iso_datapath_config.codecId.vendor_company_id), in TriggerIsoDatapathSetup() 514 : iso_datapath_config.codecId.vendor_codec_id), in TriggerIsoDatapathSetup()
|
D | broadcast_configuration_provider.h | 175 .codecId = kLeAudioCodecIdLc3,
|
D | broadcaster_test.cc | 1032 .codecId = kLeAudioCodecIdVendor1,
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | le_audio_set_configuration_provider_json.cc | 224 config.data_path_configuration.isoDataPathConfig.codecId = { in SetConfigurationFromFlatSubconfig() 235 config.data_path_configuration.isoDataPathConfig.codecId = { in SetConfigurationFromFlatSubconfig() 249 config.data_path_configuration.isoDataPathConfig.codecId = in SetConfigurationFromFlatSubconfig()
|
D | le_audio_types.h | 1065 types::LeAudioCodecId codecId = {0, 0, 0}; member 1071 if (codecId != other.codecId) return false;
|
D | state_machine.cc | 1750 .codecId.coding_format, in PrepareDataPath() 1752 .codecId.vendor_company_id, in PrepareDataPath() 1754 .codecId.vendor_codec_id, in PrepareDataPath() 1765 ToString(ase->data_path_configuration.isoDataPathConfig.codecId)); in PrepareDataPath()
|
D | le_audio_types.cc | 813 os << "IsoDataPathCfg{codecId: " << config.codecId in operator <<()
|
/packages/modules/Bluetooth/system/audio_hal_interface/ |
D | hfp_client_interface.cc | 72 .codecId = CodecId::Core::CVSD, in get_default_hfp_configuration() 92 .codecId = get_codec_id_by_peer_codec(offload_config.sco_codec), in offload_config_to_hal_audio_config()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | a2dp_codec_api.h | 78 uint64_t codecId() const { return codec_id_; } in codecId() function
|
/packages/modules/Bluetooth/system/btif/co/ |
D | bta_av_co.cc | 102 codec_info.codec_id = codec_config->codecId(); in Init()
|