Home
last modified time | relevance | path

Searched refs:CodecInterface (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/
Dmock_codec_interface.cc21 struct CodecInterface::Impl : public MockCodecInterface {
32 CodecInterface::CodecInterface(const types::LeAudioCodecId& codec_id) { in CodecInterface() function in bluetooth::le_audio::CodecInterface
35 CodecInterface::~CodecInterface() { delete impl; } in ~CodecInterface()
36 bool CodecInterface::IsReady() { return impl->IsReady(); }; in IsReady()
37 CodecInterface::Status CodecInterface::InitEncoder( in InitEncoder()
42 CodecInterface::Status CodecInterface::InitDecoder( in InitDecoder()
47 std::vector<int16_t>& CodecInterface::GetDecodedSamples() { in GetDecodedSamples()
50 CodecInterface::Status CodecInterface::Decode(uint8_t* data, uint16_t size) { in Decode()
53 CodecInterface::Status CodecInterface::Encode(const uint8_t* data, int stride, in Encode()
59 void CodecInterface::Cleanup() { return impl->Cleanup(); } in Cleanup()
[all …]
Dcodec_interface.cc32 struct CodecInterface::Impl {
38 CodecInterface::Status InitEncoder( in InitEncoder()
71 CodecInterface::Status InitDecoder( in InitDecoder()
110 CodecInterface::Status Decode(uint8_t* data, uint16_t size) { in Decode()
134 CodecInterface::Status Encode(const uint8_t* data, int stride, in Encode()
255 CodecInterface::CodecInterface(const types::LeAudioCodecId& codec_id) { in CodecInterface() function in bluetooth::le_audio::CodecInterface
264 CodecInterface::~CodecInterface() { delete impl; } in ~CodecInterface()
266 bool CodecInterface::IsReady() { return impl->IsReady(); }; in IsReady()
267 CodecInterface::Status CodecInterface::InitEncoder( in InitEncoder()
272 CodecInterface::Status CodecInterface::InitDecoder( in InitDecoder()
[all …]
Dcodec_interface.h41 class CodecInterface {
50 CodecInterface(const types::LeAudioCodecId& codec_id);
51 virtual ~CodecInterface();
52 static std::unique_ptr<CodecInterface> CreateInstance( in CreateInstance()
54 return std::make_unique<CodecInterface>(codec_id); in CreateInstance()
56 virtual CodecInterface::Status InitEncoder(
59 virtual CodecInterface::Status InitDecoder(
62 virtual CodecInterface::Status Encode(
65 virtual CodecInterface::Status Decode(uint8_t* data, uint16_t size);
81 struct formatter<bluetooth::le_audio::CodecInterface::Status>
[all …]
Dmock_codec_interface.h34 (bluetooth::le_audio::CodecInterface::Status), InitEncoder,
38 bluetooth::le_audio::CodecInterface::Status, InitDecoder,
41 MOCK_METHOD(bluetooth::le_audio::CodecInterface::Status, Encode,
44 MOCK_METHOD(bluetooth::le_audio::CodecInterface::Status, Decode,
Dclient.cc3710 sw_enc_left = bluetooth::le_audio::CodecInterface::CreateInstance( in StartSendingAudio()
3715 bluetooth::le_audio::CodecInterface::Status::STATUS_OK) { in StartSendingAudio()
3722 sw_enc_right = bluetooth::le_audio::CodecInterface::CreateInstance( in StartSendingAudio()
3727 bluetooth::le_audio::CodecInterface::Status::STATUS_OK) { in StartSendingAudio()
3790 sw_dec_left = bluetooth::le_audio::CodecInterface::CreateInstance( in StartReceivingAudio()
3795 bluetooth::le_audio::CodecInterface::Status::STATUS_OK) { in StartReceivingAudio()
3802 sw_dec_right = bluetooth::le_audio::CodecInterface::CreateInstance( in StartReceivingAudio()
3807 bluetooth::le_audio::CodecInterface::Status::STATUS_OK) { in StartReceivingAudio()
5907 std::unique_ptr<bluetooth::le_audio::CodecInterface> sw_enc_left;
5908 std::unique_ptr<bluetooth::le_audio::CodecInterface> sw_enc_right;
[all …]
/packages/modules/Bluetooth/system/btif/include/
Dcore_callbacks.h88 struct CodecInterface { struct
96 explicit CodecInterface() = default;
97 CodecInterface(const CodecInterface&) = delete;
98 CodecInterface& operator=(const CodecInterface&) = delete; argument
99 virtual ~CodecInterface() = default;
139 CodecInterface* msbcCodec;
140 CodecInterface* lc3Codec;
152 ConfigInterface* configInterface, CodecInterface* msbcCodec, in CoreInterface()
153 CodecInterface* lc3Codec, in CoreInterface()
Dmock_core_callbacks.h88 struct MockCodecInterface : public CodecInterface {
/packages/modules/Bluetooth/system/test/common/
Dcore_interface.cc55 struct MockMsbcCodecInterface : public bluetooth::core::CodecInterface {
68 struct MockLc3CodecInterface : public bluetooth::core::CodecInterface {
/packages/modules/Bluetooth/system/stack/test/btm/
Dsco_hci_test.cc73 struct MsbcCodecInterface : bluetooth::core::CodecInterface {
74 MsbcCodecInterface() : bluetooth::core::CodecInterface(){}; in MsbcCodecInterface()
95 struct Lc3CodecInterface : bluetooth::core::CodecInterface {
96 Lc3CodecInterface() : bluetooth::core::CodecInterface(){}; in Lc3CodecInterface()
/packages/modules/Bluetooth/system/btif/src/
Dbluetooth.cc212 struct MSBCCodec : bluetooth::core::CodecInterface {
213 MSBCCodec() : bluetooth::core::CodecInterface(){}; in MSBCCodec()
234 struct LC3Codec : bluetooth::core::CodecInterface {
235 LC3Codec() : bluetooth::core::CodecInterface(){}; in LC3Codec()
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster.cc1146 bluetooth::le_audio::CodecInterface::CreateInstance(codec_id); in CheckAndReconfigureEncoders()
1150 bluetooth::le_audio::CodecInterface::Status::STATUS_OK) { in CheckAndReconfigureEncoders()
1164 std::vector<std::unique_ptr<bluetooth::le_audio::CodecInterface>>& in sendBroadcastData()
1274 std::vector<std::unique_ptr<bluetooth::le_audio::CodecInterface>> sw_enc_;