1 /*
2 * Copyright 2024 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 "hfp_client_interface.h"
18
19 namespace bluetooth {
20 namespace audio {
21 namespace hfp {
22
GetDecode(bluetooth::common::MessageLoopThread *)23 HfpClientInterface::Decode* HfpClientInterface::GetDecode(
24 bluetooth::common::MessageLoopThread* /*message_loop*/) {
25 return nullptr;
26 }
27
ReleaseDecode(HfpClientInterface::Decode *)28 bool HfpClientInterface::ReleaseDecode(HfpClientInterface::Decode* /*decode*/) { return false; }
29
GetEncode(bluetooth::common::MessageLoopThread *)30 HfpClientInterface::Encode* HfpClientInterface::GetEncode(
31 bluetooth::common::MessageLoopThread* /*message_loop*/) {
32 return nullptr;
33 }
34
ReleaseEncode(HfpClientInterface::Encode *)35 bool HfpClientInterface::ReleaseEncode(HfpClientInterface::Encode* /*encode*/) { return false; }
36
GetOffload(bluetooth::common::MessageLoopThread *)37 HfpClientInterface::Offload* HfpClientInterface::GetOffload(
38 bluetooth::common::MessageLoopThread* /*message_loop*/) {
39 return nullptr;
40 }
41
ReleaseOffload(HfpClientInterface::Offload *)42 bool HfpClientInterface::ReleaseOffload(HfpClientInterface::Offload* /*offload*/) { return false; }
43
Get()44 HfpClientInterface* HfpClientInterface::Get() { return nullptr; }
45
46 std::unordered_map<tBTA_AG_UUID_CODEC, ::hfp::sco_config>
GetHfpScoConfig()47 HfpClientInterface::Offload::GetHfpScoConfig() {
48 return std::unordered_map<tBTA_AG_UUID_CODEC, ::hfp::sco_config>();
49 }
50
Read(uint8_t *,uint32_t)51 size_t HfpClientInterface::Encode::Read(uint8_t* /*p_buf*/, uint32_t /*len*/) { return 0; }
52
Write(const uint8_t *,uint32_t)53 size_t HfpClientInterface::Decode::Write(const uint8_t* /*p_buf*/, uint32_t /*len*/) { return 0; }
54 } // namespace hfp
55 } // namespace audio
56 } // namespace bluetooth
57