/system/bt/stack/btm/ |
D | btm_dev.cc | 68 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecAddDevice() 90 p_dev_rec->bond_type = tBTM_SEC_DEV_REC::BOND_TYPE_UNKNOWN; in BTM_SecAddDevice() 125 void wipe_secrets_and_remove(tBTM_SEC_DEV_REC* p_dev_rec) { in wipe_secrets_and_remove() 153 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecDeleteDevice() 176 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_SecClearSecurityFlags() 196 tBTM_SEC_DEV_REC* p_srec; in BTM_SecReadDevName() 214 tBTM_SEC_DEV_REC* btm_sec_alloc_dev(const RawAddress& bd_addr) { in btm_sec_alloc_dev() 217 tBTM_SEC_DEV_REC* p_dev_rec = btm_sec_allocate_dev_rec(); in btm_sec_alloc_dev() 262 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in btm_dev_support_role_switch() 291 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in is_handle_equal() [all …]
|
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);
|
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 …]
|
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);
|
D | btm_sec.cc | 77 extern bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec, 82 extern void HACK_acl_check_sm4(tBTM_SEC_DEV_REC& p_dev_rec); 89 static bool btm_sec_start_get_name(tBTM_SEC_DEV_REC* p_dev_rec); 90 static void btm_sec_start_authentication(tBTM_SEC_DEV_REC* p_dev_rec); 94 static tBTM_STATUS btm_sec_dd_create_conn(tBTM_SEC_DEV_REC* p_dev_rec); 106 static void btm_send_link_key_notif(tBTM_SEC_DEV_REC* p_dev_rec); 107 static bool btm_sec_check_prefetch_pin(tBTM_SEC_DEV_REC* p_dev_rec); 109 static tBTM_STATUS btm_sec_send_hci_disconnect(tBTM_SEC_DEV_REC* p_dev_rec, 112 tBTM_SEC_DEV_REC* btm_sec_find_dev_by_sec_state(uint8_t state); 114 static bool btm_dev_authenticated(tBTM_SEC_DEV_REC* p_dev_rec); [all …]
|
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);
|
D | btm_ble.cc | 50 extern bool btm_ble_init_pseudo_addr(tBTM_SEC_DEV_REC* p_dev_rec, 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() 251 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_BlePasskeyReply() 281 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_BleConfirmReply() 316 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_BleOobDataReply() 348 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_BleSecureConnectionOobDataReply() 397 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bd_addr); in BTM_BleSetPrefConnParams() 462 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(remote_bda); in BTM_ReadDevInfo() 522 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(*remote_bda); in BTM_ReadConnectedTransportAddress() [all …]
|
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()
|
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()
|
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); 753 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in is_resolving_list_bit_set() 775 tBTM_SEC_DEV_REC* p_dev_rec; in btm_set_conn_mode_adv_init_addr() 827 tBTM_SEC_DEV_REC* p_dev_rec = in btm_set_conn_mode_adv_init_addr() 828 static_cast<tBTM_SEC_DEV_REC*>(list_node(n)); in btm_set_conn_mode_adv_init_addr() 1706 tBTM_SEC_DEV_REC* match_rec = btm_ble_resolve_random_addr(bda); in btm_ble_process_adv_addr()
|
D | btm_devctl.cc | 164 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in set_sec_state_idle()
|
D | btm_int_types.h | 259 tBTM_SEC_DEV_REC* p_collided_dev_rec{nullptr};
|
/system/bt/test/mock/ |
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()
|
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; }}; 136 bool operator()(tBTM_SEC_DEV_REC* p_dev_rec) { return body(p_dev_rec); }; in operator() 143 std::function<void(tBTM_SEC_DEV_REC* p_dev_rec)> body{ [all …]
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
/system/bt/stack/acl/ |
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()
|
D | ble_acl.cc | 167 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev_by_handle(handle); in acl_ble_update_event_received()
|
/system/bt/btif/src/ |
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() 823 pairing_cb.bond_type = tBTM_SEC_DEV_REC::BOND_TYPE_TEMPORARY; in btif_dm_ssp_cfm_req_evt() 825 pairing_cb.bond_type = tBTM_SEC_DEV_REC::BOND_TYPE_PERSISTENT; in btif_dm_ssp_cfm_req_evt() 837 pairing_cb.bond_type == tBTM_SEC_DEV_REC::BOND_TYPE_TEMPORARY) { in btif_dm_ssp_cfm_req_evt() 922 pairing_cb.bond_type == tBTM_SEC_DEV_REC::BOND_TYPE_PERSISTENT) { in btif_dm_auth_cmpl_evt() 934 if (pairing_cb.bond_type == tBTM_SEC_DEV_REC::BOND_TYPE_TEMPORARY) { in btif_dm_auth_cmpl_evt() 1480 pairing_cb.bond_type = tBTM_SEC_DEV_REC::BOND_TYPE_PERSISTENT; in BTIF_dm_enable() 1532 tBTM_SEC_DEV_REC::BOND_TYPE_UNKNOWN); in btif_dm_upstreams_evt() 1548 tBTM_SEC_DEV_REC::BOND_TYPE_UNKNOWN); in btif_dm_upstreams_evt() [all …]
|
/system/bt/stack/smp/ |
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() 2014 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bda); in smp_proc_ltk_request() 2114 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_br_process_link_key()
|