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 #pragma once
18 
19 /*
20  * Generated mock file from original source file
21  *   Functions generated:75
22  *
23  *  mockcify.pl ver 0.3.0
24  */
25 
26 #include <cstdint>
27 #include <functional>
28 
29 // Original included files, if any
30 #include "base/callback.h"
31 #include "device/include/esco_parameters.h"
32 #include "hcimsgs.h"
33 #include "stack/include/bt_octets.h"
34 #include "types/raw_address.h"
35 
36 // Mocked compile conditionals, if any
37 
38 namespace test {
39 namespace mock {
40 namespace stack_hcic_hcicmds {
41 
42 // Name: btsnd_hcic_accept_esco_conn
43 // Params: const RawAddress& bd_addr, uint32_t transmit_bandwidth, uint32_t
44 // receive_bandwidth, uint16_t max_latency, uint16_t content_fmt, uint8_t
45 // retrans_effort, uint16_t packet_types Return: void
46 struct btsnd_hcic_accept_esco_conn {
47   std::function<void(const RawAddress& bd_addr, uint32_t transmit_bandwidth,
48                      uint32_t receive_bandwidth, uint16_t max_latency,
49                      uint16_t content_fmt, uint8_t retrans_effort,
50                      uint16_t packet_types)>
51       body{[](const RawAddress& /* bd_addr */,
52               uint32_t /* transmit_bandwidth */,
53               uint32_t /* receive_bandwidth */, uint16_t /* max_latency */,
54               uint16_t /* content_fmt */, uint8_t /* retrans_effort */,
55               uint16_t /* packet_types */) {}};
operatorbtsnd_hcic_accept_esco_conn56   void operator()(const RawAddress& bd_addr, uint32_t transmit_bandwidth,
57                   uint32_t receive_bandwidth, uint16_t max_latency,
58                   uint16_t content_fmt, uint8_t retrans_effort,
59                   uint16_t packet_types) {
60     body(bd_addr, transmit_bandwidth, receive_bandwidth, max_latency,
61          content_fmt, retrans_effort, packet_types);
62   };
63 };
64 extern struct btsnd_hcic_accept_esco_conn btsnd_hcic_accept_esco_conn;
65 
66 // Name: btsnd_hcic_add_SCO_conn
67 // Params: uint16_t handle, uint16_t packet_types
68 // Return: void
69 struct btsnd_hcic_add_SCO_conn {
70   std::function<void(uint16_t handle, uint16_t packet_types)> body{
71       [](uint16_t /* handle */, uint16_t /* packet_types */) {}};
operatorbtsnd_hcic_add_SCO_conn72   void operator()(uint16_t handle, uint16_t packet_types) {
73     body(handle, packet_types);
74   };
75 };
76 extern struct btsnd_hcic_add_SCO_conn btsnd_hcic_add_SCO_conn;
77 
78 // Name: btsnd_hcic_auth_request
79 // Params: uint16_t handle
80 // Return: void
81 struct btsnd_hcic_auth_request {
82   std::function<void(uint16_t handle)> body{[](uint16_t /* handle */) {}};
operatorbtsnd_hcic_auth_request83   void operator()(uint16_t handle) { body(handle); };
84 };
85 extern struct btsnd_hcic_auth_request btsnd_hcic_auth_request;
86 
87 // Name: btsnd_hcic_change_name
88 // Params: BD_NAME name
89 // Return: void
90 struct btsnd_hcic_change_name {
91   std::function<void(BD_NAME name)> body{[](BD_NAME /* name */) {}};
operatorbtsnd_hcic_change_name92   void operator()(BD_NAME name) { body(name); };
93 };
94 extern struct btsnd_hcic_change_name btsnd_hcic_change_name;
95 
96 // Name: btsnd_hcic_create_conn_cancel
97 // Params: const RawAddress& dest
98 // Return: void
99 struct btsnd_hcic_create_conn_cancel {
100   std::function<void(const RawAddress& dest)> body{
101       [](const RawAddress& /* dest */) {}};
operatorbtsnd_hcic_create_conn_cancel102   void operator()(const RawAddress& dest) { body(dest); };
103 };
104 extern struct btsnd_hcic_create_conn_cancel btsnd_hcic_create_conn_cancel;
105 
106 // Name: btsnd_hcic_delete_stored_key
107 // Params: const RawAddress& bd_addr, bool delete_all_flag
108 // Return: void
109 struct btsnd_hcic_delete_stored_key {
110   std::function<void(const RawAddress& bd_addr, bool delete_all_flag)> body{
111       [](const RawAddress& /* bd_addr */, bool /* delete_all_flag */) {}};
operatorbtsnd_hcic_delete_stored_key112   void operator()(const RawAddress& bd_addr, bool delete_all_flag) {
113     body(bd_addr, delete_all_flag);
114   };
115 };
116 extern struct btsnd_hcic_delete_stored_key btsnd_hcic_delete_stored_key;
117 
118 // Name: btsnd_hcic_enable_test_mode
119 // Params: void
120 // Return: void
121 struct btsnd_hcic_enable_test_mode {
122   std::function<void(void)> body{[](void) {}};
operatorbtsnd_hcic_enable_test_mode123   void operator()(void) { body(); };
124 };
125 extern struct btsnd_hcic_enable_test_mode btsnd_hcic_enable_test_mode;
126 
127 // Name: btsnd_hcic_enhanced_accept_synchronous_connection
128 // Params: const RawAddress& bd_addr, enh_esco_params_t* p_params
129 // Return: void
130 struct btsnd_hcic_enhanced_accept_synchronous_connection {
131   std::function<void(const RawAddress& bd_addr, enh_esco_params_t* p_params)>
132       body{[](const RawAddress& /* bd_addr */,
133               enh_esco_params_t* /* p_params */) {}};
operatorbtsnd_hcic_enhanced_accept_synchronous_connection134   void operator()(const RawAddress& bd_addr, enh_esco_params_t* p_params) {
135     body(bd_addr, p_params);
136   };
137 };
138 extern struct btsnd_hcic_enhanced_accept_synchronous_connection
139     btsnd_hcic_enhanced_accept_synchronous_connection;
140 
141 // Name: btsnd_hcic_enhanced_set_up_synchronous_connection
142 // Params: uint16_t conn_handle, enh_esco_params_t* p_params
143 // Return: void
144 struct btsnd_hcic_enhanced_set_up_synchronous_connection {
145   std::function<void(uint16_t conn_handle, enh_esco_params_t* p_params)> body{
146       [](uint16_t /* conn_handle */, enh_esco_params_t* /* p_params */) {}};
operatorbtsnd_hcic_enhanced_set_up_synchronous_connection147   void operator()(uint16_t conn_handle, enh_esco_params_t* p_params) {
148     body(conn_handle, p_params);
149   };
150 };
151 extern struct btsnd_hcic_enhanced_set_up_synchronous_connection
152     btsnd_hcic_enhanced_set_up_synchronous_connection;
153 
154 // Name: btsnd_hcic_exit_park_mode
155 // Params: uint16_t handle
156 // Return: void
157 struct btsnd_hcic_exit_park_mode {
158   std::function<void(uint16_t handle)> body{[](uint16_t /* handle */) {}};
operatorbtsnd_hcic_exit_park_mode159   void operator()(uint16_t handle) { body(handle); };
160 };
161 extern struct btsnd_hcic_exit_park_mode btsnd_hcic_exit_park_mode;
162 
163 // Name: btsnd_hcic_exit_sniff_mode
164 // Params: uint16_t handle
165 // Return: void
166 struct btsnd_hcic_exit_sniff_mode {
167   std::function<void(uint16_t handle)> body{[](uint16_t /* handle */) {}};
operatorbtsnd_hcic_exit_sniff_mode168   void operator()(uint16_t handle) { body(handle); };
169 };
170 extern struct btsnd_hcic_exit_sniff_mode btsnd_hcic_exit_sniff_mode;
171 
172 // Name: btsnd_hcic_hold_mode
173 // Params: uint16_t handle, uint16_t max_hold_period, uint16_t min_hold_period
174 // Return: void
175 struct btsnd_hcic_hold_mode {
176   std::function<void(uint16_t handle, uint16_t max_hold_period,
177                      uint16_t min_hold_period)>
178       body{[](uint16_t /* handle */, uint16_t /* max_hold_period */,
179               uint16_t /* min_hold_period */) {}};
operatorbtsnd_hcic_hold_mode180   void operator()(uint16_t handle, uint16_t max_hold_period,
181                   uint16_t min_hold_period) {
182     body(handle, max_hold_period, min_hold_period);
183   };
184 };
185 extern struct btsnd_hcic_hold_mode btsnd_hcic_hold_mode;
186 
187 // Name: btsnd_hcic_io_cap_req_neg_reply
188 // Params: const RawAddress& bd_addr, uint8_t err_code
189 // Return: void
190 struct btsnd_hcic_io_cap_req_neg_reply {
191   std::function<void(const RawAddress& bd_addr, uint8_t err_code)> body{
192       [](const RawAddress& /* bd_addr */, uint8_t /* err_code */) {}};
operatorbtsnd_hcic_io_cap_req_neg_reply193   void operator()(const RawAddress& bd_addr, uint8_t err_code) {
194     body(bd_addr, err_code);
195   };
196 };
197 extern struct btsnd_hcic_io_cap_req_neg_reply btsnd_hcic_io_cap_req_neg_reply;
198 
199 // Name: btsnd_hcic_io_cap_req_reply
200 // Params: const RawAddress& bd_addr, uint8_t capability, uint8_t oob_present,
201 // uint8_t auth_req Return: void
202 struct btsnd_hcic_io_cap_req_reply {
203   std::function<void(const RawAddress& bd_addr, uint8_t capability,
204                      uint8_t oob_present, uint8_t auth_req)>
205       body{[](const RawAddress& /* bd_addr */, uint8_t /* capability */,
206               uint8_t /* oob_present */, uint8_t /* auth_req */) {}};
operatorbtsnd_hcic_io_cap_req_reply207   void operator()(const RawAddress& bd_addr, uint8_t capability,
208                   uint8_t oob_present, uint8_t auth_req) {
209     body(bd_addr, capability, oob_present, auth_req);
210   };
211 };
212 extern struct btsnd_hcic_io_cap_req_reply btsnd_hcic_io_cap_req_reply;
213 
214 // Name: btsnd_hcic_link_key_neg_reply
215 // Params: const RawAddress& bd_addr
216 // Return: void
217 struct btsnd_hcic_link_key_neg_reply {
218   std::function<void(const RawAddress& bd_addr)> body{
219       [](const RawAddress& /* bd_addr */) {}};
operatorbtsnd_hcic_link_key_neg_reply220   void operator()(const RawAddress& bd_addr) { body(bd_addr); };
221 };
222 extern struct btsnd_hcic_link_key_neg_reply btsnd_hcic_link_key_neg_reply;
223 
224 // Name: btsnd_hcic_link_key_req_reply
225 // Params: const RawAddress& bd_addr, const LinkKey& link_key
226 // Return: void
227 struct btsnd_hcic_link_key_req_reply {
228   std::function<void(const RawAddress& bd_addr, const LinkKey& link_key)> body{
229       [](const RawAddress& /* bd_addr */, const LinkKey& /* link_key */) {}};
operatorbtsnd_hcic_link_key_req_reply230   void operator()(const RawAddress& bd_addr, const LinkKey& link_key) {
231     body(bd_addr, link_key);
232   };
233 };
234 extern struct btsnd_hcic_link_key_req_reply btsnd_hcic_link_key_req_reply;
235 
236 // Name: btsnd_hcic_park_mode
237 // Params: uint16_t handle, uint16_t beacon_max_interval, uint16_t
238 // beacon_min_interval Return: void
239 struct btsnd_hcic_park_mode {
240   std::function<void(uint16_t handle, uint16_t beacon_max_interval,
241                      uint16_t beacon_min_interval)>
242       body{[](uint16_t /* handle */, uint16_t /* beacon_max_interval */,
243               uint16_t /* beacon_min_interval */) {}};
operatorbtsnd_hcic_park_mode244   void operator()(uint16_t handle, uint16_t beacon_max_interval,
245                   uint16_t beacon_min_interval) {
246     body(handle, beacon_max_interval, beacon_min_interval);
247   };
248 };
249 extern struct btsnd_hcic_park_mode btsnd_hcic_park_mode;
250 
251 // Name: btsnd_hcic_pin_code_neg_reply
252 // Params: const RawAddress& bd_addr
253 // Return: void
254 struct btsnd_hcic_pin_code_neg_reply {
255   std::function<void(const RawAddress& bd_addr)> body{
256       [](const RawAddress& /* bd_addr */) {}};
operatorbtsnd_hcic_pin_code_neg_reply257   void operator()(const RawAddress& bd_addr) { body(bd_addr); };
258 };
259 extern struct btsnd_hcic_pin_code_neg_reply btsnd_hcic_pin_code_neg_reply;
260 
261 // Name: btsnd_hcic_pin_code_req_reply
262 // Params: const RawAddress& bd_addr, uint8_t pin_code_len, PIN_CODE pin_code
263 // Return: void
264 struct btsnd_hcic_pin_code_req_reply {
265   std::function<void(const RawAddress& bd_addr, uint8_t pin_code_len,
266                      PIN_CODE pin_code)>
267       body{[](const RawAddress& /* bd_addr */, uint8_t /* pin_code_len */,
268               PIN_CODE /* pin_code */) {}};
operatorbtsnd_hcic_pin_code_req_reply269   void operator()(const RawAddress& bd_addr, uint8_t pin_code_len,
270                   PIN_CODE pin_code) {
271     body(bd_addr, pin_code_len, pin_code);
272   };
273 };
274 extern struct btsnd_hcic_pin_code_req_reply btsnd_hcic_pin_code_req_reply;
275 
276 // Name: btsnd_hcic_read_encryption_key_size
277 // Params: uint16_t handle, ReadEncKeySizeCb cb
278 // Return: void
279 struct btsnd_hcic_read_encryption_key_size {
280   std::function<void(uint16_t handle, ReadEncKeySizeCb cb)> body{
281       [](uint16_t /* handle */, ReadEncKeySizeCb /* cb */) {}};
operatorbtsnd_hcic_read_encryption_key_size282   void operator()(uint16_t handle, ReadEncKeySizeCb cb) {
283     body(handle, std::move(cb));
284   };
285 };
286 extern struct btsnd_hcic_read_encryption_key_size
287     btsnd_hcic_read_encryption_key_size;
288 
289 // Name: btsnd_hcic_read_failed_contact_counter
290 // Params: uint16_t handle
291 // Return: void
292 struct btsnd_hcic_read_failed_contact_counter {
293   std::function<void(uint16_t handle)> body{[](uint16_t /* handle */) {}};
operatorbtsnd_hcic_read_failed_contact_counter294   void operator()(uint16_t handle) { body(handle); };
295 };
296 extern struct btsnd_hcic_read_failed_contact_counter
297     btsnd_hcic_read_failed_contact_counter;
298 
299 // Name: btsnd_hcic_read_local_oob_data
300 // Params: void
301 // Return: void
302 struct btsnd_hcic_read_local_oob_data {
303   std::function<void(void)> body{[](void) {}};
operatorbtsnd_hcic_read_local_oob_data304   void operator()(void) { body(); };
305 };
306 extern struct btsnd_hcic_read_local_oob_data btsnd_hcic_read_local_oob_data;
307 
308 // Name: btsnd_hcic_read_local_oob_extended_data
309 // Params: void
310 // Return: void
311 struct btsnd_hcic_read_local_oob_extended_data {
312   std::function<void(void)> body{[](void) {}};
operatorbtsnd_hcic_read_local_oob_extended_data313   void operator()(void) { body(); };
314 };
315 extern struct btsnd_hcic_read_local_oob_extended_data
316     btsnd_hcic_read_local_oob_extended_data;
317 
318 // Name: btsnd_hcic_read_name
319 // Params: void
320 // Return: void
321 struct btsnd_hcic_read_name {
322   std::function<void(void)> body{[](void) {}};
operatorbtsnd_hcic_read_name323   void operator()(void) { body(); };
324 };
325 extern struct btsnd_hcic_read_name btsnd_hcic_read_name;
326 
327 // Name: btsnd_hcic_read_rmt_clk_offset
328 // Params: uint16_t handle
329 // Return: void
330 struct btsnd_hcic_read_rmt_clk_offset {
331   std::function<void(uint16_t handle)> body{[](uint16_t /* handle */) {}};
operatorbtsnd_hcic_read_rmt_clk_offset332   void operator()(uint16_t handle) { body(handle); };
333 };
334 extern struct btsnd_hcic_read_rmt_clk_offset btsnd_hcic_read_rmt_clk_offset;
335 
336 // Name: btsnd_hcic_read_rssi
337 // Params: uint16_t handle
338 // Return: void
339 struct btsnd_hcic_read_rssi {
340   std::function<void(uint16_t handle)> body{[](uint16_t /* handle */) {}};
operatorbtsnd_hcic_read_rssi341   void operator()(uint16_t handle) { body(handle); };
342 };
343 extern struct btsnd_hcic_read_rssi btsnd_hcic_read_rssi;
344 
345 // Name: btsnd_hcic_read_tx_power
346 // Params: uint16_t handle, uint8_t type
347 // Return: void
348 struct btsnd_hcic_read_tx_power {
349   std::function<void(uint16_t handle, uint8_t type)> body{
350       [](uint16_t /* handle */, uint8_t /* type */) {}};
operatorbtsnd_hcic_read_tx_power351   void operator()(uint16_t handle, uint8_t type) { body(handle, type); };
352 };
353 extern struct btsnd_hcic_read_tx_power btsnd_hcic_read_tx_power;
354 
355 // Name: btsnd_hcic_reject_conn
356 // Params: const RawAddress& dest, uint8_t reason
357 // Return: void
358 struct btsnd_hcic_reject_conn {
359   std::function<void(const RawAddress& dest, uint8_t reason)> body{
360       [](const RawAddress& /* dest */, uint8_t /* reason */) {}};
operatorbtsnd_hcic_reject_conn361   void operator()(const RawAddress& dest, uint8_t reason) {
362     body(dest, reason);
363   };
364 };
365 extern struct btsnd_hcic_reject_conn btsnd_hcic_reject_conn;
366 
367 // Name: btsnd_hcic_reject_esco_conn
368 // Params: const RawAddress& bd_addr, uint8_t reason
369 // Return: void
370 struct btsnd_hcic_reject_esco_conn {
371   std::function<void(const RawAddress& bd_addr, uint8_t reason)> body{
372       [](const RawAddress& /* bd_addr */, uint8_t /* reason */) {}};
operatorbtsnd_hcic_reject_esco_conn373   void operator()(const RawAddress& bd_addr, uint8_t reason) {
374     body(bd_addr, reason);
375   };
376 };
377 extern struct btsnd_hcic_reject_esco_conn btsnd_hcic_reject_esco_conn;
378 
379 // Name: btsnd_hcic_rem_oob_neg_reply
380 // Params: const RawAddress& bd_addr
381 // Return: void
382 struct btsnd_hcic_rem_oob_neg_reply {
383   std::function<void(const RawAddress& bd_addr)> body{
384       [](const RawAddress& /* bd_addr */) {}};
operatorbtsnd_hcic_rem_oob_neg_reply385   void operator()(const RawAddress& bd_addr) { body(bd_addr); };
386 };
387 extern struct btsnd_hcic_rem_oob_neg_reply btsnd_hcic_rem_oob_neg_reply;
388 
389 // Name: btsnd_hcic_rem_oob_reply
390 // Params: const RawAddress& bd_addr, const Octet16& c, const Octet16& r
391 // Return: void
392 struct btsnd_hcic_rem_oob_reply {
393   std::function<void(const RawAddress& bd_addr, const Octet16& c,
394                      const Octet16& r)>
395       body{[](const RawAddress& /* bd_addr */, const Octet16& /* c */,
396               const Octet16& /* r */) {}};
operatorbtsnd_hcic_rem_oob_reply397   void operator()(const RawAddress& bd_addr, const Octet16& c,
398                   const Octet16& r) {
399     body(bd_addr, c, r);
400   };
401 };
402 extern struct btsnd_hcic_rem_oob_reply btsnd_hcic_rem_oob_reply;
403 
404 // Name: btsnd_hcic_rmt_ext_features
405 // Params: uint16_t handle, uint8_t page_num
406 // Return: void
407 struct btsnd_hcic_rmt_ext_features {
408   std::function<void(uint16_t handle, uint8_t page_num)> body{
409       [](uint16_t /* handle */, uint8_t /* page_num */) {}};
operatorbtsnd_hcic_rmt_ext_features410   void operator()(uint16_t handle, uint8_t page_num) {
411     body(handle, page_num);
412   };
413 };
414 extern struct btsnd_hcic_rmt_ext_features btsnd_hcic_rmt_ext_features;
415 
416 // Name: btsnd_hcic_rmt_ver_req
417 // Params: uint16_t handle
418 // Return: void
419 struct btsnd_hcic_rmt_ver_req {
420   std::function<void(uint16_t handle)> body{[](uint16_t /* handle */) {}};
operatorbtsnd_hcic_rmt_ver_req421   void operator()(uint16_t handle) { body(handle); };
422 };
423 extern struct btsnd_hcic_rmt_ver_req btsnd_hcic_rmt_ver_req;
424 
425 // Name: btsnd_hcic_set_conn_encrypt
426 // Params: uint16_t handle, bool enable
427 // Return: void
428 struct btsnd_hcic_set_conn_encrypt {
429   std::function<void(uint16_t handle, bool enable)> body{
430       [](uint16_t /* handle */, bool /* enable */) {}};
operatorbtsnd_hcic_set_conn_encrypt431   void operator()(uint16_t handle, bool enable) { body(handle, enable); };
432 };
433 extern struct btsnd_hcic_set_conn_encrypt btsnd_hcic_set_conn_encrypt;
434 
435 // Name: btsnd_hcic_set_event_filter
436 // Params: uint8_t filt_type, uint8_t filt_cond_type, uint8_t* filt_cond,
437 // uint8_t filt_cond_len Return: void
438 struct btsnd_hcic_set_event_filter {
439   std::function<void(uint8_t filt_type, uint8_t filt_cond_type,
440                      uint8_t* filt_cond, uint8_t filt_cond_len)>
441       body{[](uint8_t /* filt_type */, uint8_t /* filt_cond_type */,
442               uint8_t* /* filt_cond */, uint8_t /* filt_cond_len */) {}};
operatorbtsnd_hcic_set_event_filter443   void operator()(uint8_t filt_type, uint8_t filt_cond_type, uint8_t* filt_cond,
444                   uint8_t filt_cond_len) {
445     body(filt_type, filt_cond_type, filt_cond, filt_cond_len);
446   };
447 };
448 extern struct btsnd_hcic_set_event_filter btsnd_hcic_set_event_filter;
449 
450 // Name: btsnd_hcic_setup_esco_conn
451 // Params: uint16_t handle, uint32_t transmit_bandwidth, uint32_t
452 // receive_bandwidth, uint16_t max_latency, uint16_t voice, uint8_t
453 // retrans_effort, uint16_t packet_types Return: void
454 struct btsnd_hcic_setup_esco_conn {
455   std::function<void(uint16_t handle, uint32_t transmit_bandwidth,
456                      uint32_t receive_bandwidth, uint16_t max_latency,
457                      uint16_t voice, uint8_t retrans_effort,
458                      uint16_t packet_types)>
459       body{[](uint16_t /* handle */, uint32_t /* transmit_bandwidth */,
460               uint32_t /* receive_bandwidth */, uint16_t /* max_latency */,
461               uint16_t /* voice */, uint8_t /* retrans_effort */,
462               uint16_t /* packet_types */) {}};
operatorbtsnd_hcic_setup_esco_conn463   void operator()(uint16_t handle, uint32_t transmit_bandwidth,
464                   uint32_t receive_bandwidth, uint16_t max_latency,
465                   uint16_t voice, uint8_t retrans_effort,
466                   uint16_t packet_types) {
467     body(handle, transmit_bandwidth, receive_bandwidth, max_latency, voice,
468          retrans_effort, packet_types);
469   };
470 };
471 extern struct btsnd_hcic_setup_esco_conn btsnd_hcic_setup_esco_conn;
472 
473 // Name: btsnd_hcic_sniff_mode
474 // Params: uint16_t handle, uint16_t max_sniff_period, uint16_t
475 // min_sniff_period, uint16_t sniff_attempt, uint16_t sniff_timeout Return: void
476 struct btsnd_hcic_sniff_mode {
477   std::function<void(uint16_t handle, uint16_t max_sniff_period,
478                      uint16_t min_sniff_period, uint16_t sniff_attempt,
479                      uint16_t sniff_timeout)>
480       body{[](uint16_t /* handle */, uint16_t /* max_sniff_period */,
481               uint16_t /* min_sniff_period */, uint16_t /* sniff_attempt */,
482               uint16_t /* sniff_timeout */) {}};
operatorbtsnd_hcic_sniff_mode483   void operator()(uint16_t handle, uint16_t max_sniff_period,
484                   uint16_t min_sniff_period, uint16_t sniff_attempt,
485                   uint16_t sniff_timeout) {
486     body(handle, max_sniff_period, min_sniff_period, sniff_attempt,
487          sniff_timeout);
488   };
489 };
490 extern struct btsnd_hcic_sniff_mode btsnd_hcic_sniff_mode;
491 
492 // Name: btsnd_hcic_sniff_sub_rate
493 // Params: uint16_t handle, uint16_t max_lat, uint16_t min_remote_lat, uint16_t
494 // min_local_lat Return: void
495 struct btsnd_hcic_sniff_sub_rate {
496   std::function<void(uint16_t handle, uint16_t max_lat, uint16_t min_remote_lat,
497                      uint16_t min_local_lat)>
498       body{[](uint16_t /* handle */, uint16_t /* max_lat */,
499               uint16_t /* min_remote_lat */, uint16_t /* min_local_lat */) {}};
operatorbtsnd_hcic_sniff_sub_rate500   void operator()(uint16_t handle, uint16_t max_lat, uint16_t min_remote_lat,
501                   uint16_t min_local_lat) {
502     body(handle, max_lat, min_remote_lat, min_local_lat);
503   };
504 };
505 extern struct btsnd_hcic_sniff_sub_rate btsnd_hcic_sniff_sub_rate;
506 
507 // Name: btsnd_hcic_user_conf_reply
508 // Params: const RawAddress& bd_addr, bool is_yes
509 // Return: void
510 struct btsnd_hcic_user_conf_reply {
511   std::function<void(const RawAddress& bd_addr, bool is_yes)> body{
512       [](const RawAddress& /* bd_addr */, bool /* is_yes */) {}};
operatorbtsnd_hcic_user_conf_reply513   void operator()(const RawAddress& bd_addr, bool is_yes) {
514     body(bd_addr, is_yes);
515   };
516 };
517 extern struct btsnd_hcic_user_conf_reply btsnd_hcic_user_conf_reply;
518 
519 // Name: btsnd_hcic_user_passkey_neg_reply
520 // Params: const RawAddress& bd_addr
521 // Return: void
522 struct btsnd_hcic_user_passkey_neg_reply {
523   std::function<void(const RawAddress& bd_addr)> body{
524       [](const RawAddress& /* bd_addr */) {}};
operatorbtsnd_hcic_user_passkey_neg_reply525   void operator()(const RawAddress& bd_addr) { body(bd_addr); };
526 };
527 extern struct btsnd_hcic_user_passkey_neg_reply
528     btsnd_hcic_user_passkey_neg_reply;
529 
530 // Name: btsnd_hcic_user_passkey_reply
531 // Params: const RawAddress& bd_addr, uint32_t value
532 // Return: void
533 struct btsnd_hcic_user_passkey_reply {
534   std::function<void(const RawAddress& bd_addr, uint32_t value)> body{
535       [](const RawAddress& /* bd_addr */, uint32_t /* value */) {}};
operatorbtsnd_hcic_user_passkey_reply536   void operator()(const RawAddress& bd_addr, uint32_t value) {
537     body(bd_addr, value);
538   };
539 };
540 extern struct btsnd_hcic_user_passkey_reply btsnd_hcic_user_passkey_reply;
541 
542 // Name: btsnd_hcic_vendor_spec_cmd
543 // Params: uint16_t opcode, uint8_t len, uint8_t* p_data, void*
544 // p_cmd_cplt_cback Return: void
545 struct btsnd_hcic_vendor_spec_cmd {
546   std::function<void(uint16_t opcode, uint8_t len, uint8_t* p_data,
547                      tBTM_VSC_CMPL_CB* p_cmd_cplt_cback)>
548       body{[](uint16_t /* opcode */, uint8_t /* len */, uint8_t* /* p_data */,
549               tBTM_VSC_CMPL_CB* /* p_cmd_cplt_cback */) {}};
operatorbtsnd_hcic_vendor_spec_cmd550   void operator()(uint16_t opcode, uint8_t len, uint8_t* p_data,
551                   tBTM_VSC_CMPL_CB* p_cmd_cplt_cback) {
552     body(opcode, len, p_data, p_cmd_cplt_cback);
553   };
554 };
555 extern struct btsnd_hcic_vendor_spec_cmd btsnd_hcic_vendor_spec_cmd;
556 
557 // Name: btsnd_hcic_write_auth_enable
558 // Params: uint8_t flag
559 // Return: void
560 struct btsnd_hcic_write_auth_enable {
561   std::function<void(uint8_t flag)> body{[](uint8_t /* flag */) {}};
operatorbtsnd_hcic_write_auth_enable562   void operator()(uint8_t flag) { body(flag); };
563 };
564 extern struct btsnd_hcic_write_auth_enable btsnd_hcic_write_auth_enable;
565 
566 // Name: btsnd_hcic_write_auto_flush_tout
567 // Params: uint16_t handle, uint16_t tout
568 // Return: void
569 struct btsnd_hcic_write_auto_flush_tout {
570   std::function<void(uint16_t handle, uint16_t tout)> body{
571       [](uint16_t /* handle */, uint16_t /* tout */) {}};
operatorbtsnd_hcic_write_auto_flush_tout572   void operator()(uint16_t handle, uint16_t tout) { body(handle, tout); };
573 };
574 extern struct btsnd_hcic_write_auto_flush_tout btsnd_hcic_write_auto_flush_tout;
575 
576 // Name: btsnd_hcic_write_cur_iac_lap
577 // Params: uint8_t num_cur_iac, LAP* const iac_lap
578 // Return: void
579 struct btsnd_hcic_write_cur_iac_lap {
580   std::function<void(uint8_t num_cur_iac, LAP* const iac_lap)> body{
581       [](uint8_t /* num_cur_iac */, LAP* const /* iac_lap */) {}};
operatorbtsnd_hcic_write_cur_iac_lap582   void operator()(uint8_t num_cur_iac, LAP* const iac_lap) {
583     body(num_cur_iac, iac_lap);
584   };
585 };
586 extern struct btsnd_hcic_write_cur_iac_lap btsnd_hcic_write_cur_iac_lap;
587 
588 // Name: btsnd_hcic_write_def_policy_set
589 // Params: uint16_t settings
590 // Return: void
591 struct btsnd_hcic_write_def_policy_set {
592   std::function<void(uint16_t settings)> body{[](uint16_t /* settings */) {}};
operatorbtsnd_hcic_write_def_policy_set593   void operator()(uint16_t settings) { body(settings); };
594 };
595 extern struct btsnd_hcic_write_def_policy_set btsnd_hcic_write_def_policy_set;
596 
597 // Name: btsnd_hcic_write_dev_class
598 // Params: DEV_CLASS dev_class
599 // Return: void
600 struct btsnd_hcic_write_dev_class {
601   std::function<void(DEV_CLASS dev_class)> body{
602       [](DEV_CLASS /* dev_class */) {}};
operatorbtsnd_hcic_write_dev_class603   void operator()(DEV_CLASS dev_class) { body(dev_class); };
604 };
605 extern struct btsnd_hcic_write_dev_class btsnd_hcic_write_dev_class;
606 
607 // Name: btsnd_hcic_write_ext_inquiry_response
608 // Params: void* buffer, uint8_t fec_req
609 // Return: void
610 struct btsnd_hcic_write_ext_inquiry_response {
611   std::function<void(void* buffer, uint8_t fec_req)> body{
612       [](void* /* buffer */, uint8_t /* fec_req */) {}};
operatorbtsnd_hcic_write_ext_inquiry_response613   void operator()(void* buffer, uint8_t fec_req) { body(buffer, fec_req); };
614 };
615 extern struct btsnd_hcic_write_ext_inquiry_response
616     btsnd_hcic_write_ext_inquiry_response;
617 
618 // Name: btsnd_hcic_write_inqscan_cfg
619 // Params: uint16_t interval, uint16_t window
620 // Return: void
621 struct btsnd_hcic_write_inqscan_cfg {
622   std::function<void(uint16_t interval, uint16_t window)> body{
623       [](uint16_t /* interval */, uint16_t /* window */) {}};
operatorbtsnd_hcic_write_inqscan_cfg624   void operator()(uint16_t interval, uint16_t window) {
625     body(interval, window);
626   };
627 };
628 extern struct btsnd_hcic_write_inqscan_cfg btsnd_hcic_write_inqscan_cfg;
629 
630 // Name: btsnd_hcic_write_inqscan_type
631 // Params: uint8_t type
632 // Return: void
633 struct btsnd_hcic_write_inqscan_type {
634   std::function<void(uint8_t type)> body{[](uint8_t /* type */) {}};
operatorbtsnd_hcic_write_inqscan_type635   void operator()(uint8_t type) { body(type); };
636 };
637 extern struct btsnd_hcic_write_inqscan_type btsnd_hcic_write_inqscan_type;
638 
639 // Name: btsnd_hcic_write_inquiry_mode
640 // Params: uint8_t mode
641 // Return: void
642 struct btsnd_hcic_write_inquiry_mode {
643   std::function<void(uint8_t mode)> body{[](uint8_t /* mode */) {}};
operatorbtsnd_hcic_write_inquiry_mode644   void operator()(uint8_t mode) { body(mode); };
645 };
646 extern struct btsnd_hcic_write_inquiry_mode btsnd_hcic_write_inquiry_mode;
647 
648 // Name: btsnd_hcic_write_link_super_tout
649 // Params: uint16_t handle, uint16_t timeout
650 // Return: void
651 struct btsnd_hcic_write_link_super_tout {
652   std::function<void(uint16_t handle, uint16_t timeout)> body{
653       [](uint16_t /* handle */, uint16_t /* timeout */) {}};
operatorbtsnd_hcic_write_link_super_tout654   void operator()(uint16_t handle, uint16_t timeout) { body(handle, timeout); };
655 };
656 extern struct btsnd_hcic_write_link_super_tout btsnd_hcic_write_link_super_tout;
657 
658 // Name: btsnd_hcic_write_page_tout
659 // Params: uint16_t timeout
660 // Return: void
661 struct btsnd_hcic_write_page_tout {
662   std::function<void(uint16_t timeout)> body{[](uint16_t /* timeout */) {}};
operatorbtsnd_hcic_write_page_tout663   void operator()(uint16_t timeout) { body(timeout); };
664 };
665 extern struct btsnd_hcic_write_page_tout btsnd_hcic_write_page_tout;
666 
667 // Name: btsnd_hcic_write_pagescan_cfg
668 // Params: uint16_t interval, uint16_t window
669 // Return: void
670 struct btsnd_hcic_write_pagescan_cfg {
671   std::function<void(uint16_t interval, uint16_t window)> body{
672       [](uint16_t /* interval */, uint16_t /* window */) {}};
operatorbtsnd_hcic_write_pagescan_cfg673   void operator()(uint16_t interval, uint16_t window) {
674     body(interval, window);
675   };
676 };
677 extern struct btsnd_hcic_write_pagescan_cfg btsnd_hcic_write_pagescan_cfg;
678 
679 // Name: btsnd_hcic_write_pagescan_type
680 // Params: uint8_t type
681 // Return: void
682 struct btsnd_hcic_write_pagescan_type {
683   std::function<void(uint8_t type)> body{[](uint8_t /* type */) {}};
operatorbtsnd_hcic_write_pagescan_type684   void operator()(uint8_t type) { body(type); };
685 };
686 extern struct btsnd_hcic_write_pagescan_type btsnd_hcic_write_pagescan_type;
687 
688 // Name: btsnd_hcic_write_pin_type
689 // Params: uint8_t type
690 // Return: void
691 struct btsnd_hcic_write_pin_type {
692   std::function<void(uint8_t type)> body{[](uint8_t /* type */) {}};
operatorbtsnd_hcic_write_pin_type693   void operator()(uint8_t type) { body(type); };
694 };
695 extern struct btsnd_hcic_write_pin_type btsnd_hcic_write_pin_type;
696 
697 // Name: btsnd_hcic_write_policy_set
698 // Params: uint16_t handle, uint16_t settings
699 // Return: void
700 struct btsnd_hcic_write_policy_set {
701   std::function<void(uint16_t handle, uint16_t settings)> body{
702       [](uint16_t /* handle */, uint16_t /* settings */) {}};
operatorbtsnd_hcic_write_policy_set703   void operator()(uint16_t handle, uint16_t settings) {
704     body(handle, settings);
705   };
706 };
707 extern struct btsnd_hcic_write_policy_set btsnd_hcic_write_policy_set;
708 
709 // Name: btsnd_hcic_write_scan_enable
710 // Params: uint8_t flag
711 // Return: void
712 struct btsnd_hcic_write_scan_enable {
713   std::function<void(uint8_t flag)> body{[](uint8_t /* flag */) {}};
operatorbtsnd_hcic_write_scan_enable714   void operator()(uint8_t flag) { body(flag); };
715 };
716 extern struct btsnd_hcic_write_scan_enable btsnd_hcic_write_scan_enable;
717 
718 // Name: btsnd_hcic_write_voice_settings
719 // Params: uint16_t flags
720 // Return: void
721 struct btsnd_hcic_write_voice_settings {
722   std::function<void(uint16_t flags)> body{[](uint16_t /* flags */) {}};
operatorbtsnd_hcic_write_voice_settings723   void operator()(uint16_t flags) { body(flags); };
724 };
725 extern struct btsnd_hcic_write_voice_settings btsnd_hcic_write_voice_settings;
726 
727 }  // namespace stack_hcic_hcicmds
728 }  // namespace mock
729 }  // namespace test
730 
731 // END mockcify generation
732