• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:71
20  *
21  *  mockcify.pl ver 0.2
22  */
23 
24 #include <cstdint>
25 #include <functional>
26 #include <map>
27 #include <string>
28 
29 extern std::map<std::string, int> mock_function_count_map;
30 
31 // Original included files, if any
32 // NOTE: Since this is a mock file with mock definitions some number of
33 //       include files may not be required.  The include-what-you-use
34 //       still applies, but crafting proper inclusion is out of scope
35 //       for this effort.  This compilation unit may compile as-is, or
36 //       may need attention to prune the inclusion set.
37 #include "btif/include/btif_api.h"
38 #include "stack/smp/smp_int.h"
39 #include "types/raw_address.h"
40 
41 // Mocked compile conditionals, if any
42 #ifndef UNUSED_ATTR
43 #define UNUSED_ATTR
44 #endif
45 
46 namespace test {
47 namespace mock {
48 namespace stack_smp_act {
49 
50 // Shared state between mocked functions and tests
51 // Name: smp_send_app_cback
52 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
53 // Returns: void
54 struct smp_send_app_cback {
55   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
56       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_app_cback57   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
58 };
59 extern struct smp_send_app_cback smp_send_app_cback;
60 // Name: smp_send_pair_fail
61 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
62 // Returns: void
63 struct smp_send_pair_fail {
64   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
65       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_pair_fail66   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
67 };
68 extern struct smp_send_pair_fail smp_send_pair_fail;
69 // Name: smp_send_pair_req
70 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
71 // Returns: void
72 struct smp_send_pair_req {
73   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
74       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_pair_req75   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
76 };
77 extern struct smp_send_pair_req smp_send_pair_req;
78 // Name: smp_send_pair_rsp
79 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
80 // Returns: void
81 struct smp_send_pair_rsp {
82   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
83       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_pair_rsp84   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
85 };
86 extern struct smp_send_pair_rsp smp_send_pair_rsp;
87 // Name: smp_send_confirm
88 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
89 // Returns: void
90 struct smp_send_confirm {
91   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
92       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_confirm93   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
94 };
95 extern struct smp_send_confirm smp_send_confirm;
96 // Name: smp_send_init
97 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
98 // Returns: void
99 struct smp_send_init {
100   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
101       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_init102   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
103 };
104 extern struct smp_send_init smp_send_init;
105 // Name: smp_send_rand
106 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
107 // Returns: void
108 struct smp_send_rand {
109   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
110       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_rand111   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
112 };
113 extern struct smp_send_rand smp_send_rand;
114 // Name: smp_send_pair_public_key
115 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
116 // Returns: void
117 struct smp_send_pair_public_key {
118   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
119       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_pair_public_key120   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
121 };
122 extern struct smp_send_pair_public_key smp_send_pair_public_key;
123 // Name: smp_send_commitment
124 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
125 // Returns: void
126 struct smp_send_commitment {
127   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
128       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_commitment129   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
130 };
131 extern struct smp_send_commitment smp_send_commitment;
132 // Name: smp_send_dhkey_check
133 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
134 // Returns: void
135 struct smp_send_dhkey_check {
136   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
137       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_dhkey_check138   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
139 };
140 extern struct smp_send_dhkey_check smp_send_dhkey_check;
141 // Name: smp_send_keypress_notification
142 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
143 // Returns: void
144 struct smp_send_keypress_notification {
145   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
146       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_keypress_notification147   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
148 };
149 extern struct smp_send_keypress_notification smp_send_keypress_notification;
150 // Name: smp_send_enc_info
151 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
152 // Returns: void
153 struct smp_send_enc_info {
154   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
155       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_enc_info156   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
157 };
158 extern struct smp_send_enc_info smp_send_enc_info;
159 // Name: smp_send_id_info
160 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
161 // Returns: void
162 struct smp_send_id_info {
163   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
164       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_id_info165   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
166 };
167 extern struct smp_send_id_info smp_send_id_info;
168 // Name: smp_send_csrk_info
169 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
170 // Returns: void
171 struct smp_send_csrk_info {
172   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
173       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_csrk_info174   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
175 };
176 extern struct smp_send_csrk_info smp_send_csrk_info;
177 // Name: smp_send_ltk_reply
178 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
179 // Returns: void
180 struct smp_send_ltk_reply {
181   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
182       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_send_ltk_reply183   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
184 };
185 extern struct smp_send_ltk_reply smp_send_ltk_reply;
186 // Name: smp_proc_sec_req
187 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
188 // Returns: void
189 struct smp_proc_sec_req {
190   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
191       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_sec_req192   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
193 };
194 extern struct smp_proc_sec_req smp_proc_sec_req;
195 // Name: smp_proc_sec_grant
196 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
197 // Returns: void
198 struct smp_proc_sec_grant {
199   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
200       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_sec_grant201   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
202 };
203 extern struct smp_proc_sec_grant smp_proc_sec_grant;
204 // Name: smp_proc_pair_fail
205 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
206 // Returns: void
207 struct smp_proc_pair_fail {
208   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
209       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_pair_fail210   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
211 };
212 extern struct smp_proc_pair_fail smp_proc_pair_fail;
213 // Name: smp_proc_pair_cmd
214 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
215 // Returns: void
216 struct smp_proc_pair_cmd {
217   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
218       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_pair_cmd219   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
220 };
221 extern struct smp_proc_pair_cmd smp_proc_pair_cmd;
222 // Name: smp_proc_confirm
223 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
224 // Returns: void
225 struct smp_proc_confirm {
226   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
227       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_confirm228   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
229 };
230 extern struct smp_proc_confirm smp_proc_confirm;
231 // Name: smp_proc_init
232 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
233 // Returns: void
234 struct smp_proc_init {
235   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
236       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_init237   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
238 };
239 extern struct smp_proc_init smp_proc_init;
240 // Name: smp_proc_rand
241 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
242 // Returns: void
243 struct smp_proc_rand {
244   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
245       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_rand246   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
247 };
248 extern struct smp_proc_rand smp_proc_rand;
249 // Name: smp_process_pairing_public_key
250 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
251 // Returns: void
252 struct smp_process_pairing_public_key {
253   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
254       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_process_pairing_public_key255   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
256 };
257 extern struct smp_process_pairing_public_key smp_process_pairing_public_key;
258 // Name: smp_process_pairing_commitment
259 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
260 // Returns: void
261 struct smp_process_pairing_commitment {
262   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
263       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_process_pairing_commitment264   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
265 };
266 extern struct smp_process_pairing_commitment smp_process_pairing_commitment;
267 // Name: smp_process_dhkey_check
268 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
269 // Returns: void
270 struct smp_process_dhkey_check {
271   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
272       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_process_dhkey_check273   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
274 };
275 extern struct smp_process_dhkey_check smp_process_dhkey_check;
276 // Name: smp_process_keypress_notification
277 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
278 // Returns: void
279 struct smp_process_keypress_notification {
280   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
281       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_process_keypress_notification282   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
283 };
284 extern struct smp_process_keypress_notification
285     smp_process_keypress_notification;
286 // Name: smp_br_process_pairing_command
287 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
288 // Returns: void
289 struct smp_br_process_pairing_command {
290   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
291       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_br_process_pairing_command292   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
293 };
294 extern struct smp_br_process_pairing_command smp_br_process_pairing_command;
295 // Name: smp_br_process_security_grant
296 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
297 // Returns: void
298 struct smp_br_process_security_grant {
299   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
300       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_br_process_security_grant301   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
302 };
303 extern struct smp_br_process_security_grant smp_br_process_security_grant;
304 // Name: smp_br_check_authorization_request
305 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
306 // Returns: void
307 struct smp_br_check_authorization_request {
308   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
309       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_br_check_authorization_request310   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
311 };
312 extern struct smp_br_check_authorization_request
313     smp_br_check_authorization_request;
314 // Name: smp_br_select_next_key
315 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
316 // Returns: void
317 struct smp_br_select_next_key {
318   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
319       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_br_select_next_key320   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
321 };
322 extern struct smp_br_select_next_key smp_br_select_next_key;
323 // Name: smp_proc_enc_info
324 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
325 // Returns: void
326 struct smp_proc_enc_info {
327   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
328       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_enc_info329   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
330 };
331 extern struct smp_proc_enc_info smp_proc_enc_info;
332 // Name: smp_proc_central_id
333 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
334 // Returns: void
335 struct smp_proc_central_id {
336   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
337       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_central_id338   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
339 };
340 extern struct smp_proc_central_id smp_proc_central_id;
341 // Name: smp_proc_id_info
342 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
343 // Returns: void
344 struct smp_proc_id_info {
345   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
346       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_id_info347   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
348 };
349 extern struct smp_proc_id_info smp_proc_id_info;
350 // Name: smp_proc_id_addr
351 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
352 // Returns: void
353 struct smp_proc_id_addr {
354   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
355       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_id_addr356   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
357 };
358 extern struct smp_proc_id_addr smp_proc_id_addr;
359 // Name: smp_proc_srk_info
360 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
361 // Returns: void
362 struct smp_proc_srk_info {
363   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
364       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_srk_info365   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
366 };
367 extern struct smp_proc_srk_info smp_proc_srk_info;
368 // Name: smp_proc_compare
369 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
370 // Returns: void
371 struct smp_proc_compare {
372   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
373       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_compare374   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
375 };
376 extern struct smp_proc_compare smp_proc_compare;
377 // Name: smp_proc_sl_key
378 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
379 // Returns: void
380 struct smp_proc_sl_key {
381   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
382       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_sl_key383   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
384 };
385 extern struct smp_proc_sl_key smp_proc_sl_key;
386 // Name: smp_start_enc
387 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
388 // Returns: void
389 struct smp_start_enc {
390   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
391       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_start_enc392   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
393 };
394 extern struct smp_start_enc smp_start_enc;
395 // Name: smp_proc_discard
396 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
397 // Returns: void
398 struct smp_proc_discard {
399   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
400       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_proc_discard401   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
402 };
403 extern struct smp_proc_discard smp_proc_discard;
404 // Name: smp_enc_cmpl
405 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
406 // Returns: void
407 struct smp_enc_cmpl {
408   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
409       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_enc_cmpl410   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
411 };
412 extern struct smp_enc_cmpl smp_enc_cmpl;
413 // Name: smp_check_auth_req
414 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
415 // Returns: void
416 struct smp_check_auth_req {
417   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
418       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_check_auth_req419   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
420 };
421 extern struct smp_check_auth_req smp_check_auth_req;
422 // Name: smp_key_pick_key
423 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
424 // Returns: void
425 struct smp_key_pick_key {
426   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
427       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_key_pick_key428   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
429 };
430 extern struct smp_key_pick_key smp_key_pick_key;
431 // Name: smp_key_distribution
432 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
433 // Returns: void
434 struct smp_key_distribution {
435   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
436       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_key_distribution437   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
438 };
439 extern struct smp_key_distribution smp_key_distribution;
440 // Name: smp_decide_association_model
441 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
442 // Returns: void
443 struct smp_decide_association_model {
444   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
445       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_decide_association_model446   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
447 };
448 extern struct smp_decide_association_model smp_decide_association_model;
449 // Name: smp_process_io_response
450 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
451 // Returns: void
452 struct smp_process_io_response {
453   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
454       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_process_io_response455   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
456 };
457 extern struct smp_process_io_response smp_process_io_response;
458 // Name: smp_br_process_peripheral_keys_response
459 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
460 // Returns: void
461 struct smp_br_process_peripheral_keys_response {
462   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
463       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_br_process_peripheral_keys_response464   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
465 };
466 extern struct smp_br_process_peripheral_keys_response
467     smp_br_process_peripheral_keys_response;
468 // Name: smp_br_send_pair_response
469 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
470 // Returns: void
471 struct smp_br_send_pair_response {
472   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
473       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_br_send_pair_response474   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
475 };
476 extern struct smp_br_send_pair_response smp_br_send_pair_response;
477 // Name: smp_pairing_cmpl
478 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
479 // Returns: void
480 struct smp_pairing_cmpl {
481   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
482       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_pairing_cmpl483   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
484 };
485 extern struct smp_pairing_cmpl smp_pairing_cmpl;
486 // Name: smp_pair_terminate
487 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
488 // Returns: void
489 struct smp_pair_terminate {
490   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
491       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_pair_terminate492   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
493 };
494 extern struct smp_pair_terminate smp_pair_terminate;
495 // Name: smp_idle_terminate
496 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
497 // Returns: void
498 struct smp_idle_terminate {
499   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
500       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_idle_terminate501   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
502 };
503 extern struct smp_idle_terminate smp_idle_terminate;
504 // Name: smp_both_have_public_keys
505 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
506 // Returns: void
507 struct smp_both_have_public_keys {
508   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
509       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_both_have_public_keys510   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
511 };
512 extern struct smp_both_have_public_keys smp_both_have_public_keys;
513 // Name: smp_start_secure_connection_phase1
514 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
515 // Returns: void
516 struct smp_start_secure_connection_phase1 {
517   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
518       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_start_secure_connection_phase1519   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
520 };
521 extern struct smp_start_secure_connection_phase1
522     smp_start_secure_connection_phase1;
523 // Name: smp_process_local_nonce
524 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
525 // Returns: void
526 struct smp_process_local_nonce {
527   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
528       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_process_local_nonce529   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
530 };
531 extern struct smp_process_local_nonce smp_process_local_nonce;
532 // Name: smp_process_peer_nonce
533 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
534 // Returns: void
535 struct smp_process_peer_nonce {
536   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
537       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_process_peer_nonce538   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
539 };
540 extern struct smp_process_peer_nonce smp_process_peer_nonce;
541 // Name: smp_match_dhkey_checks
542 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
543 // Returns: void
544 struct smp_match_dhkey_checks {
545   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
546       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_match_dhkey_checks547   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
548 };
549 extern struct smp_match_dhkey_checks smp_match_dhkey_checks;
550 // Name: smp_move_to_secure_connections_phase2
551 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
552 // Returns: void
553 struct smp_move_to_secure_connections_phase2 {
554   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
555       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_move_to_secure_connections_phase2556   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
557 };
558 extern struct smp_move_to_secure_connections_phase2
559     smp_move_to_secure_connections_phase2;
560 // Name: smp_phase_2_dhkey_checks_are_present
561 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
562 // Returns: void
563 struct smp_phase_2_dhkey_checks_are_present {
564   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
565       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_phase_2_dhkey_checks_are_present566   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
567 };
568 extern struct smp_phase_2_dhkey_checks_are_present
569     smp_phase_2_dhkey_checks_are_present;
570 // Name: smp_wait_for_both_public_keys
571 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
572 // Returns: void
573 struct smp_wait_for_both_public_keys {
574   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
575       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_wait_for_both_public_keys576   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
577 };
578 extern struct smp_wait_for_both_public_keys smp_wait_for_both_public_keys;
579 // Name: smp_start_passkey_verification
580 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
581 // Returns: void
582 struct smp_start_passkey_verification {
583   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
584       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_start_passkey_verification585   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
586 };
587 extern struct smp_start_passkey_verification smp_start_passkey_verification;
588 // Name: smp_process_secure_connection_oob_data
589 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
590 // Returns: void
591 struct smp_process_secure_connection_oob_data {
592   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
593       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_process_secure_connection_oob_data594   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
595 };
596 extern struct smp_process_secure_connection_oob_data
597     smp_process_secure_connection_oob_data;
598 // Name: smp_set_local_oob_keys
599 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
600 // Returns: void
601 struct smp_set_local_oob_keys {
602   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
603       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_set_local_oob_keys604   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
605 };
606 extern struct smp_set_local_oob_keys smp_set_local_oob_keys;
607 // Name: smp_set_local_oob_random_commitment
608 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
609 // Returns: void
610 struct smp_set_local_oob_random_commitment {
611   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
612       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_set_local_oob_random_commitment613   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
614 };
615 extern struct smp_set_local_oob_random_commitment
616     smp_set_local_oob_random_commitment;
617 // Name: smp_link_encrypted
618 // Params: const RawAddress& bda, uint8_t encr_enable
619 // Returns: void
620 struct smp_link_encrypted {
621   std::function<void(const RawAddress& bda, uint8_t encr_enable)> body{
622       [](const RawAddress& bda, uint8_t encr_enable) {}};
operatorsmp_link_encrypted623   void operator()(const RawAddress& bda, uint8_t encr_enable) {
624     body(bda, encr_enable);
625   };
626 };
627 extern struct smp_link_encrypted smp_link_encrypted;
628 // Name: smp_cancel_start_encryption_attempt
629 // Params:
630 // Returns: void
631 struct smp_cancel_start_encryption_attempt {
632   std::function<void()> body{[]() {}};
operatorsmp_cancel_start_encryption_attempt633   void operator()() { body(); };
634 };
635 extern struct smp_cancel_start_encryption_attempt
636     smp_cancel_start_encryption_attempt;
637 // Name: smp_proc_ltk_request
638 // Params: const RawAddress& bda
639 // Returns: bool
640 struct smp_proc_ltk_request {
641   std::function<bool(const RawAddress& bda)> body{
642       [](const RawAddress& bda) { return false; }};
operatorsmp_proc_ltk_request643   bool operator()(const RawAddress& bda) { return body(bda); };
644 };
645 extern struct smp_proc_ltk_request smp_proc_ltk_request;
646 // Name: smp_process_secure_connection_long_term_key
647 // Params: void
648 // Returns: void
649 struct smp_process_secure_connection_long_term_key {
650   std::function<void(void)> body{[](void) {}};
operatorsmp_process_secure_connection_long_term_key651   void operator()(void) { body(); };
652 };
653 extern struct smp_process_secure_connection_long_term_key
654     smp_process_secure_connection_long_term_key;
655 // Name: smp_set_derive_link_key
656 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
657 // Returns: void
658 struct smp_set_derive_link_key {
659   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
660       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_set_derive_link_key661   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
662 };
663 extern struct smp_set_derive_link_key smp_set_derive_link_key;
664 // Name: smp_derive_link_key_from_long_term_key
665 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
666 // Returns: void
667 struct smp_derive_link_key_from_long_term_key {
668   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
669       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_derive_link_key_from_long_term_key670   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
671 };
672 extern struct smp_derive_link_key_from_long_term_key
673     smp_derive_link_key_from_long_term_key;
674 // Name: smp_br_process_link_key
675 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
676 // Returns: void
677 struct smp_br_process_link_key {
678   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
679       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_br_process_link_key680   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
681 };
682 extern struct smp_br_process_link_key smp_br_process_link_key;
683 // Name: smp_key_distribution_by_transport
684 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
685 // Returns: void
686 struct smp_key_distribution_by_transport {
687   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
688       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_key_distribution_by_transport689   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
690 };
691 extern struct smp_key_distribution_by_transport
692     smp_key_distribution_by_transport;
693 // Name: smp_br_pairing_complete
694 // Params: tSMP_CB* p_cb, tSMP_INT_DATA* p_data
695 // Returns: void
696 struct smp_br_pairing_complete {
697   std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{
698       [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}};
operatorsmp_br_pairing_complete699   void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); };
700 };
701 extern struct smp_br_pairing_complete smp_br_pairing_complete;
702 
703 }  // namespace stack_smp_act
704 }  // namespace mock
705 }  // namespace test
706 
707 // END mockcify generation
708