/aosp12/system/bt/stack/btm/ |
H A D | btm_dev.cc | 196 tBTM_SEC_DEV_REC* p_srec; in BTM_SecReadDevName() 291 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in is_handle_equal() 318 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in is_address_equal() 357 tBTM_SEC_DEV_REC temp_rec = *p_target_rec; in btm_consolidate_dev() 364 tBTM_SEC_DEV_REC* p_dev_rec = in btm_consolidate_dev() 415 tBTM_SEC_DEV_REC* p_dev_rec; in btm_find_or_alloc_dev() 437 tBTM_SEC_DEV_REC* p_oldest = NULL; in btm_find_oldest_dev_rec() 439 tBTM_SEC_DEV_REC* p_oldest_paired = NULL; in btm_find_oldest_dev_rec() 445 tBTM_SEC_DEV_REC* p_dev_rec = in btm_find_oldest_dev_rec() 483 tBTM_SEC_DEV_REC* p_dev_rec = NULL; in btm_sec_allocate_dev_rec() [all …]
|
H A D | btm_dev.h | 45 void wipe_secrets_and_remove(tBTM_SEC_DEV_REC* p_dev_rec); 91 tBTM_SEC_DEV_REC* btm_sec_alloc_dev(const RawAddress& bd_addr); 117 tBTM_SEC_DEV_REC* btm_find_dev_by_handle(uint16_t handle); 131 tBTM_SEC_DEV_REC* btm_find_dev(const RawAddress& bd_addr); 142 void btm_consolidate_dev(tBTM_SEC_DEV_REC* p_target_rec); 154 tBTM_SEC_DEV_REC* btm_find_or_alloc_dev(const RawAddress& bd_addr); 168 tBTM_SEC_DEV_REC* btm_sec_allocate_dev_rec(void); 180 tBTM_SEC_DEV_REC::tBTM_BOND_TYPE btm_get_bond_type_dev( 194 tBTM_SEC_DEV_REC::tBTM_BOND_TYPE bond_type);
|
H A D | btm_ble_addr.cc | 135 bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec, in btm_ble_init_pseudo_addr() 173 tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_addr_resolvable() 192 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in btm_ble_match_random_bda() 213 tBTM_SEC_DEV_REC* btm_ble_resolve_random_addr(const RawAddress& random_bda) { in btm_ble_resolve_random_addr() 217 : (static_cast<tBTM_SEC_DEV_REC*>(list_node(n))); in btm_ble_resolve_random_addr() 224 static tBTM_SEC_DEV_REC* btm_find_dev_by_identity_addr( in btm_find_dev_by_identity_addr() 229 tBTM_SEC_DEV_REC* p_dev_rec = in btm_find_dev_by_identity_addr() 230 static_cast<tBTM_SEC_DEV_REC*>(list_node(node)); in btm_find_dev_by_identity_addr() 257 tBTM_SEC_DEV_REC* p_dev_rec = in btm_identity_addr_to_random_pseudo() 295 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(*random_pseudo); in btm_random_pseudo_to_identity_addr() [all …]
|
H A D | btm_sec.cc | 302 tBTM_SEC_DEV_REC* p_dev_rec; in BTM_GetSecurityFlags() 349 tBTM_SEC_DEV_REC* p_dev_rec; in BTM_GetSecurityFlagsByTransport() 617 tBTM_SEC_DEV_REC* p_dev_rec; in BTM_PINCodeReply() 730 tBTM_SEC_DEV_REC* p_dev_rec; in btm_sec_bond_by_transport() 931 tBTM_SEC_DEV_REC* p_dev_rec; in BTM_SecBondCancel() 1369 tBTM_SEC_DEV_REC* p_dev_rec; in BTM_PeerSupportsSecureConnections() 1768 tBTM_SEC_DEV_REC* p_dev_rec; in btm_sec_mx_access_request() 1974 tBTM_SEC_DEV_REC* p_dev_rec; in btm_sec_bond_cancel_complete() 2173 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in is_state_getting_name() 2193 tBTM_SEC_DEV_REC* p_dev_rec; in btm_sec_rmt_name_request_complete() [all …]
|
H A D | btm_ble_int.h | 107 extern tBTM_SEC_DEV_REC* btm_ble_resolve_random_addr( 119 extern bool btm_ble_read_resolving_list_entry(tBTM_SEC_DEV_REC* p_dev_rec); 122 tBTM_SEC_DEV_REC* p_dev_rec); 124 extern bool btm_ble_resolving_list_load_dev(tBTM_SEC_DEV_REC* p_dev_rec); 125 extern void btm_ble_resolving_list_remove_dev(tBTM_SEC_DEV_REC* p_dev_rec);
|
H A D | btm_ble.cc | 66 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddBleDevice() 122 tBTM_SEC_DEV_REC* p_dev_rec; in BTM_SecAddBleKey() 1032 tBTM_SEC_DEV_REC* p_dev_rec; in btm_ble_increment_sign_ctr() 1059 tBTM_SEC_DEV_REC* p_dev_rec; in btm_ble_get_enc_key_type() 1080 tBTM_SEC_DEV_REC* p_dev_rec; in btm_get_local_div() 1112 tBTM_SEC_DEV_REC* p_rec; in btm_sec_save_le_key() 1251 tBTM_SEC_DEV_REC* p_rec; in btm_ble_update_sec_key_size() 1272 tBTM_SEC_DEV_REC* p_rec; in btm_ble_read_sec_key_size() 1362 tBTM_SEC_DEV_REC* p_rec = btm_find_dev(bd_addr); in btm_ble_set_encryption() 1455 tBTM_SEC_DEV_REC* p_rec = btm_find_dev(bda); in btm_ble_start_encrypt() [all …]
|
H A D | btm_sec.h | 40 tBTM_SEC_DEV_REC* btm_sec_find_dev_by_sec_state(uint8_t state); 707 tBTM_STATUS btm_sec_execute_procedure(tBTM_SEC_DEV_REC* p_dev_rec); 733 tBTM_SEC_DEV_REC* btm_sec_find_dev_by_sec_state(uint8_t state); 745 void btm_sec_dev_rec_cback_event(tBTM_SEC_DEV_REC* p_dev_rec, tBTM_STATUS res, 759 void btm_sec_clear_ble_keys(tBTM_SEC_DEV_REC* p_dev_rec);
|
H A D | btm_ble_privacy.cc | 192 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(pseudo_bda); in btm_ble_update_resolving_list() 210 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in clear_resolving_list_bit() 416 tBTM_STATUS btm_ble_remove_resolving_list_entry(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_remove_resolving_list_entry() 477 bool btm_ble_read_resolving_list_entry(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_read_resolving_list_entry() 696 bool btm_ble_resolving_list_load_dev(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_resolving_list_load_dev() 804 void btm_ble_resolving_list_remove_dev(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_resolving_list_remove_dev() 847 tBTM_SEC_DEV_REC* p_dev = static_cast<tBTM_SEC_DEV_REC*>(data); in is_on_resolving_list()
|
H A D | btm_ble_bgconn.cc | 197 const RawAddress& bd_addr, const tBTM_SEC_DEV_REC* p_dev_rec) { in convert_to_address_with_type() 222 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in btm_add_dev_to_controller() 480 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(address); in BTM_BackgroundConnectAddressKnown()
|
H A D | btm_ble_gap.cc | 58 extern bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec, 67 const RawAddress& bd_addr, const tBTM_SEC_DEV_REC* p_dev_rec); 754 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in is_resolving_list_bit_set() 776 tBTM_SEC_DEV_REC* p_dev_rec; in btm_set_conn_mode_adv_init_addr() 828 tBTM_SEC_DEV_REC* p_dev_rec = in btm_set_conn_mode_adv_init_addr() 829 static_cast<tBTM_SEC_DEV_REC*>(list_node(n)); in btm_set_conn_mode_adv_init_addr() 1707 tBTM_SEC_DEV_REC* match_rec = btm_ble_resolve_random_addr(bda); in btm_ble_process_adv_addr()
|
H A D | btm_devctl.cc | 164 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in set_sec_state_idle()
|
H A D | btm_int_types.h | 259 tBTM_SEC_DEV_REC* p_collided_dev_rec{nullptr};
|
/aosp12/system/bt/test/mock/ |
H A D | mock_stack_btm_dev.cc | 63 tBTM_SEC_DEV_REC::tBTM_BOND_TYPE bond_type) { in btm_set_bond_type_dev() 79 tBTM_SEC_DEV_REC* btm_find_dev(const RawAddress& bd_addr) { in btm_find_dev() 83 tBTM_SEC_DEV_REC* btm_find_dev_by_handle(uint16_t handle) { in btm_find_dev_by_handle() 87 tBTM_SEC_DEV_REC* btm_find_or_alloc_dev(const RawAddress& bd_addr) { in btm_find_or_alloc_dev() 91 tBTM_SEC_DEV_REC* btm_sec_alloc_dev(const RawAddress& bd_addr) { in btm_sec_alloc_dev() 95 tBTM_SEC_DEV_REC* btm_sec_allocate_dev_rec(void) { in btm_sec_allocate_dev_rec() 99 tBTM_SEC_DEV_REC::tBTM_BOND_TYPE btm_get_bond_type_dev( in btm_get_bond_type_dev() 102 return tBTM_SEC_DEV_REC::BOND_TYPE_UNKNOWN; in btm_get_bond_type_dev() 107 void btm_consolidate_dev(tBTM_SEC_DEV_REC* p_target_rec) { in btm_consolidate_dev() 110 void wipe_secrets_and_remove(tBTM_SEC_DEV_REC* p_dev_rec) { in wipe_secrets_and_remove()
|
H A D | mock_stack_btm_ble_privacy.h | 93 std::function<tBTM_STATUS(tBTM_SEC_DEV_REC* p_dev_rec)> body{ 94 [](tBTM_SEC_DEV_REC* p_dev_rec) { return 0; }}; 95 tBTM_STATUS operator()(tBTM_SEC_DEV_REC* p_dev_rec) { in operator() 113 std::function<bool(tBTM_SEC_DEV_REC* p_dev_rec)> body{ 114 [](tBTM_SEC_DEV_REC* p_dev_rec) { return false; }}; 115 bool operator()(tBTM_SEC_DEV_REC* p_dev_rec) { return body(p_dev_rec); }; in operator() 134 std::function<bool(tBTM_SEC_DEV_REC* p_dev_rec)> body{ 135 [](tBTM_SEC_DEV_REC* p_dev_rec) { return false; }}; 143 std::function<void(tBTM_SEC_DEV_REC* p_dev_rec)> body{ 144 [](tBTM_SEC_DEV_REC* p_dev_rec) {}}; [all …]
|
H A D | mock_stack_btm_ble_addr.h | 84 std::function<bool(tBTM_SEC_DEV_REC* p_dev_rec, 86 body{[](tBTM_SEC_DEV_REC* p_dev_rec, const RawAddress& new_pseudo_addr) { 89 bool operator()(tBTM_SEC_DEV_REC* p_dev_rec, in operator() 99 std::function<bool(const RawAddress& rpa, tBTM_SEC_DEV_REC* p_dev_rec)> body{ 100 [](const RawAddress& rpa, tBTM_SEC_DEV_REC* p_dev_rec) { return false; }}; 101 bool operator()(const RawAddress& rpa, tBTM_SEC_DEV_REC* p_dev_rec) { in operator() 110 std::function<tBTM_SEC_DEV_REC*(const RawAddress& random_bda)> body{ 112 tBTM_SEC_DEV_REC* operator()(const RawAddress& random_bda) { in operator()
|
H A D | mock_stack_btm_ble_privacy.cc | 96 tBTM_STATUS btm_ble_remove_resolving_list_entry(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_remove_resolving_list_entry() 105 bool btm_ble_read_resolving_list_entry(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_read_resolving_list_entry() 115 bool btm_ble_resolving_list_load_dev(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_resolving_list_load_dev() 120 void btm_ble_resolving_list_remove_dev(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_resolving_list_remove_dev()
|
H A D | mock_stack_btm_ble_bgconn.h | 66 const tBTM_SEC_DEV_REC* p_dev_rec)> 68 const tBTM_SEC_DEV_REC* p_dev_rec) { return ble_bd_addr; }}; 70 const tBTM_SEC_DEV_REC* p_dev_rec) { in operator()
|
H A D | mock_stack_btm_ble_addr.cc | 84 bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec, in btm_ble_init_pseudo_addr() 91 tBTM_SEC_DEV_REC* p_dev_rec) { in btm_ble_addr_resolvable() 96 tBTM_SEC_DEV_REC* btm_ble_resolve_random_addr(const RawAddress& random_bda) { in btm_ble_resolve_random_addr()
|
H A D | mock_stack_btm_sec.cc | 135 tBTM_SEC_DEV_REC* btm_sec_find_dev_by_sec_state(uint8_t state) { in btm_sec_find_dev_by_sec_state() 170 tBTM_STATUS btm_sec_execute_procedure(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_sec_execute_procedure() 252 void btm_sec_clear_ble_keys(tBTM_SEC_DEV_REC* p_dev_rec) { in btm_sec_clear_ble_keys() 263 void btm_sec_dev_rec_cback_event(tBTM_SEC_DEV_REC* p_dev_rec, in btm_sec_dev_rec_cback_event()
|
H A D | mock_stack_btm_ble.cc | 130 uint8_t btm_ble_br_keys_req(tBTM_SEC_DEV_REC* p_dev_rec, in btm_ble_br_keys_req() 135 uint8_t btm_ble_io_capabilities_req(tBTM_SEC_DEV_REC* p_dev_rec, in btm_ble_io_capabilities_req()
|
H A D | mock_stack_btm_ble_bgconn.cc | 67 const RawAddress& bd_addr, const tBTM_SEC_DEV_REC* p_dev_rec) { in convert_to_address_with_type()
|
/aosp12/system/bt/stack/acl/ |
H A D | btm_ble_connection_establishment.cc | 44 extern bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec, 126 tBTM_SEC_DEV_REC* match_rec = btm_ble_resolve_random_addr(*bda); in maybe_resolve_address()
|
H A D | ble_acl.cc | 167 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev_by_handle(handle); in acl_ble_update_event_received()
|
/aosp12/system/bt/btif/src/ |
H A D | btif_dm.cc | 120 tBTM_SEC_DEV_REC::tBTM_BOND_TYPE bond_type; 444 if (pairing_cb.bond_type == tBTM_SEC_DEV_REC::BOND_TYPE_TEMPORARY) { in bond_state_changed() 822 pairing_cb.bond_type = tBTM_SEC_DEV_REC::BOND_TYPE_TEMPORARY; in btif_dm_ssp_cfm_req_evt() 824 pairing_cb.bond_type = tBTM_SEC_DEV_REC::BOND_TYPE_PERSISTENT; in btif_dm_ssp_cfm_req_evt() 836 pairing_cb.bond_type == tBTM_SEC_DEV_REC::BOND_TYPE_TEMPORARY) { in btif_dm_ssp_cfm_req_evt() 1478 pairing_cb.bond_type = tBTM_SEC_DEV_REC::BOND_TYPE_PERSISTENT; in BTIF_dm_enable() 1530 tBTM_SEC_DEV_REC::BOND_TYPE_UNKNOWN); in btif_dm_upstreams_evt() 1546 tBTM_SEC_DEV_REC::BOND_TYPE_UNKNOWN); in btif_dm_upstreams_evt() 1573 tBTM_SEC_DEV_REC::BOND_TYPE_UNKNOWN); in btif_dm_upstreams_evt() 2662 tBTM_SEC_DEV_REC::BOND_TYPE_TEMPORARY) { in btif_dm_ble_auth_cmpl_evt() [all …]
|
/aosp12/system/bt/stack/smp/ |
H A D | smp_act.cc | 262 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_send_pair_req() 522 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_proc_pair_cmd() 802 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_br_process_pairing_command() 1279 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_key_distribution() 2041 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bda); in smp_proc_ltk_request() 2141 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_br_process_link_key()
|