Searched refs:pairing_bda (Results 1 – 10 of 10) sorted by relevance
/system/bt/stack/smp/ |
D | smp_l2c.cc | 113 if (bd_addr == p_cb->pairing_bda) { in smp_connect_callback() 179 p_cb->pairing_bda = bd_addr; in smp_data_received() 180 } else if (bd_addr != p_cb->pairing_bda) { in smp_data_received() 189 if (bd_addr == p_cb->pairing_bda) { in smp_data_received() 193 smp_log_metrics(p_cb->pairing_bda, false /* incoming */, in smp_data_received() 242 << ", pairing_bda:" << p_cb->pairing_bda in smp_br_connect_callback() 245 if (bd_addr != p_cb->pairing_bda) return; in smp_br_connect_callback() 302 p_cb->pairing_bda = bd_addr; in smp_br_data_received() 303 } else if (bd_addr != p_cb->pairing_bda) { in smp_br_data_received() 311 if (bd_addr == p_cb->pairing_bda) { in smp_br_data_received() [all …]
|
D | smp_api.cc | 158 p_cb->pairing_bda = bd_addr; in SMP_Pair() 205 p_cb->pairing_bda = bd_addr; in SMP_BR_PairWith() 244 if (p_cb->state != SMP_STATE_IDLE && p_cb->pairing_bda == bd_addr) { in SMP_PairCancel() 315 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || smp_cb.pairing_bda != bd_addr) { in SMP_SecurityGrant() 330 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || smp_cb.pairing_bda != bd_addr) in SMP_SecurityGrant() 370 if (bd_addr != p_cb->pairing_bda) { in SMP_PasskeyReply() 427 if (bd_addr != p_cb->pairing_bda) { in SMP_ConfirmReply()
|
D | smp_act.cc | 140 (*p_cb->p_callback)(p_cb->cb_evt, p_cb->pairing_bda, &cb_data); in smp_send_app_cback() 172 if (!BTM_ReadRemoteVersion(p_cb->pairing_bda, &remote_lmp_version, in smp_send_app_cback() 185 (const RawAddress*)&p_cb->pairing_bda))) { in smp_send_app_cback() 262 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_send_pair_req() 374 btm_sec_save_le_key(p_cb->pairing_bda, BTM_LE_KEY_LENC, &le_key, true); in smp_send_enc_info() 395 btm_sec_save_le_key(p_cb->pairing_bda, BTM_LE_KEY_LID, &le_key, true); in smp_send_id_info() 411 btm_sec_save_le_key(p_cb->pairing_bda, BTM_LE_KEY_LCSRK, &key, true); in smp_send_csrk_info() 427 btm_ble_ltk_request_reply(p_cb->pairing_bda, true, stk); in smp_send_ltk_reply() 442 btm_ble_link_sec_check(p_cb->pairing_bda, auth_req, &sec_req_act); in smp_proc_sec_req() 522 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_proc_pair_cmd() [all …]
|
D | smp_utils.cc | 381 cmd_code, PRIVATE_ADDRESS(p_cb->pairing_bda)); in smp_send_cmd() 387 if (p_buf != NULL && smp_send_msg_to_L2CAP(p_cb->pairing_bda, p_buf)) { in smp_send_cmd() 899 L2CA_RemoveFixedChnl(L2CAP_SMP_BR_CID, p_cb->pairing_bda); in smp_remove_fixed_channel() 901 L2CA_RemoveFixedChnl(L2CAP_SMP_CID, p_cb->pairing_bda); in smp_remove_fixed_channel() 924 L2CA_SetIdleTimeoutByBdAddr(p_cb->pairing_bda, SMP_LINK_TOUT_MIN, in smp_reset_control_value() 951 PRIVATE_ADDRESS(p_cb->pairing_bda), evt_data.cmplt.reason, in smp_proc_pairing_cmpl() 960 RawAddress pairing_bda = p_cb->pairing_bda; in smp_proc_pairing_cmpl() local 964 if (p_callback) (*p_callback)(SMP_COMPLT_EVT, pairing_bda, &evt_data); in smp_proc_pairing_cmpl() 1395 BTM_ReadConnectionAddr(p_cb->pairing_bda, bda, &addr_type); in smp_collect_local_ble_address() 1417 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, bda, &addr_type)) { in smp_collect_peer_ble_address() [all …]
|
D | smp_keys.cc | 108 (*p_cb->p_callback)(SMP_PASSKEY_NOTIF_EVT, p_cb->pairing_bda, in smp_proc_passkey() 195 div_status = btm_get_local_div(p_cb->pairing_bda, &p_cb->div); in smp_generate_csrk() 324 if (!BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, remote_bda, in smp_calculate_comfirm() 330 BTM_ReadConnectionAddr(p_cb->pairing_bda, p_cb->local_bda, &p_cb->addr_type); in smp_calculate_comfirm() 541 bool div_status = btm_get_local_div(p_cb->pairing_bda, &p_cb->div); in smp_generate_ltk() 940 } else if ((BTM_ReadRemoteConnectionAddr(p_cb->pairing_bda, bda_for_lk, in smp_calculate_link_key_from_long_term_key() 949 p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_calculate_link_key_from_long_term_key() 997 p_dev_rec = btm_find_dev(p_cb->pairing_bda); in smp_calculate_long_term_key_from_link_key() 1004 br_link_key_type = BTM_SecGetDeviceLinkKeyType(p_cb->pairing_bda); in smp_calculate_long_term_key_from_link_key()
|
D | smp_int.h | 228 RawAddress pairing_bda; member
|
/system/bt/stack/test/ |
D | stack_smp_test.cc | 164 BTM_ReadRemoteConnectionAddr(p_cb_.pairing_bda, remote_bda, in TEST_F() 166 BTM_ReadConnectionAddr(p_cb_.pairing_bda, p_cb_.local_bda, &p_cb_.addr_type); in TEST_F() 179 BTM_ReadRemoteConnectionAddr(p_cb_.pairing_bda, remote_bda, in TEST_F() 181 BTM_ReadConnectionAddr(p_cb_.pairing_bda, p_cb_.local_bda, &p_cb_.addr_type); in TEST_F()
|
/system/bt/stack/btm/ |
D | btm_sec.cc | 632 if (bd_addr != btm_cb.pairing_bda) { in BTM_PINCodeReply() 778 btm_cb.pairing_bda = bd_addr; in btm_sec_bond_by_transport() 937 if (!p_dev_rec || btm_cb.pairing_bda != bd_addr) { in BTM_SecBondCancel() 1213 (btm_cb.pairing_bda != bd_addr)) in BTM_ConfirmReqReply() 1252 (btm_cb.pairing_bda != bd_addr)) { in BTM_PasskeyReqReply() 1941 (btm_cb.pairing_bda == bda)) { in btm_sec_conn_req() 1990 p_dev_rec = btm_find_dev(btm_cb.pairing_bda); in btm_sec_bond_cancel_complete() 2277 (btm_cb.pairing_bda == *p_bd_addr)) { in btm_sec_rmt_name_request_complete() 2300 if (p_bd_addr && btm_cb.pairing_bda == *p_bd_addr) { in btm_sec_rmt_name_request_complete() 2359 if (BTM_ReadRemoteDeviceName(btm_cb.pairing_bda, NULL, in btm_sec_rmt_name_request_complete() [all …]
|
D | btm_int_types.h | 274 RawAddress pairing_bda; /* The device currently pairing */ member 340 pairing_bda = RawAddress::kAny; in Init()
|
D | btm_ble.cc | 1765 btm_cb.pairing_bda = bd_addr; in btm_proc_smp_cback() 1826 VLOG(1) << "btm_cb.pairing_bda: " << btm_cb.pairing_bda; in btm_proc_smp_cback() 1830 if (bd_addr == btm_cb.pairing_bda) { in btm_proc_smp_cback() 1831 btm_cb.pairing_bda = RawAddress::kAny; in btm_proc_smp_cback()
|