Home
last modified time | relevance | path

Searched refs:tBTM_SEC_DEV_REC (Results 1 – 25 of 32) sorted by relevance

12

/aosp12/system/bt/stack/btm/
H A Dbtm_dev.cc196 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 Dbtm_dev.h45 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 Dbtm_ble_addr.cc135 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 Dbtm_sec.cc302 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 Dbtm_ble_int.h107 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 Dbtm_ble.cc66 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 Dbtm_sec.h40 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 Dbtm_ble_privacy.cc192 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 Dbtm_ble_bgconn.cc197 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 Dbtm_ble_gap.cc58 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 Dbtm_devctl.cc164 tBTM_SEC_DEV_REC* p_dev_rec = static_cast<tBTM_SEC_DEV_REC*>(data); in set_sec_state_idle()
H A Dbtm_int_types.h259 tBTM_SEC_DEV_REC* p_collided_dev_rec{nullptr};
/aosp12/system/bt/test/mock/
H A Dmock_stack_btm_dev.cc63 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 Dmock_stack_btm_ble_privacy.h93 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 Dmock_stack_btm_ble_addr.h84 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 Dmock_stack_btm_ble_privacy.cc96 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 Dmock_stack_btm_ble_bgconn.h66 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 Dmock_stack_btm_ble_addr.cc84 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 Dmock_stack_btm_sec.cc135 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 Dmock_stack_btm_ble.cc130 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 Dmock_stack_btm_ble_bgconn.cc67 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 Dbtm_ble_connection_establishment.cc44 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 Dble_acl.cc167 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 Dbtif_dm.cc120 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 Dsmp_act.cc262 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()

12