1 /* 2 * Copyright 2023 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 #pragma once 17 18 /* 19 * Generated mock file from original source file 20 * Functions generated:41 21 * 22 * mockcify.pl ver 0.7.0 23 */ 24 25 #include <cstdint> 26 #include <functional> 27 28 // Original included files, if any 29 // NOTE: Since this is a mock file with mock definitions some number of 30 // include files may not be required. The include-what-you-use 31 // still applies, but crafting proper inclusion is out of scope 32 // for this effort. This compilation unit may compile as-is, or 33 // may need attention to prune from (or add to ) the inclusion set. 34 35 #include "btif/include/btif_storage.h" 36 #include "stack/include/bt_octets.h" 37 #include "types/bluetooth/uuid.h" 38 #include "types/raw_address.h" 39 40 // Original usings 41 42 // Mocked compile conditionals, if any 43 44 namespace test { 45 namespace mock { 46 namespace btif_storage { 47 48 // Shared state between mocked functions and tests 49 // Name: btif_debug_linkkey_type_dump 50 // Params: int fd 51 // Return: void 52 struct btif_debug_linkkey_type_dump { 53 std::function<void(int fd)> body{[](int /* fd */) {}}; operatorbtif_debug_linkkey_type_dump54 void operator()(int fd) { body(fd); }; 55 }; 56 extern struct btif_debug_linkkey_type_dump btif_debug_linkkey_type_dump; 57 58 // Name: btif_has_ble_keys 59 // Params: const std::string& bdstr 60 // Return: bool 61 struct btif_has_ble_keys { 62 static bool return_value; 63 std::function<bool(const std::string& bdstr)> body{ 64 [](const std::string& /* bdstr */) { return return_value; }}; operatorbtif_has_ble_keys65 bool operator()(const std::string& bdstr) { return body(bdstr); }; 66 }; 67 extern struct btif_has_ble_keys btif_has_ble_keys; 68 69 // Name: btif_in_fetch_bonded_ble_device 70 // Params: const std::string& remote_bd_addr, int add, btif_bonded_devices_t* 71 // p_bonded_devices Return: bt_status_t 72 struct btif_in_fetch_bonded_ble_device { 73 static bt_status_t return_value; 74 std::function<bt_status_t(const std::string& remote_bd_addr, int add, 75 btif_bonded_devices_t* p_bonded_devices)> 76 body{[](const std::string& /* remote_bd_addr */, int /* add */, 77 btif_bonded_devices_t* /* p_bonded_devices */) { 78 return return_value; 79 }}; operatorbtif_in_fetch_bonded_ble_device80 bt_status_t operator()(const std::string& remote_bd_addr, int add, 81 btif_bonded_devices_t* p_bonded_devices) { 82 return body(remote_bd_addr, add, p_bonded_devices); 83 }; 84 }; 85 extern struct btif_in_fetch_bonded_ble_device btif_in_fetch_bonded_ble_device; 86 87 // Name: btif_in_fetch_bonded_device 88 // Params: const std::string& bdstr 89 // Return: bt_status_t 90 struct btif_in_fetch_bonded_device { 91 static bt_status_t return_value; 92 std::function<bt_status_t(const std::string& bdstr)> body{ 93 [](const std::string& /* bdstr */) { return return_value; }}; operatorbtif_in_fetch_bonded_device94 bt_status_t operator()(const std::string& bdstr) { return body(bdstr); }; 95 }; 96 extern struct btif_in_fetch_bonded_device btif_in_fetch_bonded_device; 97 98 // Name: btif_split_uuids_string 99 // Params: const char* str, bluetooth::Uuid* p_uuid, size_t max_uuids 100 // Return: size_t 101 struct btif_split_uuids_string { 102 static size_t return_value; 103 std::function<size_t(const char* str, bluetooth::Uuid* p_uuid, 104 size_t max_uuids)> 105 body{[](const char* /* str */, bluetooth::Uuid* /* p_uuid */, 106 size_t /* max_uuids */) { return return_value; }}; operatorbtif_split_uuids_string107 size_t operator()(const char* str, bluetooth::Uuid* p_uuid, 108 size_t max_uuids) { 109 return body(str, p_uuid, max_uuids); 110 }; 111 }; 112 extern struct btif_split_uuids_string btif_split_uuids_string; 113 114 // Name: btif_storage_add_ble_bonding_key 115 // Params: RawAddress* remote_bd_addr, const uint8_t* key_value, uint8_t 116 // key_type, uint8_t key_length Return: bt_status_t 117 struct btif_storage_add_ble_bonding_key { 118 static bt_status_t return_value; 119 std::function<bt_status_t(RawAddress* remote_bd_addr, 120 const uint8_t* key_value, uint8_t key_type, 121 uint8_t key_length)> 122 body{[](RawAddress* /* remote_bd_addr */, const uint8_t* /* key_value */, 123 uint8_t /* key_type */, 124 uint8_t /* key_length */) { return return_value; }}; operatorbtif_storage_add_ble_bonding_key125 bt_status_t operator()(RawAddress* remote_bd_addr, const uint8_t* key_value, 126 uint8_t key_type, uint8_t key_length) { 127 return body(remote_bd_addr, key_value, key_type, key_length); 128 }; 129 }; 130 extern struct btif_storage_add_ble_bonding_key btif_storage_add_ble_bonding_key; 131 132 // Name: btif_storage_add_ble_local_key 133 // Params: const Octet16& key_value, uint8_t key_type 134 // Return: bt_status_t 135 struct btif_storage_add_ble_local_key { 136 static bt_status_t return_value; 137 std::function<bt_status_t(const Octet16& key_value, uint8_t key_type)> body{ 138 [](const Octet16& /* key_value */, uint8_t /* key_type */) { 139 return return_value; 140 }}; operatorbtif_storage_add_ble_local_key141 bt_status_t operator()(const Octet16& key_value, uint8_t key_type) { 142 return body(key_value, key_type); 143 }; 144 }; 145 extern struct btif_storage_add_ble_local_key btif_storage_add_ble_local_key; 146 147 // Name: btif_storage_add_bonded_device 148 // Params: RawAddress* remote_bd_addr, LinkKey link_key, uint8_t key_type, 149 // uint8_t pin_length Return: bt_status_t 150 struct btif_storage_add_bonded_device { 151 static bt_status_t return_value; 152 std::function<bt_status_t(RawAddress* remote_bd_addr, LinkKey link_key, 153 uint8_t key_type, uint8_t pin_length)> 154 body{[](RawAddress* /* remote_bd_addr */, LinkKey /* link_key */, 155 uint8_t /* key_type */, 156 uint8_t /* pin_length */) { return return_value; }}; operatorbtif_storage_add_bonded_device157 bt_status_t operator()(RawAddress* remote_bd_addr, LinkKey link_key, 158 uint8_t key_type, uint8_t pin_length) { 159 return body(remote_bd_addr, link_key, key_type, pin_length); 160 }; 161 }; 162 extern struct btif_storage_add_bonded_device btif_storage_add_bonded_device; 163 164 // Name: btif_storage_add_remote_device 165 // Params: const RawAddress* remote_bd_addr, uint32_t num_properties, 166 // bt_property_t* properties Return: bt_status_t 167 struct btif_storage_add_remote_device { 168 static bt_status_t return_value; 169 std::function<bt_status_t(const RawAddress* remote_bd_addr, 170 uint32_t num_properties, bt_property_t* properties)> 171 body{[](const RawAddress* /* remote_bd_addr */, 172 uint32_t /* num_properties */, 173 bt_property_t* /* properties */) { return return_value; }}; operatorbtif_storage_add_remote_device174 bt_status_t operator()(const RawAddress* remote_bd_addr, 175 uint32_t num_properties, bt_property_t* properties) { 176 return body(remote_bd_addr, num_properties, properties); 177 }; 178 }; 179 extern struct btif_storage_add_remote_device btif_storage_add_remote_device; 180 181 // Name: btif_storage_get_adapter_prop 182 // Params: bt_property_type_t type, void* buf, int size, bt_property_t* property 183 // Return: bt_status_t 184 struct btif_storage_get_adapter_prop { 185 static bt_status_t return_value; 186 std::function<bt_status_t(bt_property_type_t type, void* buf, int size, 187 bt_property_t* property)> 188 body{[](bt_property_type_t /* type */, void* /* buf */, int /* size */, 189 bt_property_t* /* property */) { return return_value; }}; operatorbtif_storage_get_adapter_prop190 bt_status_t operator()(bt_property_type_t type, void* buf, int size, 191 bt_property_t* property) { 192 return body(type, buf, size, property); 193 }; 194 }; 195 extern struct btif_storage_get_adapter_prop btif_storage_get_adapter_prop; 196 197 // Name: btif_storage_get_adapter_property 198 // Params: bt_property_t* property 199 // Return: bt_status_t 200 struct btif_storage_get_adapter_property { 201 static bt_status_t return_value; 202 std::function<bt_status_t(bt_property_t* property)> body{ 203 [](bt_property_t* /* property */) { return return_value; }}; operatorbtif_storage_get_adapter_property204 bt_status_t operator()(bt_property_t* property) { return body(property); }; 205 }; 206 extern struct btif_storage_get_adapter_property 207 btif_storage_get_adapter_property; 208 209 // Name: btif_storage_get_ble_bonding_key 210 // Params: const RawAddress& remote_bd_addr, uint8_t key_type, uint8_t* 211 // key_value, int key_length Return: bt_status_t 212 struct btif_storage_get_ble_bonding_key { 213 static bt_status_t return_value; 214 std::function<bt_status_t(const RawAddress& remote_bd_addr, uint8_t key_type, 215 uint8_t* key_value, int key_length)> 216 body{[](const RawAddress& /* remote_bd_addr */, uint8_t /* key_type */, 217 uint8_t* /* key_value */, 218 int /* key_length */) { return return_value; }}; operatorbtif_storage_get_ble_bonding_key219 bt_status_t operator()(const RawAddress& remote_bd_addr, uint8_t key_type, 220 uint8_t* key_value, int key_length) { 221 return body(remote_bd_addr, key_type, key_value, key_length); 222 }; 223 }; 224 extern struct btif_storage_get_ble_bonding_key btif_storage_get_ble_bonding_key; 225 226 // Name: btif_storage_get_ble_local_key 227 // Params: uint8_t key_type, Octet16* key_value 228 // Return: bt_status_t 229 struct btif_storage_get_ble_local_key { 230 static bt_status_t return_value; 231 std::function<bt_status_t(uint8_t key_type, Octet16* key_value)> body{ 232 [](uint8_t /* key_type */, Octet16* /* key_value */) { 233 return return_value; 234 }}; operatorbtif_storage_get_ble_local_key235 bt_status_t operator()(uint8_t key_type, Octet16* key_value) { 236 return body(key_type, key_value); 237 }; 238 }; 239 extern struct btif_storage_get_ble_local_key btif_storage_get_ble_local_key; 240 241 // Name: btif_storage_get_gatt_cl_db_hash 242 // Params: const RawAddress& bd_addr 243 // Return: Octet16 244 struct btif_storage_get_gatt_cl_db_hash { 245 static Octet16 return_value; 246 std::function<Octet16(const RawAddress& bd_addr)> body{ 247 [](const RawAddress& /* bd_addr */) { return return_value; }}; operatorbtif_storage_get_gatt_cl_db_hash248 Octet16 operator()(const RawAddress& bd_addr) { return body(bd_addr); }; 249 }; 250 extern struct btif_storage_get_gatt_cl_db_hash btif_storage_get_gatt_cl_db_hash; 251 252 // Name: btif_storage_get_gatt_cl_supp_feat 253 // Params: const RawAddress& bd_addr 254 // Return: uint8_t 255 struct btif_storage_get_gatt_cl_supp_feat { 256 static uint8_t return_value; 257 std::function<uint8_t(const RawAddress& bd_addr)> body{ 258 [](const RawAddress& /* bd_addr */) { return return_value; }}; operatorbtif_storage_get_gatt_cl_supp_feat259 uint8_t operator()(const RawAddress& bd_addr) { return body(bd_addr); }; 260 }; 261 extern struct btif_storage_get_gatt_cl_supp_feat 262 btif_storage_get_gatt_cl_supp_feat; 263 264 // Name: btif_storage_get_remote_addr_type 265 // Params: const RawAddress* remote_bd_addr, tBLE_ADDR_TYPE addr_type 266 // Return: bt_status_t 267 struct btif_storage_get_remote_addr_type { 268 static bt_status_t return_value; 269 std::function<bt_status_t(const RawAddress* remote_bd_addr, 270 tBLE_ADDR_TYPE* addr_type)> 271 body{[](const RawAddress* /* remote_bd_addr */, 272 tBLE_ADDR_TYPE* /* addr_type */) -> bt_status_t { 273 return return_value; 274 }}; operatorbtif_storage_get_remote_addr_type275 bt_status_t operator()(const RawAddress* remote_bd_addr, 276 tBLE_ADDR_TYPE* addr_type) { 277 return body(remote_bd_addr, addr_type); 278 }; 279 }; 280 extern struct btif_storage_get_remote_addr_type 281 btif_storage_get_remote_addr_type; 282 283 // Name: btif_storage_get_remote_device_property 284 // Params: const RawAddress* remote_bd_addr, bt_property_t* property 285 // Return: bt_status_t 286 struct btif_storage_get_remote_device_property { 287 static bt_status_t return_value; 288 std::function<bt_status_t(const RawAddress* remote_bd_addr, 289 bt_property_t* property)> 290 body{[](const RawAddress* /* remote_bd_addr */, 291 bt_property_t* /* property */) { return return_value; }}; operatorbtif_storage_get_remote_device_property292 bt_status_t operator()(const RawAddress* remote_bd_addr, 293 bt_property_t* property) { 294 return body(remote_bd_addr, property); 295 }; 296 }; 297 extern struct btif_storage_get_remote_device_property 298 btif_storage_get_remote_device_property; 299 300 // Name: btif_storage_get_remote_prop 301 // Params: RawAddress* remote_addr, bt_property_type_t type, void* buf, int 302 // size, bt_property_t* property Return: bt_status_t 303 struct btif_storage_get_remote_prop { 304 static bt_status_t return_value; 305 std::function<bt_status_t(RawAddress* remote_addr, bt_property_type_t type, 306 void* buf, int size, bt_property_t* property)> 307 body{[](RawAddress* /* remote_addr */, bt_property_type_t /* type */, 308 void* /* buf */, int /* size */, 309 bt_property_t* /* property */) { return return_value; }}; operatorbtif_storage_get_remote_prop310 bt_status_t operator()(RawAddress* remote_addr, bt_property_type_t type, 311 void* buf, int size, bt_property_t* property) { 312 return body(remote_addr, type, buf, size, property); 313 }; 314 }; 315 extern struct btif_storage_get_remote_prop btif_storage_get_remote_prop; 316 317 // Name: btif_storage_get_sr_supp_feat 318 // Params: const RawAddress& bd_addr 319 // Return: uint8_t 320 struct btif_storage_get_sr_supp_feat { 321 static uint8_t return_value; 322 std::function<uint8_t(const RawAddress& bd_addr)> body{ 323 [](const RawAddress& /* bd_addr */) { return return_value; }}; operatorbtif_storage_get_sr_supp_feat324 uint8_t operator()(const RawAddress& bd_addr) { return body(bd_addr); }; 325 }; 326 extern struct btif_storage_get_sr_supp_feat btif_storage_get_sr_supp_feat; 327 328 // Name: btif_storage_get_stored_remote_name 329 // Params: const RawAddress& bd_addr, char* name 330 // Return: bool 331 struct btif_storage_get_stored_remote_name { 332 static bool return_value; 333 std::function<bool(const RawAddress& bd_addr, char* name)> body{ 334 [](const RawAddress& /* bd_addr */, char* /* name */) { 335 return return_value; 336 }}; operatorbtif_storage_get_stored_remote_name337 bool operator()(const RawAddress& bd_addr, char* name) { 338 return body(bd_addr, name); 339 }; 340 }; 341 extern struct btif_storage_get_stored_remote_name 342 btif_storage_get_stored_remote_name; 343 344 // Name: btif_storage_invoke_addr_type_update 345 // Params: const RawAddress& remote_bd_addr, const tBLE_ADDR_TYPE& addr_type 346 // Return: void 347 struct btif_storage_invoke_addr_type_update { 348 std::function<void(const RawAddress& remote_bd_addr, 349 const tBLE_ADDR_TYPE& addr_type)> 350 body{[](const RawAddress& /* remote_bd_addr */, 351 const tBLE_ADDR_TYPE& /* addr_type */) {}}; operatorbtif_storage_invoke_addr_type_update352 void operator()(const RawAddress& remote_bd_addr, 353 const tBLE_ADDR_TYPE& addr_type) { 354 body(remote_bd_addr, addr_type); 355 }; 356 }; 357 extern struct btif_storage_invoke_addr_type_update 358 btif_storage_invoke_addr_type_update; 359 360 // Name: btif_storage_is_restricted_device 361 // Params: const RawAddress* remote_bd_addr 362 // Return: bool 363 struct btif_storage_is_restricted_device { 364 static bool return_value; 365 std::function<bool(const RawAddress* remote_bd_addr)> body{ 366 [](const RawAddress* /* remote_bd_addr */) { return return_value; }}; operatorbtif_storage_is_restricted_device367 bool operator()(const RawAddress* remote_bd_addr) { 368 return body(remote_bd_addr); 369 }; 370 }; 371 extern struct btif_storage_is_restricted_device 372 btif_storage_is_restricted_device; 373 374 // Name: btif_storage_load_bonded_devices 375 // Params: void 376 // Return: bt_status_t 377 struct btif_storage_load_bonded_devices { 378 static bt_status_t return_value; 379 std::function<bt_status_t(void)> body{[](void) { return return_value; }}; operatorbtif_storage_load_bonded_devices380 bt_status_t operator()(void) { return body(); }; 381 }; 382 extern struct btif_storage_load_bonded_devices btif_storage_load_bonded_devices; 383 384 // Name: btif_storage_load_le_devices 385 // Params: void 386 // Return: void 387 struct btif_storage_load_le_devices { 388 std::function<void(void)> body{[](void) {}}; operatorbtif_storage_load_le_devices389 void operator()(void) { body(); }; 390 }; 391 extern struct btif_storage_load_le_devices btif_storage_load_le_devices; 392 393 // Name: btif_storage_remove_ble_bonding_keys 394 // Params: const RawAddress* remote_bd_addr 395 // Return: bt_status_t 396 struct btif_storage_remove_ble_bonding_keys { 397 static bt_status_t return_value; 398 std::function<bt_status_t(const RawAddress* remote_bd_addr)> body{ 399 [](const RawAddress* /* remote_bd_addr */) { return return_value; }}; operatorbtif_storage_remove_ble_bonding_keys400 bt_status_t operator()(const RawAddress* remote_bd_addr) { 401 return body(remote_bd_addr); 402 }; 403 }; 404 extern struct btif_storage_remove_ble_bonding_keys 405 btif_storage_remove_ble_bonding_keys; 406 407 // Name: btif_storage_remove_ble_local_keys 408 // Params: void 409 // Return: bt_status_t 410 struct btif_storage_remove_ble_local_keys { 411 static bt_status_t return_value; 412 std::function<bt_status_t(void)> body{[](void) { return return_value; }}; operatorbtif_storage_remove_ble_local_keys413 bt_status_t operator()(void) { return body(); }; 414 }; 415 extern struct btif_storage_remove_ble_local_keys 416 btif_storage_remove_ble_local_keys; 417 418 // Name: btif_storage_remove_bonded_device 419 // Params: const RawAddress* remote_bd_addr 420 // Return: bt_status_t 421 struct btif_storage_remove_bonded_device { 422 static bt_status_t return_value; 423 std::function<bt_status_t(const RawAddress* remote_bd_addr)> body{ 424 [](const RawAddress* /* remote_bd_addr */) { return return_value; }}; operatorbtif_storage_remove_bonded_device425 bt_status_t operator()(const RawAddress* remote_bd_addr) { 426 return body(remote_bd_addr); 427 }; 428 }; 429 extern struct btif_storage_remove_bonded_device 430 btif_storage_remove_bonded_device; 431 432 // Name: btif_storage_remove_gatt_cl_db_hash 433 // Params: const RawAddress& bd_addr 434 // Return: void 435 struct btif_storage_remove_gatt_cl_db_hash { 436 std::function<void(const RawAddress& bd_addr)> body{ 437 [](const RawAddress& /* bd_addr */) {}}; operatorbtif_storage_remove_gatt_cl_db_hash438 void operator()(const RawAddress& bd_addr) { body(bd_addr); }; 439 }; 440 extern struct btif_storage_remove_gatt_cl_db_hash 441 btif_storage_remove_gatt_cl_db_hash; 442 443 // Name: btif_storage_remove_gatt_cl_supp_feat 444 // Params: const RawAddress& bd_addr 445 // Return: void 446 struct btif_storage_remove_gatt_cl_supp_feat { 447 std::function<void(const RawAddress& bd_addr)> body{ 448 [](const RawAddress& /* bd_addr */) {}}; operatorbtif_storage_remove_gatt_cl_supp_feat449 void operator()(const RawAddress& bd_addr) { body(bd_addr); }; 450 }; 451 extern struct btif_storage_remove_gatt_cl_supp_feat 452 btif_storage_remove_gatt_cl_supp_feat; 453 454 // Name: btif_storage_set_adapter_property 455 // Params: bt_property_t* property 456 // Return: bt_status_t 457 struct btif_storage_set_adapter_property { 458 static bt_status_t return_value; 459 std::function<bt_status_t(bt_property_t* property)> body{ 460 [](bt_property_t* /* property */) { return return_value; }}; operatorbtif_storage_set_adapter_property461 bt_status_t operator()(bt_property_t* property) { return body(property); }; 462 }; 463 extern struct btif_storage_set_adapter_property 464 btif_storage_set_adapter_property; 465 466 // Name: btif_storage_set_gatt_cl_db_hash 467 // Params: const RawAddress& bd_addr, Octet16 hash 468 // Return: void 469 struct btif_storage_set_gatt_cl_db_hash { 470 std::function<void(const RawAddress& bd_addr, Octet16 hash)> body{ 471 [](const RawAddress& /* bd_addr */, Octet16 /* hash */) {}}; operatorbtif_storage_set_gatt_cl_db_hash472 void operator()(const RawAddress& bd_addr, Octet16 hash) { 473 body(bd_addr, hash); 474 }; 475 }; 476 extern struct btif_storage_set_gatt_cl_db_hash btif_storage_set_gatt_cl_db_hash; 477 478 // Name: btif_storage_set_gatt_cl_supp_feat 479 // Params: const RawAddress& bd_addr, uint8_t feat 480 // Return: void 481 struct btif_storage_set_gatt_cl_supp_feat { 482 std::function<void(const RawAddress& bd_addr, uint8_t feat)> body{ 483 [](const RawAddress& /* bd_addr */, uint8_t /* feat */) {}}; operatorbtif_storage_set_gatt_cl_supp_feat484 void operator()(const RawAddress& bd_addr, uint8_t feat) { 485 body(bd_addr, feat); 486 }; 487 }; 488 extern struct btif_storage_set_gatt_cl_supp_feat 489 btif_storage_set_gatt_cl_supp_feat; 490 491 // Name: btif_storage_set_gatt_sr_supp_feat 492 // Params: const RawAddress& addr, uint8_t feat 493 // Return: void 494 struct btif_storage_set_gatt_sr_supp_feat { 495 std::function<void(const RawAddress& addr, uint8_t feat)> body{ 496 [](const RawAddress& /* addr */, uint8_t /* feat */) {}}; operatorbtif_storage_set_gatt_sr_supp_feat497 void operator()(const RawAddress& addr, uint8_t feat) { body(addr, feat); }; 498 }; 499 extern struct btif_storage_set_gatt_sr_supp_feat 500 btif_storage_set_gatt_sr_supp_feat; 501 502 // Name: btif_storage_set_remote_addr_type 503 // Params: const RawAddress& remote_bd_addr, const tBLE_ADDR_TYPE& addr_type 504 // Return: void 505 struct btif_storage_set_remote_addr_type { 506 std::function<bt_status_t(const RawAddress* remote_bd_addr, 507 const tBLE_ADDR_TYPE addr_type)> 508 body{[](const RawAddress* /* remote_bd_addr */, 509 const tBLE_ADDR_TYPE /* addr_type */) { 510 return BT_STATUS_SUCCESS; 511 }}; operatorbtif_storage_set_remote_addr_type512 bt_status_t operator()(const RawAddress* remote_bd_addr, 513 const tBLE_ADDR_TYPE addr_type) { 514 return body(remote_bd_addr, addr_type); 515 }; 516 }; 517 extern struct btif_storage_set_remote_addr_type 518 btif_storage_set_remote_addr_type; 519 520 // Name: btif_storage_set_remote_device_property 521 // Params: const RawAddress* remote_bd_addr, bt_property_t* property 522 // Return: bt_status_t 523 struct btif_storage_set_remote_device_property { 524 static bt_status_t return_value; 525 std::function<bt_status_t(const RawAddress* remote_bd_addr, 526 bt_property_t* property)> 527 body{[](const RawAddress* /* remote_bd_addr */, 528 bt_property_t* /* property */) { return return_value; }}; operatorbtif_storage_set_remote_device_property529 bt_status_t operator()(const RawAddress* remote_bd_addr, 530 bt_property_t* property) { 531 return body(remote_bd_addr, property); 532 }; 533 }; 534 extern struct btif_storage_set_remote_device_property 535 btif_storage_set_remote_device_property; 536 537 } // namespace btif_storage 538 } // namespace mock 539 } // namespace test 540 541 // END mockcify generation 542