Home
last modified time | relevance | path

Searched refs:bitsPerSample (Results 1 – 25 of 92) sorted by relevance

1234

/hardware/interfaces/bluetooth/audio/utils/session/
DBluetoothAudioSupportedCodecsDB.cpp52 .bitsPerSample = static_cast<BitsPerSample>(BitsPerSample::BITS_16 |
68 .bitsPerSample = BitsPerSample::BITS_16,
78 .bitsPerSample = BitsPerSample::BITS_16};
89 .bitsPerSample = static_cast<BitsPerSample>(BitsPerSample::BITS_16 |
98 .bitsPerSample = BitsPerSample::BITS_16,
107 .bitsPerSample = BitsPerSample::BITS_24,
156 !IsSingleBit(static_cast<uint32_t>(sbc_data.bitsPerSample), 0x07) || in IsOffloadSbcConfigurationValid()
170 (sbc_data.bitsPerSample & in IsOffloadSbcConfigurationValid()
171 kDefaultOffloadSbcCapability.bitsPerSample) && in IsOffloadSbcConfigurationValid()
193 !IsSingleBit(static_cast<uint32_t>(aac_data.bitsPerSample), 0x07)) { in IsOffloadAacConfigurationValid()
[all …]
DBluetoothAudioSupportedCodecsDB_2_1.cpp60 .bitsPerSample = static_cast<BitsPerSample>(BitsPerSample::BITS_16 |
90 (pcm_config.bitsPerSample != BitsPerSample::BITS_16 && in IsSoftwarePcmConfigurationValid_2_1()
91 pcm_config.bitsPerSample != BitsPerSample::BITS_24 && in IsSoftwarePcmConfigurationValid_2_1()
92 pcm_config.bitsPerSample != BitsPerSample::BITS_32) || in IsSoftwarePcmConfigurationValid_2_1()
100 pcm_config.bitsPerSample & in IsSoftwarePcmConfigurationValid_2_1()
101 kDefaultSoftwarePcmCapabilities_2_1.bitsPerSample && in IsSoftwarePcmConfigurationValid_2_1()
DBluetoothAudioSession_2_1.cpp112 .bitsPerSample = fromConf.pcmConfig().bitsPerSample, in GetAudioConfig()
174 .bitsPerSample = tmpPcm.bitsPerSample in OnSessionStarted()
/hardware/interfaces/bluetooth/audio/utils/aidl_session/
DBluetoothAudioCodecs.cpp48 .bitsPerSample = {16, 24, 32},
58 .bitsPerSample = {16},
67 .bitsPerSample = {16}};
73 .bitsPerSample = {16, 24, 32}};
78 .bitsPerSample = {16},
84 .bitsPerSample = {24},
128 ContainedInVector(kDefaultOffloadSbcCapability.bitsPerSample, in IsOffloadSbcConfigurationValid()
129 sbc_data.bitsPerSample) && in IsOffloadSbcConfigurationValid()
156 ContainedInVector(kDefaultOffloadAacCapability.bitsPerSample, in IsOffloadAacConfigurationValid()
157 aac_data.bitsPerSample) && in IsOffloadAacConfigurationValid()
[all …]
DHidlToAidlMiddleware.cpp251 hidl_pcm_config.bitsPerSample = in to_hidl_pcm_config_2_0()
252 to_hidl_bits_per_sample(pcm_config.bitsPerSample); in to_hidl_pcm_config_2_0()
267 hidl_sbc_config.bitsPerSample = in to_hidl_sbc_config()
268 to_hidl_bits_per_sample(sbc_config.bitsPerSample); in to_hidl_sbc_config()
295 hidl_aac_config.bitsPerSample = in to_hidl_aac_config()
296 to_hidl_bits_per_sample(aac_config.bitsPerSample); in to_hidl_aac_config()
313 hidl_ldac_config.bitsPerSample = in to_hidl_ldac_config()
314 to_hidl_bits_per_sample(ldac_config.bitsPerSample); in to_hidl_ldac_config()
332 hidl_aptx_config.bitsPerSample = in to_hidl_aptx_config()
333 to_hidl_bits_per_sample(aptx_config.bitsPerSample); in to_hidl_aptx_config()
[all …]
/hardware/interfaces/bluetooth/audio/aidl/default/
DHfpSoftwareAudioProvider.cpp72 if (pcm_config.bitsPerSample != 16) { in startSession()
89 int bytes_per_sample = pcm_config.bitsPerSample / 8; in startSession()
99 << static_cast<int>(pcm_config.bitsPerSample) in startSession()
DLeAudioSoftwareAudioProvider.cpp96 (pcm_config.bitsPerSample == 24) ? 4 : (pcm_config.bitsPerSample / 8); in startSession()
107 << static_cast<int>(pcm_config.bitsPerSample) in startSession()
/hardware/interfaces/bluetooth/audio/2.1/vts/functional/
DVtsHalBluetoothAudioV2_1TargetTest.cpp313 pcm_parameters.bitsPerSample != BitsPerSample::BITS_UNKNOWN); in IsPcmParametersSupported()
317 pcm_capability.bitsPerSample & pcm_parameters.bitsPerSample); in IsPcmParametersSupported()
334 pcm_parameters.bitsPerSample != BitsPerSample::BITS_UNKNOWN && in IsPcmParametersSupported_2_1()
339 pcm_capability.bitsPerSample & pcm_parameters.bitsPerSample); in IsPcmParametersSupported_2_1()
439 pcm_parameters.bitsPerSample = bits_per_sample; in TEST_P()
519 ExtractValuesFromBitmask<BitsPerSample>(sbc_capability.bitsPerSample, in GetSbcCodecSpecificSupportedList()
536 .bitsPerSample = bits_per_sample, in GetSbcCodecSpecificSupportedList()
576 ExtractValuesFromBitmask<BitsPerSample>(aac_capability.bitsPerSample, in GetAacCodecSpecificSupportedList()
591 .bitsPerSample = bits_per_sample}; in GetAacCodecSpecificSupportedList()
623 ExtractValuesFromBitmask<BitsPerSample>(ldac_capability.bitsPerSample, in GetLdacCodecSpecificSupportedList()
[all …]
/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
DVtsHalBluetoothAudioV2_0TargetTest.cpp252 pcm_parameters.bitsPerSample != BitsPerSample::BITS_UNKNOWN); in IsPcmParametersSupported()
256 pcm_capability.bitsPerSample & pcm_parameters.bitsPerSample); in IsPcmParametersSupported()
352 pcm_parameters.bitsPerSample = bits_per_sample; in TEST_P()
430 ExtractValuesFromBitmask<BitsPerSample>(sbc_capability.bitsPerSample, in GetSbcCodecSpecificSupportedList()
447 .bitsPerSample = bits_per_sample, in GetSbcCodecSpecificSupportedList()
485 ExtractValuesFromBitmask<BitsPerSample>(aac_capability.bitsPerSample, in GetAacCodecSpecificSupportedList()
500 .bitsPerSample = bits_per_sample}; in GetAacCodecSpecificSupportedList()
530 ExtractValuesFromBitmask<BitsPerSample>(ldac_capability.bitsPerSample, in GetLdacCodecSpecificSupportedList()
543 .bitsPerSample = bits_per_sample}; in GetLdacCodecSpecificSupportedList()
571 ExtractValuesFromBitmask<BitsPerSample>(aptx_capability.bitsPerSample, in GetAptxCodecSpecificSupportedList()
[all …]
/hardware/interfaces/audio/aidl/default/bluetooth/
DModuleBluetooth.cpp56 PcmType pcmTypeFromBitsPerSample(int8_t bitsPerSample) { in pcmTypeFromBitsPerSample() argument
57 if (bitsPerSample == 8) in pcmTypeFromBitsPerSample()
59 else if (bitsPerSample == 16) in pcmTypeFromBitsPerSample()
61 else if (bitsPerSample == 24) in pcmTypeFromBitsPerSample()
63 else if (bitsPerSample == 32) in pcmTypeFromBitsPerSample()
65 ALOGE("Unsupported bitsPerSample: %d", bitsPerSample); in pcmTypeFromBitsPerSample()
150 const auto pcmType = pcmTypeFromBitsPerSample(pcmConfig.bitsPerSample); in setAudioPortConfig()
245 pcmConfig.bitsPerSample)}, in populateConnectedDevicePort()
DStreamBluetooth.cpp147 const int8_t bitsPerSample = in checkConfigParams() local
149 if (bitsPerSample != pcmConfig.bitsPerSample) { in checkConfigParams()
150 LOG(ERROR) << __func__ << ": bits per sample mismatch, stream value=" << bitsPerSample in checkConfigParams()
151 << ", BT HAL value=" << pcmConfig.bitsPerSample; in checkConfigParams()
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/2/android/hardware/bluetooth/audio/
DAptxConfiguration.aidl39 byte bitsPerSample;
DAptxCapabilities.aidl39 byte[] bitsPerSample;
DPcmCapabilities.aidl39 byte[] bitsPerSample;
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/
DAptxCapabilities.aidl39 byte[] bitsPerSample;
DAptxConfiguration.aidl39 byte bitsPerSample;
DPcmCapabilities.aidl39 byte[] bitsPerSample;
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/4/android/hardware/bluetooth/audio/
DAptxCapabilities.aidl39 byte[] bitsPerSample;
DAptxConfiguration.aidl39 byte bitsPerSample;
DPcmConfiguration.aidl39 byte bitsPerSample;
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/1/android/hardware/bluetooth/audio/
DAptxConfiguration.aidl39 byte bitsPerSample;
DAptxCapabilities.aidl39 byte[] bitsPerSample;
/hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/3/android/hardware/bluetooth/audio/
DAptxConfiguration.aidl39 byte bitsPerSample;
DAptxCapabilities.aidl39 byte[] bitsPerSample;
DPcmConfiguration.aidl39 byte bitsPerSample;

1234