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:7
20  */
21 
22 #include <map>
23 #include <string>
24 
25 extern std::map<std::string, int> mock_function_count_map;
26 
27 #include <memory>
28 #include <string>
29 #include "bt_target.h"
30 #include "bt_types.h"
31 #include "main/shim/dumpsys.h"
32 #include "stack/btm/btm_int_types.h"
33 #include "stack/include/btm_client_interface.h"
34 #include "stack_config.h"
35 
36 #ifndef UNUSED_ATTR
37 #define UNUSED_ATTR
38 #endif
39 
BTM_LogHistory(const std::string & tag,const RawAddress & bd_addr,const std::string & msg)40 void BTM_LogHistory(const std::string& tag, const RawAddress& bd_addr,
41                     const std::string& msg) {
42   mock_function_count_map[__func__]++;
43 }
BTM_LogHistory(const std::string & tag,const RawAddress & bd_addr,const std::string & msg,const std::string & extra)44 void BTM_LogHistory(const std::string& tag, const RawAddress& bd_addr,
45                     const std::string& msg, const std::string& extra) {
46   mock_function_count_map[__func__]++;
47 }
BTM_LogHistory(const std::string & tag,const tBLE_BD_ADDR & ble_bd_addr,const std::string & msg)48 void BTM_LogHistory(const std::string& tag, const tBLE_BD_ADDR& ble_bd_addr,
49                     const std::string& msg) {
50   mock_function_count_map[__func__]++;
51 }
BTM_LogHistory(const std::string & tag,const tBLE_BD_ADDR & ble_bd_addr,const std::string & msg,const std::string & extra)52 void BTM_LogHistory(const std::string& tag, const tBLE_BD_ADDR& ble_bd_addr,
53                     const std::string& msg, const std::string& extra) {
54   mock_function_count_map[__func__]++;
55 }
btm_free(void)56 void btm_free(void) { mock_function_count_map[__func__]++; }
btm_init(void)57 void btm_init(void) { mock_function_count_map[__func__]++; }
58