1 /*
2  * Copyright 2021 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #include "audio_hal_interface/a2dp_encoding.h"
18 
19 namespace bluetooth {
20 namespace audio {
21 namespace a2dp {
22 
update_codec_offloading_capabilities(const std::vector<btav_a2dp_codec_config_t> & framework_preference)23 bool update_codec_offloading_capabilities(
24     const std::vector<btav_a2dp_codec_config_t>& framework_preference) {
25   return false;
26 }
27 
is_hal_2_0_enabled()28 bool is_hal_2_0_enabled() { return false; }
29 
is_hal_2_0_offloading()30 bool is_hal_2_0_offloading() { return false; }
31 
init(bluetooth::common::MessageLoopThread * message_loop)32 bool init(bluetooth::common::MessageLoopThread* message_loop) { return false; }
33 
cleanup()34 void cleanup() {}
35 
36 // Set up the codec into BluetoothAudio HAL
setup_codec()37 bool setup_codec() { return false; }
38 
start_session()39 void start_session() {}
40 
end_session()41 void end_session() {}
42 
ack_stream_started(const tA2DP_CTRL_ACK & ack)43 void ack_stream_started(const tA2DP_CTRL_ACK& ack) {}
44 
ack_stream_suspended(const tA2DP_CTRL_ACK & ack)45 void ack_stream_suspended(const tA2DP_CTRL_ACK& ack) {}
46 
read(uint8_t * p_buf,uint32_t len)47 size_t read(uint8_t* p_buf, uint32_t len) { return 0; }
48 
set_remote_delay(uint16_t delay_report)49 void set_remote_delay(uint16_t delay_report) {}
50 
51 }  // namespace a2dp
52 }  // namespace audio
53 }  // namespace bluetooth
54