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:75
20  *
21  *  mockcify.pl ver 0.3.0
22  */
23 // Mock include file to share data between tests and mock
24 #include "test/mock/mock_stack_hcic_hcicmds.h"
25 
26 #include <cstdint>
27 
28 #include "test/common/mock_functions.h"
29 
30 // Mocked internal structures, if any
31 
32 namespace test {
33 namespace mock {
34 namespace stack_hcic_hcicmds {
35 
36 // Function state capture and return values, if needed
37 struct btsnd_hcic_accept_esco_conn btsnd_hcic_accept_esco_conn;
38 struct btsnd_hcic_add_SCO_conn btsnd_hcic_add_SCO_conn;
39 struct btsnd_hcic_auth_request btsnd_hcic_auth_request;
40 struct btsnd_hcic_change_name btsnd_hcic_change_name;
41 struct btsnd_hcic_create_conn_cancel btsnd_hcic_create_conn_cancel;
42 struct btsnd_hcic_delete_stored_key btsnd_hcic_delete_stored_key;
43 struct btsnd_hcic_enable_test_mode btsnd_hcic_enable_test_mode;
44 struct btsnd_hcic_enhanced_accept_synchronous_connection
45     btsnd_hcic_enhanced_accept_synchronous_connection;
46 struct btsnd_hcic_enhanced_set_up_synchronous_connection
47     btsnd_hcic_enhanced_set_up_synchronous_connection;
48 struct btsnd_hcic_exit_park_mode btsnd_hcic_exit_park_mode;
49 struct btsnd_hcic_exit_sniff_mode btsnd_hcic_exit_sniff_mode;
50 struct btsnd_hcic_hold_mode btsnd_hcic_hold_mode;
51 struct btsnd_hcic_io_cap_req_neg_reply btsnd_hcic_io_cap_req_neg_reply;
52 struct btsnd_hcic_io_cap_req_reply btsnd_hcic_io_cap_req_reply;
53 struct btsnd_hcic_link_key_neg_reply btsnd_hcic_link_key_neg_reply;
54 struct btsnd_hcic_link_key_req_reply btsnd_hcic_link_key_req_reply;
55 struct btsnd_hcic_park_mode btsnd_hcic_park_mode;
56 struct btsnd_hcic_pin_code_neg_reply btsnd_hcic_pin_code_neg_reply;
57 struct btsnd_hcic_pin_code_req_reply btsnd_hcic_pin_code_req_reply;
58 struct btsnd_hcic_read_encryption_key_size btsnd_hcic_read_encryption_key_size;
59 struct btsnd_hcic_read_failed_contact_counter
60     btsnd_hcic_read_failed_contact_counter;
61 struct btsnd_hcic_read_local_oob_data btsnd_hcic_read_local_oob_data;
62 struct btsnd_hcic_read_local_oob_extended_data
63     btsnd_hcic_read_local_oob_extended_data;
64 struct btsnd_hcic_read_name btsnd_hcic_read_name;
65 struct btsnd_hcic_read_rmt_clk_offset btsnd_hcic_read_rmt_clk_offset;
66 struct btsnd_hcic_read_rssi btsnd_hcic_read_rssi;
67 struct btsnd_hcic_read_tx_power btsnd_hcic_read_tx_power;
68 struct btsnd_hcic_reject_conn btsnd_hcic_reject_conn;
69 struct btsnd_hcic_reject_esco_conn btsnd_hcic_reject_esco_conn;
70 struct btsnd_hcic_rem_oob_neg_reply btsnd_hcic_rem_oob_neg_reply;
71 struct btsnd_hcic_rem_oob_reply btsnd_hcic_rem_oob_reply;
72 struct btsnd_hcic_rmt_ext_features btsnd_hcic_rmt_ext_features;
73 struct btsnd_hcic_rmt_ver_req btsnd_hcic_rmt_ver_req;
74 struct btsnd_hcic_set_conn_encrypt btsnd_hcic_set_conn_encrypt;
75 struct btsnd_hcic_set_event_filter btsnd_hcic_set_event_filter;
76 struct btsnd_hcic_setup_esco_conn btsnd_hcic_setup_esco_conn;
77 struct btsnd_hcic_sniff_mode btsnd_hcic_sniff_mode;
78 struct btsnd_hcic_sniff_sub_rate btsnd_hcic_sniff_sub_rate;
79 struct btsnd_hcic_user_conf_reply btsnd_hcic_user_conf_reply;
80 struct btsnd_hcic_user_passkey_neg_reply btsnd_hcic_user_passkey_neg_reply;
81 struct btsnd_hcic_user_passkey_reply btsnd_hcic_user_passkey_reply;
82 struct btsnd_hcic_vendor_spec_cmd btsnd_hcic_vendor_spec_cmd;
83 struct btsnd_hcic_write_auth_enable btsnd_hcic_write_auth_enable;
84 struct btsnd_hcic_write_auto_flush_tout btsnd_hcic_write_auto_flush_tout;
85 struct btsnd_hcic_write_cur_iac_lap btsnd_hcic_write_cur_iac_lap;
86 struct btsnd_hcic_write_def_policy_set btsnd_hcic_write_def_policy_set;
87 struct btsnd_hcic_write_dev_class btsnd_hcic_write_dev_class;
88 struct btsnd_hcic_write_ext_inquiry_response
89     btsnd_hcic_write_ext_inquiry_response;
90 struct btsnd_hcic_write_inqscan_cfg btsnd_hcic_write_inqscan_cfg;
91 struct btsnd_hcic_write_inqscan_type btsnd_hcic_write_inqscan_type;
92 struct btsnd_hcic_write_inquiry_mode btsnd_hcic_write_inquiry_mode;
93 struct btsnd_hcic_write_link_super_tout btsnd_hcic_write_link_super_tout;
94 struct btsnd_hcic_write_page_tout btsnd_hcic_write_page_tout;
95 struct btsnd_hcic_write_pagescan_cfg btsnd_hcic_write_pagescan_cfg;
96 struct btsnd_hcic_write_pagescan_type btsnd_hcic_write_pagescan_type;
97 struct btsnd_hcic_write_pin_type btsnd_hcic_write_pin_type;
98 struct btsnd_hcic_write_policy_set btsnd_hcic_write_policy_set;
99 struct btsnd_hcic_write_scan_enable btsnd_hcic_write_scan_enable;
100 struct btsnd_hcic_write_voice_settings btsnd_hcic_write_voice_settings;
101 
102 }  // namespace stack_hcic_hcicmds
103 }  // namespace mock
104 }  // namespace test
105 
106 // Mocked functions, if any
btsnd_hcic_accept_esco_conn(const RawAddress & bd_addr,uint32_t transmit_bandwidth,uint32_t receive_bandwidth,uint16_t max_latency,uint16_t content_fmt,uint8_t retrans_effort,uint16_t packet_types)107 void btsnd_hcic_accept_esco_conn(const RawAddress& bd_addr,
108                                  uint32_t transmit_bandwidth,
109                                  uint32_t receive_bandwidth,
110                                  uint16_t max_latency, uint16_t content_fmt,
111                                  uint8_t retrans_effort,
112                                  uint16_t packet_types) {
113   inc_func_call_count(__func__);
114   test::mock::stack_hcic_hcicmds::btsnd_hcic_accept_esco_conn(
115       bd_addr, transmit_bandwidth, receive_bandwidth, max_latency, content_fmt,
116       retrans_effort, packet_types);
117 }
btsnd_hcic_add_SCO_conn(uint16_t handle,uint16_t packet_types)118 void btsnd_hcic_add_SCO_conn(uint16_t handle, uint16_t packet_types) {
119   inc_func_call_count(__func__);
120   test::mock::stack_hcic_hcicmds::btsnd_hcic_add_SCO_conn(handle, packet_types);
121 }
btsnd_hcic_auth_request(uint16_t handle)122 void btsnd_hcic_auth_request(uint16_t handle) {
123   inc_func_call_count(__func__);
124   test::mock::stack_hcic_hcicmds::btsnd_hcic_auth_request(handle);
125 }
btsnd_hcic_change_name(BD_NAME name)126 void btsnd_hcic_change_name(BD_NAME name) {
127   inc_func_call_count(__func__);
128   test::mock::stack_hcic_hcicmds::btsnd_hcic_change_name(name);
129 }
btsnd_hcic_create_conn_cancel(const RawAddress & dest)130 void btsnd_hcic_create_conn_cancel(const RawAddress& dest) {
131   inc_func_call_count(__func__);
132   test::mock::stack_hcic_hcicmds::btsnd_hcic_create_conn_cancel(dest);
133 }
btsnd_hcic_delete_stored_key(const RawAddress & bd_addr,bool delete_all_flag)134 void btsnd_hcic_delete_stored_key(const RawAddress& bd_addr,
135                                   bool delete_all_flag) {
136   inc_func_call_count(__func__);
137   test::mock::stack_hcic_hcicmds::btsnd_hcic_delete_stored_key(bd_addr,
138                                                                delete_all_flag);
139 }
btsnd_hcic_enable_test_mode(void)140 void btsnd_hcic_enable_test_mode(void) {
141   inc_func_call_count(__func__);
142   test::mock::stack_hcic_hcicmds::btsnd_hcic_enable_test_mode();
143 }
btsnd_hcic_enhanced_accept_synchronous_connection(const RawAddress & bd_addr,enh_esco_params_t * p_params)144 void btsnd_hcic_enhanced_accept_synchronous_connection(
145     const RawAddress& bd_addr, enh_esco_params_t* p_params) {
146   inc_func_call_count(__func__);
147   test::mock::stack_hcic_hcicmds::
148       btsnd_hcic_enhanced_accept_synchronous_connection(bd_addr, p_params);
149 }
btsnd_hcic_enhanced_set_up_synchronous_connection(uint16_t conn_handle,enh_esco_params_t * p_params)150 void btsnd_hcic_enhanced_set_up_synchronous_connection(
151     uint16_t conn_handle, enh_esco_params_t* p_params) {
152   inc_func_call_count(__func__);
153   test::mock::stack_hcic_hcicmds::
154       btsnd_hcic_enhanced_set_up_synchronous_connection(conn_handle, p_params);
155 }
btsnd_hcic_exit_park_mode(uint16_t handle)156 void btsnd_hcic_exit_park_mode(uint16_t handle) {
157   inc_func_call_count(__func__);
158   test::mock::stack_hcic_hcicmds::btsnd_hcic_exit_park_mode(handle);
159 }
btsnd_hcic_exit_sniff_mode(uint16_t handle)160 void btsnd_hcic_exit_sniff_mode(uint16_t handle) {
161   inc_func_call_count(__func__);
162   test::mock::stack_hcic_hcicmds::btsnd_hcic_exit_sniff_mode(handle);
163 }
btsnd_hcic_hold_mode(uint16_t handle,uint16_t max_hold_period,uint16_t min_hold_period)164 void btsnd_hcic_hold_mode(uint16_t handle, uint16_t max_hold_period,
165                           uint16_t min_hold_period) {
166   inc_func_call_count(__func__);
167   test::mock::stack_hcic_hcicmds::btsnd_hcic_hold_mode(handle, max_hold_period,
168                                                        min_hold_period);
169 }
btsnd_hcic_io_cap_req_neg_reply(const RawAddress & bd_addr,uint8_t err_code)170 void btsnd_hcic_io_cap_req_neg_reply(const RawAddress& bd_addr,
171                                      uint8_t err_code) {
172   inc_func_call_count(__func__);
173   test::mock::stack_hcic_hcicmds::btsnd_hcic_io_cap_req_neg_reply(bd_addr,
174                                                                   err_code);
175 }
btsnd_hcic_io_cap_req_reply(const RawAddress & bd_addr,uint8_t capability,uint8_t oob_present,uint8_t auth_req)176 void btsnd_hcic_io_cap_req_reply(const RawAddress& bd_addr, uint8_t capability,
177                                  uint8_t oob_present, uint8_t auth_req) {
178   inc_func_call_count(__func__);
179   test::mock::stack_hcic_hcicmds::btsnd_hcic_io_cap_req_reply(
180       bd_addr, capability, oob_present, auth_req);
181 }
btsnd_hcic_link_key_neg_reply(const RawAddress & bd_addr)182 void btsnd_hcic_link_key_neg_reply(const RawAddress& bd_addr) {
183   inc_func_call_count(__func__);
184   test::mock::stack_hcic_hcicmds::btsnd_hcic_link_key_neg_reply(bd_addr);
185 }
btsnd_hcic_link_key_req_reply(const RawAddress & bd_addr,const LinkKey & link_key)186 void btsnd_hcic_link_key_req_reply(const RawAddress& bd_addr,
187                                    const LinkKey& link_key) {
188   inc_func_call_count(__func__);
189   test::mock::stack_hcic_hcicmds::btsnd_hcic_link_key_req_reply(bd_addr,
190                                                                 link_key);
191 }
btsnd_hcic_park_mode(uint16_t handle,uint16_t beacon_max_interval,uint16_t beacon_min_interval)192 void btsnd_hcic_park_mode(uint16_t handle, uint16_t beacon_max_interval,
193                           uint16_t beacon_min_interval) {
194   inc_func_call_count(__func__);
195   test::mock::stack_hcic_hcicmds::btsnd_hcic_park_mode(
196       handle, beacon_max_interval, beacon_min_interval);
197 }
btsnd_hcic_pin_code_neg_reply(const RawAddress & bd_addr)198 void btsnd_hcic_pin_code_neg_reply(const RawAddress& bd_addr) {
199   inc_func_call_count(__func__);
200   test::mock::stack_hcic_hcicmds::btsnd_hcic_pin_code_neg_reply(bd_addr);
201 }
btsnd_hcic_pin_code_req_reply(const RawAddress & bd_addr,uint8_t pin_code_len,PIN_CODE pin_code)202 void btsnd_hcic_pin_code_req_reply(const RawAddress& bd_addr,
203                                    uint8_t pin_code_len, PIN_CODE pin_code) {
204   inc_func_call_count(__func__);
205   test::mock::stack_hcic_hcicmds::btsnd_hcic_pin_code_req_reply(
206       bd_addr, pin_code_len, pin_code);
207 }
btsnd_hcic_read_encryption_key_size(uint16_t handle,ReadEncKeySizeCb cb)208 void btsnd_hcic_read_encryption_key_size(uint16_t handle, ReadEncKeySizeCb cb) {
209   inc_func_call_count(__func__);
210   test::mock::stack_hcic_hcicmds::btsnd_hcic_read_encryption_key_size(
211       handle, std::move(cb));
212 }
btsnd_hcic_read_failed_contact_counter(uint16_t handle)213 void btsnd_hcic_read_failed_contact_counter(uint16_t handle) {
214   inc_func_call_count(__func__);
215   test::mock::stack_hcic_hcicmds::btsnd_hcic_read_failed_contact_counter(
216       handle);
217 }
btsnd_hcic_read_local_oob_data(void)218 void btsnd_hcic_read_local_oob_data(void) {
219   inc_func_call_count(__func__);
220   test::mock::stack_hcic_hcicmds::btsnd_hcic_read_local_oob_data();
221 }
btsnd_hcic_read_local_oob_extended_data(void)222 void btsnd_hcic_read_local_oob_extended_data(void) {
223   inc_func_call_count(__func__);
224   test::mock::stack_hcic_hcicmds::btsnd_hcic_read_local_oob_extended_data();
225 }
btsnd_hcic_read_name(void)226 void btsnd_hcic_read_name(void) {
227   inc_func_call_count(__func__);
228   test::mock::stack_hcic_hcicmds::btsnd_hcic_read_name();
229 }
btsnd_hcic_read_rmt_clk_offset(uint16_t handle)230 void btsnd_hcic_read_rmt_clk_offset(uint16_t handle) {
231   inc_func_call_count(__func__);
232   test::mock::stack_hcic_hcicmds::btsnd_hcic_read_rmt_clk_offset(handle);
233 }
btsnd_hcic_read_rssi(uint16_t handle)234 void btsnd_hcic_read_rssi(uint16_t handle) {
235   inc_func_call_count(__func__);
236   test::mock::stack_hcic_hcicmds::btsnd_hcic_read_rssi(handle);
237 }
btsnd_hcic_read_tx_power(uint16_t handle,uint8_t type)238 void btsnd_hcic_read_tx_power(uint16_t handle, uint8_t type) {
239   inc_func_call_count(__func__);
240   test::mock::stack_hcic_hcicmds::btsnd_hcic_read_tx_power(handle, type);
241 }
btsnd_hcic_reject_conn(const RawAddress & dest,uint8_t reason)242 void btsnd_hcic_reject_conn(const RawAddress& dest, uint8_t reason) {
243   inc_func_call_count(__func__);
244   test::mock::stack_hcic_hcicmds::btsnd_hcic_reject_conn(dest, reason);
245 }
btsnd_hcic_reject_esco_conn(const RawAddress & bd_addr,uint8_t reason)246 void btsnd_hcic_reject_esco_conn(const RawAddress& bd_addr, uint8_t reason) {
247   inc_func_call_count(__func__);
248   test::mock::stack_hcic_hcicmds::btsnd_hcic_reject_esco_conn(bd_addr, reason);
249 }
btsnd_hcic_rem_oob_neg_reply(const RawAddress & bd_addr)250 void btsnd_hcic_rem_oob_neg_reply(const RawAddress& bd_addr) {
251   inc_func_call_count(__func__);
252   test::mock::stack_hcic_hcicmds::btsnd_hcic_rem_oob_neg_reply(bd_addr);
253 }
btsnd_hcic_rem_oob_reply(const RawAddress & bd_addr,const Octet16 & c,const Octet16 & r)254 void btsnd_hcic_rem_oob_reply(const RawAddress& bd_addr, const Octet16& c,
255                               const Octet16& r) {
256   inc_func_call_count(__func__);
257   test::mock::stack_hcic_hcicmds::btsnd_hcic_rem_oob_reply(bd_addr, c, r);
258 }
btsnd_hcic_rmt_ext_features(uint16_t handle,uint8_t page_num)259 void btsnd_hcic_rmt_ext_features(uint16_t handle, uint8_t page_num) {
260   inc_func_call_count(__func__);
261   test::mock::stack_hcic_hcicmds::btsnd_hcic_rmt_ext_features(handle, page_num);
262 }
btsnd_hcic_rmt_ver_req(uint16_t handle)263 void btsnd_hcic_rmt_ver_req(uint16_t handle) {
264   inc_func_call_count(__func__);
265   test::mock::stack_hcic_hcicmds::btsnd_hcic_rmt_ver_req(handle);
266 }
btsnd_hcic_set_conn_encrypt(uint16_t handle,bool enable)267 void btsnd_hcic_set_conn_encrypt(uint16_t handle, bool enable) {
268   inc_func_call_count(__func__);
269   test::mock::stack_hcic_hcicmds::btsnd_hcic_set_conn_encrypt(handle, enable);
270 }
btsnd_hcic_set_event_filter(uint8_t filt_type,uint8_t filt_cond_type,uint8_t * filt_cond,uint8_t filt_cond_len)271 void btsnd_hcic_set_event_filter(uint8_t filt_type, uint8_t filt_cond_type,
272                                  uint8_t* filt_cond, uint8_t filt_cond_len) {
273   inc_func_call_count(__func__);
274   test::mock::stack_hcic_hcicmds::btsnd_hcic_set_event_filter(
275       filt_type, filt_cond_type, filt_cond, filt_cond_len);
276 }
btsnd_hcic_setup_esco_conn(uint16_t handle,uint32_t transmit_bandwidth,uint32_t receive_bandwidth,uint16_t max_latency,uint16_t voice,uint8_t retrans_effort,uint16_t packet_types)277 void btsnd_hcic_setup_esco_conn(uint16_t handle, uint32_t transmit_bandwidth,
278                                 uint32_t receive_bandwidth,
279                                 uint16_t max_latency, uint16_t voice,
280                                 uint8_t retrans_effort, uint16_t packet_types) {
281   inc_func_call_count(__func__);
282   test::mock::stack_hcic_hcicmds::btsnd_hcic_setup_esco_conn(
283       handle, transmit_bandwidth, receive_bandwidth, max_latency, voice,
284       retrans_effort, packet_types);
285 }
btsnd_hcic_sniff_mode(uint16_t handle,uint16_t max_sniff_period,uint16_t min_sniff_period,uint16_t sniff_attempt,uint16_t sniff_timeout)286 void btsnd_hcic_sniff_mode(uint16_t handle, uint16_t max_sniff_period,
287                            uint16_t min_sniff_period, uint16_t sniff_attempt,
288                            uint16_t sniff_timeout) {
289   inc_func_call_count(__func__);
290   test::mock::stack_hcic_hcicmds::btsnd_hcic_sniff_mode(
291       handle, max_sniff_period, min_sniff_period, sniff_attempt, sniff_timeout);
292 }
btsnd_hcic_sniff_sub_rate(uint16_t handle,uint16_t max_lat,uint16_t min_remote_lat,uint16_t min_local_lat)293 void btsnd_hcic_sniff_sub_rate(uint16_t handle, uint16_t max_lat,
294                                uint16_t min_remote_lat,
295                                uint16_t min_local_lat) {
296   inc_func_call_count(__func__);
297   test::mock::stack_hcic_hcicmds::btsnd_hcic_sniff_sub_rate(
298       handle, max_lat, min_remote_lat, min_local_lat);
299 }
btsnd_hcic_user_conf_reply(const RawAddress & bd_addr,bool is_yes)300 void btsnd_hcic_user_conf_reply(const RawAddress& bd_addr, bool is_yes) {
301   inc_func_call_count(__func__);
302   test::mock::stack_hcic_hcicmds::btsnd_hcic_user_conf_reply(bd_addr, is_yes);
303 }
btsnd_hcic_user_passkey_neg_reply(const RawAddress & bd_addr)304 void btsnd_hcic_user_passkey_neg_reply(const RawAddress& bd_addr) {
305   inc_func_call_count(__func__);
306   test::mock::stack_hcic_hcicmds::btsnd_hcic_user_passkey_neg_reply(bd_addr);
307 }
btsnd_hcic_user_passkey_reply(const RawAddress & bd_addr,uint32_t value)308 void btsnd_hcic_user_passkey_reply(const RawAddress& bd_addr, uint32_t value) {
309   inc_func_call_count(__func__);
310   test::mock::stack_hcic_hcicmds::btsnd_hcic_user_passkey_reply(bd_addr, value);
311 }
btsnd_hcic_vendor_spec_cmd(uint16_t opcode,uint8_t len,uint8_t * p_data,tBTM_VSC_CMPL_CB * p_cmd_cplt_cback)312 void btsnd_hcic_vendor_spec_cmd(uint16_t opcode, uint8_t len, uint8_t* p_data,
313                                 tBTM_VSC_CMPL_CB* p_cmd_cplt_cback) {
314   inc_func_call_count(__func__);
315   test::mock::stack_hcic_hcicmds::btsnd_hcic_vendor_spec_cmd(
316       opcode, len, p_data, p_cmd_cplt_cback);
317 }
btsnd_hcic_write_auth_enable(uint8_t flag)318 void btsnd_hcic_write_auth_enable(uint8_t flag) {
319   inc_func_call_count(__func__);
320   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_auth_enable(flag);
321 }
btsnd_hcic_write_auto_flush_tout(uint16_t handle,uint16_t tout)322 void btsnd_hcic_write_auto_flush_tout(uint16_t handle, uint16_t tout) {
323   inc_func_call_count(__func__);
324   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_auto_flush_tout(handle,
325                                                                    tout);
326 }
btsnd_hcic_write_cur_iac_lap(uint8_t num_cur_iac,LAP * const iac_lap)327 void btsnd_hcic_write_cur_iac_lap(uint8_t num_cur_iac, LAP* const iac_lap) {
328   inc_func_call_count(__func__);
329   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_cur_iac_lap(num_cur_iac,
330                                                                iac_lap);
331 }
btsnd_hcic_write_def_policy_set(uint16_t settings)332 void btsnd_hcic_write_def_policy_set(uint16_t settings) {
333   inc_func_call_count(__func__);
334   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_def_policy_set(settings);
335 }
btsnd_hcic_write_dev_class(DEV_CLASS dev_class)336 void btsnd_hcic_write_dev_class(DEV_CLASS dev_class) {
337   inc_func_call_count(__func__);
338   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_dev_class(dev_class);
339 }
btsnd_hcic_write_ext_inquiry_response(void * buffer,uint8_t fec_req)340 void btsnd_hcic_write_ext_inquiry_response(void* buffer, uint8_t fec_req) {
341   inc_func_call_count(__func__);
342   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_ext_inquiry_response(
343       buffer, fec_req);
344 }
btsnd_hcic_write_inqscan_cfg(uint16_t interval,uint16_t window)345 void btsnd_hcic_write_inqscan_cfg(uint16_t interval, uint16_t window) {
346   inc_func_call_count(__func__);
347   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_inqscan_cfg(interval,
348                                                                window);
349 }
btsnd_hcic_write_inqscan_type(uint8_t type)350 void btsnd_hcic_write_inqscan_type(uint8_t type) {
351   inc_func_call_count(__func__);
352   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_inqscan_type(type);
353 }
btsnd_hcic_write_inquiry_mode(uint8_t mode)354 void btsnd_hcic_write_inquiry_mode(uint8_t mode) {
355   inc_func_call_count(__func__);
356   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_inquiry_mode(mode);
357 }
btsnd_hcic_write_link_super_tout(uint16_t handle,uint16_t timeout)358 void btsnd_hcic_write_link_super_tout(uint16_t handle, uint16_t timeout) {
359   inc_func_call_count(__func__);
360   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_link_super_tout(handle,
361                                                                    timeout);
362 }
btsnd_hcic_write_page_tout(uint16_t timeout)363 void btsnd_hcic_write_page_tout(uint16_t timeout) {
364   inc_func_call_count(__func__);
365   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_page_tout(timeout);
366 }
btsnd_hcic_write_pagescan_cfg(uint16_t interval,uint16_t window)367 void btsnd_hcic_write_pagescan_cfg(uint16_t interval, uint16_t window) {
368   inc_func_call_count(__func__);
369   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_pagescan_cfg(interval,
370                                                                 window);
371 }
btsnd_hcic_write_pagescan_type(uint8_t type)372 void btsnd_hcic_write_pagescan_type(uint8_t type) {
373   inc_func_call_count(__func__);
374   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_pagescan_type(type);
375 }
btsnd_hcic_write_pin_type(uint8_t type)376 void btsnd_hcic_write_pin_type(uint8_t type) {
377   inc_func_call_count(__func__);
378   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_pin_type(type);
379 }
btsnd_hcic_write_policy_set(uint16_t handle,uint16_t settings)380 void btsnd_hcic_write_policy_set(uint16_t handle, uint16_t settings) {
381   inc_func_call_count(__func__);
382   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_policy_set(handle, settings);
383 }
btsnd_hcic_write_scan_enable(uint8_t flag)384 void btsnd_hcic_write_scan_enable(uint8_t flag) {
385   inc_func_call_count(__func__);
386   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_scan_enable(flag);
387 }
btsnd_hcic_write_voice_settings(uint16_t flags)388 void btsnd_hcic_write_voice_settings(uint16_t flags) {
389   inc_func_call_count(__func__);
390   test::mock::stack_hcic_hcicmds::btsnd_hcic_write_voice_settings(flags);
391 }
392 // Mocked functions complete
393 // END mockcify generation
394