Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_l2c.cc101 p_cb->pairing_bda.ToString().c_str()); in smp_connect_callback()
105 if (bd_addr == p_cb->pairing_bda) { in smp_connect_callback()
171 p_cb->pairing_bda = bd_addr; in smp_data_received()
172 } else if (bd_addr != p_cb->pairing_bda) { in smp_data_received()
181 if (bd_addr == p_cb->pairing_bda) { in smp_data_received()
185 smp_log_metrics(p_cb->pairing_bda, false /* incoming */, in smp_data_received()
260 << ", pairing_bda:" << p_cb->pairing_bda in smp_br_connect_callback()
263 if (bd_addr != p_cb->pairing_bda) return; in smp_br_connect_callback()
321 p_cb->pairing_bda = bd_addr; in smp_br_data_received()
322 } else if (bd_addr != p_cb->pairing_bda) { in smp_br_data_received()
[all …]
Dsmp_api.cc146 p_cb->pairing_bda = bd_addr; in SMP_Pair()
189 p_cb->pairing_bda = bd_addr; in SMP_BR_PairWith()
224 if (p_cb->state != SMP_STATE_IDLE && p_cb->pairing_bda == bd_addr) { in SMP_PairCancel()
254 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || smp_cb.pairing_bda != bd_addr) { in SMP_SecurityGrant()
269 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || smp_cb.pairing_bda != bd_addr) in SMP_SecurityGrant()
306 if (bd_addr != p_cb->pairing_bda) { in SMP_PasskeyReply()
360 if (bd_addr != p_cb->pairing_bda) { in SMP_ConfirmReply()
502 if (bd_addr != p_cb->pairing_bda) { in SMP_KeypressNotification()
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()
950 } else if ((BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, bda_for_lk, in smp_calculate_link_key_from_long_term_key()
959 p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_calculate_link_key_from_long_term_key()
1006 p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_calculate_long_term_key_from_link_key()
1013 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.cc770 if (bd_addr != btm_cb.pairing_bda) { in BTM_PINCodeReply()
929 btm_cb.pairing_bda = bd_addr; in btm_sec_bond_by_transport()
1111 if (!p_dev_rec || btm_cb.pairing_bda != bd_addr) { in BTM_SecBondCancel()
1406 (btm_cb.pairing_bda != bd_addr)) in BTM_ConfirmReqReply()
1451 (btm_cb.pairing_bda != bd_addr)) { in BTM_PasskeyReqReply()
1533 (btm_cb.pairing_bda != bd_addr)) in BTM_IoCapRsp()
2539 (btm_cb.pairing_bda == bda)) { in btm_sec_conn_req()
2592 p_dev_rec = btm_find_dev(btm_cb.pairing_bda); in btm_sec_bond_cancel_complete()
2704 btm_cb.pairing_bda = RawAddress::kAny; in btm_sec_init()
2927 (btm_cb.pairing_bda == *p_bd_addr)) { in btm_sec_rmt_name_request_complete()
[all …]
Dbtm_ble.cc1926 btm_cb.pairing_bda = bd_addr; in btm_proc_smp_cback()
1985 VLOG(1) << "btm_cb.pairing_bda: " << btm_cb.pairing_bda; in btm_proc_smp_cback()
1989 if (bd_addr == btm_cb.pairing_bda) { in btm_proc_smp_cback()
1990 btm_cb.pairing_bda = RawAddress::kAny; in btm_proc_smp_cback()
Dbtm_int_types.h811 RawAddress pairing_bda; /* The device currently pairing */ member