1 /*
2  * Copyright 2022 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 <base/bind_helpers.h>
18 #include <base/functional/bind.h>
19 
20 #include "bta/include/bta_has_api.h"
21 #include "test/common/mock_functions.h"
22 #include "types/raw_address.h"
23 
24 namespace bluetooth::le_audio {
25 namespace has {
26 
Initialize(bluetooth::has::HasClientCallbacks *,base::RepeatingCallback<void ()>)27 void HasClient::Initialize(bluetooth::has::HasClientCallbacks*, base::RepeatingCallback<void()>) {
28   inc_func_call_count(__func__);
29 }
CleanUp()30 void HasClient::CleanUp() { inc_func_call_count(__func__); }
DebugDump(int)31 void HasClient::DebugDump(int) { inc_func_call_count(__func__); }
IsHasClientRunning()32 bool HasClient::IsHasClientRunning() {
33   inc_func_call_count(__func__);
34   return false;
35 }
AddFromStorage(RawAddress const &,unsigned char,uint16_t)36 void HasClient::AddFromStorage(RawAddress const&, unsigned char, uint16_t) {
37   inc_func_call_count(__func__);
38 }
Get()39 HasClient* HasClient::Get() {
40   inc_func_call_count(__func__);
41   return nullptr;
42 }
43 
44 }  // namespace has
45 }  // namespace bluetooth::le_audio
46