• Home
  • Raw
  • Download

Lines Matching refs:p_dev_rec

262   tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(p_cb->pairing_bda);  in smp_send_pair_req()  local
266 if (p_dev_rec) btm_sec_clear_ble_keys(p_dev_rec); 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() local
528 if (p_dev_rec && (p_cb->role == HCI_ROLE_PERIPHERAL)) in smp_proc_pair_cmd()
529 btm_sec_clear_ble_keys(p_dev_rec); 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() local
806 if (!p_dev_rec->new_encryption_key_is_p256 && in smp_br_process_pairing_command()
815 if (p_dev_rec && (p_cb->role == HCI_ROLE_PERIPHERAL)) in smp_br_process_pairing_command()
816 btm_sec_clear_ble_keys(p_dev_rec); in smp_br_process_pairing_command()
849 p_dev_rec->new_encryption_key_is_p256 = false; 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() local
1280 if (!(p_dev_rec->sec_flags & BTM_SEC_LE_LINK_KEY_AUTHED) && in smp_key_distribution()
1281 (p_dev_rec->sec_flags & BTM_SEC_LINK_KEY_AUTHED)) { in smp_key_distribution()
2014 tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bda); in smp_proc_ltk_request() local
2015 if (p_dev_rec != NULL && p_dev_rec->ble.pseudo_addr == smp_cb.pairing_bda && in smp_proc_ltk_request()
2016 p_dev_rec->ble.pseudo_addr != RawAddress::kEmpty) { 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() local
2115 if (p_dev_rec) { in smp_br_process_link_key()
2116 SMP_TRACE_DEBUG("%s: dev_type = %d ", __func__, p_dev_rec->device_type); in smp_br_process_link_key()
2117 p_dev_rec->device_type |= BT_DEVICE_TYPE_BLE; in smp_br_process_link_key()