Home
last modified time | relevance | path

Searched refs:pairing_bda (Results 1 – 10 of 10) sorted by relevance

/system/bt/stack/smp/
Dsmp_l2c.cc95 p_cb->pairing_bda.ToString().c_str()); in smp_connect_callback()
99 if (bd_addr == p_cb->pairing_bda) { in smp_connect_callback()
165 p_cb->pairing_bda = bd_addr; in smp_data_received()
166 } else if (bd_addr != p_cb->pairing_bda) { in smp_data_received()
175 if (bd_addr == p_cb->pairing_bda) { in smp_data_received()
179 smp_log_metrics(p_cb->pairing_bda, false /* incoming */, in smp_data_received()
254 << ", pairing_bda:" << p_cb->pairing_bda in smp_br_connect_callback()
257 if (bd_addr != p_cb->pairing_bda) return; in smp_br_connect_callback()
315 p_cb->pairing_bda = bd_addr; in smp_br_data_received()
316 } else if (bd_addr != p_cb->pairing_bda) { in smp_br_data_received()
[all …]
Dsmp_api.cc157 p_cb->pairing_bda = bd_addr; in SMP_Pair()
204 p_cb->pairing_bda = bd_addr; in SMP_BR_PairWith()
243 if (p_cb->state != SMP_STATE_IDLE && p_cb->pairing_bda == bd_addr) { in SMP_PairCancel()
276 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || smp_cb.pairing_bda != bd_addr) { in SMP_SecurityGrant()
291 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || smp_cb.pairing_bda != bd_addr) in SMP_SecurityGrant()
331 if (bd_addr != p_cb->pairing_bda) { in SMP_PasskeyReply()
388 if (bd_addr != p_cb->pairing_bda) { in SMP_ConfirmReply()
Dsmp_act.cc142 (*p_cb->p_callback)(p_cb->cb_evt, p_cb->pairing_bda, &cb_data); in smp_send_app_cback()
179 lmp_version_below(p_cb->pairing_bda, HCI_PROTO_VERSION_4_2) || in smp_send_app_cback()
181 (const RawAddress*)&p_cb->pairing_bda))) { in smp_send_app_cback()
188 if (lmp_version_below(p_cb->pairing_bda, HCI_PROTO_VERSION_5_0)) { in smp_send_app_cback()
251 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_send_pair_req()
363 btm_sec_save_le_key(p_cb->pairing_bda, BTM_LE_KEY_LENC, &le_key, true); in smp_send_enc_info()
384 btm_sec_save_le_key(p_cb->pairing_bda, BTM_LE_KEY_LID, &le_key, true); in smp_send_id_info()
401 btm_sec_save_le_key(p_cb->pairing_bda, BTM_LE_KEY_LCSRK, &key, true); in smp_send_csrk_info()
417 btm_ble_ltk_request_reply(p_cb->pairing_bda, true, stk); in smp_send_ltk_reply()
432 btm_ble_link_sec_check(p_cb->pairing_bda, auth_req, &sec_req_act); in smp_proc_sec_req()
[all …]
Dsmp_utils.cc369 cmd_code, p_cb->pairing_bda.ToString().c_str()); in smp_send_cmd()
375 if (p_buf != NULL && smp_send_msg_to_L2CAP(p_cb->pairing_bda, p_buf)) { in smp_send_cmd()
887 L2CA_RemoveFixedChnl(L2CAP_SMP_BR_CID, p_cb->pairing_bda); in smp_remove_fixed_channel()
889 L2CA_RemoveFixedChnl(L2CAP_SMP_CID, p_cb->pairing_bda); in smp_remove_fixed_channel()
912 L2CA_SetIdleTimeoutByBdAddr(p_cb->pairing_bda, SMP_LINK_TOUT_MIN, in smp_reset_control_value()
935 p_cb->pairing_bda.ToString().c_str()); in smp_proc_pairing_cmpl()
949 RawAddress pairing_bda = p_cb->pairing_bda; in smp_proc_pairing_cmpl() local
953 if (p_callback) (*p_callback)(SMP_COMPLT_EVT, pairing_bda, &evt_data); in smp_proc_pairing_cmpl()
1402 BTM_ReadConnectionAddr(p_cb->pairing_bda, bda, &addr_type); in smp_collect_local_ble_address()
1424 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, bda, &addr_type)) { in smp_collect_peer_ble_address()
[all …]
Dsmp_keys.cc130 (*p_cb->p_callback)(SMP_PASSKEY_NOTIF_EVT, p_cb->pairing_bda, in smp_proc_passkey()
217 div_status = btm_get_local_div(p_cb->pairing_bda, &p_cb->div); in smp_generate_csrk()
346 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, remote_bda, in smp_calculate_comfirm()
352 BTM_ReadConnectionAddr(p_cb->pairing_bda, p_cb->local_bda, &p_cb->addr_type); in smp_calculate_comfirm()
566 bool div_status = btm_get_local_div(p_cb->pairing_bda, &p_cb->div); in smp_generate_ltk()
948 } else if ((BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, bda_for_lk, in smp_calculate_link_key_from_long_term_key()
957 p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_calculate_link_key_from_long_term_key()
1005 p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_calculate_long_term_key_from_link_key()
1012 br_link_key_type = BTM_SecGetDeviceLinkKeyType(p_cb->pairing_bda); in smp_calculate_long_term_key_from_link_key()
Dsmp_int.h258 RawAddress pairing_bda; member
/system/bt/stack/test/
Dstack_smp_test.cc163 BTM_ReadRemoteConnectionAddr(p_cb_.pairing_bda, remote_bda, in TEST_F()
165 BTM_ReadConnectionAddr(p_cb_.pairing_bda, p_cb_.local_bda, &p_cb_.addr_type); in TEST_F()
178 BTM_ReadRemoteConnectionAddr(p_cb_.pairing_bda, remote_bda, in TEST_F()
180 BTM_ReadConnectionAddr(p_cb_.pairing_bda, p_cb_.local_bda, &p_cb_.addr_type); in TEST_F()
/system/bt/stack/btm/
Dbtm_sec.cc697 if (bd_addr != btm_cb.pairing_bda) { in BTM_PINCodeReply()
856 btm_cb.pairing_bda = bd_addr; in btm_sec_bond_by_transport()
1027 if (!p_dev_rec || btm_cb.pairing_bda != bd_addr) { in BTM_SecBondCancel()
1305 (btm_cb.pairing_bda != bd_addr)) in BTM_ConfirmReqReply()
1352 (btm_cb.pairing_bda != bd_addr)) { in BTM_PasskeyReqReply()
1414 (btm_cb.pairing_bda != bd_addr)) in BTM_IoCapRsp()
2281 (btm_cb.pairing_bda == bda)) { in btm_sec_conn_req()
2334 p_dev_rec = btm_find_dev(btm_cb.pairing_bda); in btm_sec_bond_cancel_complete()
2446 btm_cb.pairing_bda = RawAddress::kAny; in btm_sec_init()
2669 (btm_cb.pairing_bda == *p_bd_addr)) { in btm_sec_rmt_name_request_complete()
[all …]
Dbtm_ble.cc1940 btm_cb.pairing_bda = bd_addr; in btm_proc_smp_cback()
1999 VLOG(1) << "btm_cb.pairing_bda: " << btm_cb.pairing_bda; in btm_proc_smp_cback()
2003 if (bd_addr == btm_cb.pairing_bda) { in btm_proc_smp_cback()
2004 btm_cb.pairing_bda = RawAddress::kAny; in btm_proc_smp_cback()
Dbtm_int_types.h765 RawAddress pairing_bda; /* The device currently pairing */ member