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 /*
18  * Generated mock file from original source file
19  *   Functions generated:8
20  */
21 
22 #include <base/functional/callback.h>
23 
24 #include <cstdint>
25 
26 #include "bta/include/bta_gatt_queue.h"
27 #include "bta/include/bta_hearing_aid_api.h"
28 #include "test/common/mock_functions.h"
29 #include "types/raw_address.h"
30 
GetDeviceCount()31 int HearingAid::GetDeviceCount() {
32   inc_func_call_count(__func__);
33   return 0;
34 }
35 
AddFromStorage(const HearingDevice &,bool)36 void HearingAid::AddFromStorage(const HearingDevice& /* dev_info */,
37                                 bool /* is_acceptlisted */) {
38   inc_func_call_count(__func__);
39 }
40 
DebugDump(int)41 void HearingAid::DebugDump(int /* fd */) { inc_func_call_count(__func__); }
42 
IsHearingAidRunning()43 bool HearingAid::IsHearingAidRunning() {
44   inc_func_call_count(__func__);
45   return false;
46 }
47 
CleanUp()48 void HearingAid::CleanUp() { inc_func_call_count(__func__); }
49 
Initialize(bluetooth::hearing_aid::HearingAidCallbacks *,base::Closure)50 void HearingAid::Initialize(
51     bluetooth::hearing_aid::HearingAidCallbacks* /* callbacks */,
52     base::Closure /* initCb */) {
53   inc_func_call_count(__func__);
54 }
55 
Connect(const RawAddress &)56 void HearingAid::Connect(const RawAddress& /* address */) {
57   inc_func_call_count(__func__);
58 }
59 
Disconnect(const RawAddress &)60 void HearingAid::Disconnect(const RawAddress& /* address */) {
61   inc_func_call_count(__func__);
62 }
63 
AddToAcceptlist(const RawAddress &)64 void HearingAid::AddToAcceptlist(const RawAddress& /* address */) {
65   inc_func_call_count(__func__);
66 }
67 
SetVolume(int8_t)68 void HearingAid::SetVolume(int8_t /* volume */) {
69   inc_func_call_count(__func__);
70 }
71