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  * Generated mock file from original source file
18  *   Functions generated:0
19  *
20  *  mockcify.pl ver 0.7.0
21  */
22 
23 // Mock include file to share data between tests and mock
24 #include "test/mock/mock_btif_hf.h"
25 
26 #include "test/common/mock_functions.h"
27 
28 // Original usings
29 
30 // Mocked internal structures, if any
31 
32 // TODO(b/369381361) Enfore -Wmissing-prototypes
33 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
34 
35 namespace test {
36 namespace mock {
37 namespace btif_hf {
38 
39 // Function state capture and return values, if needed
40 struct GetInterface GetInterface;
41 struct IsCallIdle IsCallIdle;
42 struct IsDuringVoiceRecognition IsDuringVoiceRecognition;
43 }  // namespace btif_hf
44 }  // namespace mock
45 }  // namespace test
46 
47 // Mocked functions, if any
48 namespace bluetooth {
49 namespace headset {
GetInterface()50 Interface* GetInterface() {
51   inc_func_call_count(__func__);
52   return test::mock::btif_hf::GetInterface();
53 }
54 
IsCallIdle()55 bool IsCallIdle() {
56   inc_func_call_count(__func__);
57   return test::mock::btif_hf::IsCallIdle();
58 }
59 
IsDuringVoiceRecognition(RawAddress * bd_addr)60 bool IsDuringVoiceRecognition(RawAddress* bd_addr) {
61   inc_func_call_count(__func__);
62   return test::mock::btif_hf::IsDuringVoiceRecognition(bd_addr);
63 }
64 }  // namespace headset
65 }  // namespace bluetooth
66 
67 // Mocked functions complete
68 // END mockcify generation
69