Home
last modified time | relevance | path

Searched refs:p_bda (Results 1 – 20 of 20) sorted by relevance

/system/bt/stack/pan/
Dpan_utils.cc178 tPAN_CONN* pan_allocate_pcb(const RawAddress& p_bda, uint16_t handle) { in pan_allocate_pcb() argument
189 pan_cb.pcb[i].rem_bda == p_bda) in pan_allocate_pcb()
196 pan_cb.pcb[i].rem_bda = p_bda; in pan_allocate_pcb()
234 tPAN_CONN* pan_get_pcb_by_addr(const RawAddress& p_bda) { in pan_get_pcb_by_addr() argument
240 if (pan_cb.pcb[i].rem_bda == p_bda) return &(pan_cb.pcb[i]); in pan_get_pcb_by_addr()
Dpan_int.h100 extern void pan_conn_ind_cb(uint16_t handle, const RawAddress& p_bda,
121 extern tPAN_CONN* pan_allocate_pcb(const RawAddress& p_bda, uint16_t handle);
123 extern tPAN_CONN* pan_get_pcb_by_addr(const RawAddress& p_bda);
Dpan_main.cc90 void pan_conn_ind_cb(uint16_t handle, const RawAddress& p_bda, in pan_conn_ind_cb() argument
244 pcb = pan_allocate_pcb(p_bda, handle); in pan_conn_ind_cb()
/system/bt/stack/btm/
Dbtm_int.h65 extern void btm_clr_inq_db(const RawAddress* p_bda);
73 extern tINQ_DB_ENT* btm_inq_db_find(const RawAddress& p_bda);
74 extern bool btm_inq_find_bdaddr(const RawAddress& p_bda);
258 extern void btm_sec_link_key_notification(const RawAddress& p_bda,
261 extern void btm_sec_link_key_request(const RawAddress& p_bda);
262 extern void btm_sec_pin_code_request(const RawAddress& p_bda);
282 extern tINQ_DB_ENT* btm_inq_db_new(const RawAddress& p_bda);
Dbtm_sec.cc3382 RawAddress& p_bda = evt_data.cfm_req.bd_addr; in btm_proc_sp_req_evt() local
3386 STREAM_TO_BDADDR(p_bda, p); in btm_proc_sp_req_evt()
3388 VLOG(2) << " BDA: " << p_bda << " event: 0x" << std::hex << +event in btm_proc_sp_req_evt()
3391 p_dev_rec = btm_find_dev(p_bda); in btm_proc_sp_req_evt()
3393 (btm_cb.pairing_bda == p_bda)) { in btm_proc_sp_req_evt()
3420 BTM_ConfirmReqReply(status, p_bda); in btm_proc_sp_req_evt()
3476 BTM_ConfirmReqReply(status, p_bda); in btm_proc_sp_req_evt()
3480 BTM_PasskeyReqReply(status, p_bda, 0); in btm_proc_sp_req_evt()
3490 btsnd_hcic_user_conf_reply(p_bda, false); in btm_proc_sp_req_evt()
3499 p_dev_rec = btm_find_dev(p_bda); in btm_proc_sp_req_evt()
[all …]
Dbtm_inq.cc940 tBTM_INQ_INFO* BTM_InqDbRead(const RawAddress& p_bda) { in BTM_InqDbRead() argument
941 VLOG(1) << __func__ << ": bd addr " << p_bda; in BTM_InqDbRead()
943 tINQ_DB_ENT* p_ent = btm_inq_db_find(p_bda); in BTM_InqDbRead()
1018 tBTM_STATUS BTM_ClearInqDb(const RawAddress* p_bda) { in BTM_ClearInqDb() argument
1025 btm_clr_inq_db(p_bda); in BTM_ClearInqDb()
1214 void btm_clr_inq_db(const RawAddress* p_bda) { in btm_clr_inq_db() argument
1226 if (p_bda == NULL || (p_ent->inq_info.results.remote_bd_addr == *p_bda)) { in btm_clr_inq_db()
1265 bool btm_inq_find_bdaddr(const RawAddress& p_bda) { in btm_inq_find_bdaddr() argument
1275 if (p_db->bd_addr == p_bda && p_db->inq_count == p_inq->inq_counter) in btm_inq_find_bdaddr()
1281 p_db->bd_addr = p_bda; in btm_inq_find_bdaddr()
[all …]
Dbtm_acl.cc359 evt_data.discn.p_bda = &bda; in btm_acl_removed()
692 evt.p_bda = &btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in btm_acl_encrypt_change()
1228 evt_data.conn.p_bda = &p_acl_cb->remote_addr; in btm_establish_continue()
1477 const RawAddress* p_bda = in btm_acl_role_changed() local
1479 tACL_CONN* p = btm_bda_to_acl(*p_bda, BT_TRANSPORT_BR_EDR); in btm_acl_role_changed()
1484 (p_bda != nullptr) ? bd_addr->ToString().c_str() : "nullptr", in btm_acl_role_changed()
1498 p_data->remote_bd_addr = *p_bda; in btm_acl_role_changed()
1540 evt.p_bda = p_bda; in btm_acl_role_changed()
1550 __func__, (p_bda != nullptr) ? p_bda->ToString().c_str() : "nullptr", in btm_acl_role_changed()
1555 p_dev_rec = btm_find_dev(*p_bda); in btm_acl_role_changed()
[all …]
/system/bt/btif/src/
Dbtif_ble_scanner.cc73 void btif_gattc_add_remote_bdaddr(const RawAddress& p_bda, uint8_t addr_type) { in btif_gattc_add_remote_bdaddr() argument
80 remote_bdaddr_cache.insert(p_bda); in btif_gattc_add_remote_bdaddr()
81 remote_bdaddr_cache_ordered.push(p_bda); in btif_gattc_add_remote_bdaddr()
84 bool btif_gattc_find_bdaddr(const RawAddress& p_bda) { in btif_gattc_find_bdaddr() argument
85 return (remote_bdaddr_cache.find(p_bda) != remote_bdaddr_cache.end()); in btif_gattc_find_bdaddr()
/system/bt/stack/l2cap/
Dl2c_link.cc147 const RawAddress& p_bda) { in l2c_link_hci_conn_comp() argument
157 ci.bd_addr = p_bda; in l2c_link_hci_conn_comp()
188 p_dev_info = btm_find_dev(p_bda); in l2c_link_hci_conn_comp()
273 void l2c_link_sec_comp(const RawAddress* p_bda, in l2c_link_sec_comp() argument
276 l2c_link_sec_comp2(*p_bda, transport, p_ref_data, status); in l2c_link_sec_comp()
279 void l2c_link_sec_comp2(const RawAddress& p_bda, in l2c_link_sec_comp2() argument
289 status, p_ref_data, p_bda.ToString().c_str()); in l2c_link_sec_comp2()
295 ci.bd_addr = p_bda; in l2c_link_sec_comp2()
297 p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, transport); in l2c_link_sec_comp2()
Dl2c_ble.cc1370 const RawAddress& p_bda = *bda; in l2cble_sec_comp() local
1371 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, BT_TRANSPORT_LE); in l2cble_sec_comp()
1395 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1398 BTM_GetSecurityFlagsByTransport(p_bda, &sec_flag, transport); in l2cble_sec_comp()
1400 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp()
1404 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp()
1411 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp()
1426 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1428 l2ble_sec_access_req(p_bda, p_buf->psm, p_buf->is_originator, in l2cble_sec_comp()
Dl2c_int.h697 extern void l2cu_resubmit_pending_sec_req(const RawAddress* p_bda);
706 const RawAddress& p_bda);
721 extern void l2c_link_sec_comp(const RawAddress* p_bda, tBT_TRANSPORT trasnport,
723 extern void l2c_link_sec_comp2(const RawAddress& p_bda, tBT_TRANSPORT trasnport,
Dl2c_utils.cc2429 void l2cu_resubmit_pending_sec_req(const RawAddress* p_bda) { in l2cu_resubmit_pending_sec_req() argument
2435 L2CAP_TRACE_DEBUG("l2cu_resubmit_pending_sec_req p_bda: 0x%08x", p_bda); in l2cu_resubmit_pending_sec_req()
2438 if (p_bda) { in l2cu_resubmit_pending_sec_req()
2439 p_lcb = l2cu_find_lcb_by_bd_addr(*p_bda, BT_TRANSPORT_BR_EDR); in l2cu_resubmit_pending_sec_req()
Dl2c_api.cc2074 bool L2CA_RegForNoCPEvt(tL2CA_NOCP_CB* p_cb, const RawAddress& p_bda) { in L2CA_RegForNoCPEvt() argument
2078 p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, BT_TRANSPORT_BR_EDR); in L2CA_RegForNoCPEvt()
/system/bt/stack/bnep/
Dbnep_int.h195 extern tBNEP_CONN* bnepu_find_bcb_by_bd_addr(const RawAddress& p_bda);
209 extern tBNEP_CONN* bnepu_get_route_to_dest(uint8_t* p_bda);
Dbnep_utils.cc85 tBNEP_CONN* bnepu_find_bcb_by_bd_addr(const RawAddress& p_bda) { in bnepu_find_bcb_by_bd_addr() argument
92 if (p_bcb->rem_bda == p_bda) return (p_bcb); in bnepu_find_bcb_by_bd_addr()
/system/bt/stack/include/
Dbtm_api_types.h839 const RawAddress* p_bda; /* The address of the newly connected device */ member
851 const RawAddress* p_bda; /* The address of the disconnected device */ member
875 const RawAddress* p_bda; /* The address of the peer connected device */ member
901 typedef void(tBTM_ACL_DB_CHANGE_CB)(const RawAddress& p_bda, DEV_CLASS p_dc,
1793 typedef void(tBTM_PM_STATUS_CBACK)(const RawAddress& p_bda,
Dbtm_api.h648 extern tBTM_INQ_INFO* BTM_InqDbRead(const RawAddress& p_bda);
691 extern tBTM_STATUS BTM_ClearInqDb(const RawAddress* p_bda);
Dl2c_api.h804 extern bool L2CA_RegForNoCPEvt(tL2CA_NOCP_CB* p_cb, const RawAddress& p_bda);
/system/bt/stack/sdp/
Dsdp_discovery.cc57 const RawAddress& p_bda);
818 tSDP_DISC_REC* add_record(tSDP_DISCOVERY_DB* p_db, const RawAddress& p_bda) { in add_record() argument
831 p_rec->remote_bd_addr = p_bda; in add_record()
/system/bt/bta/dm/
Dbta_dm_act.cc2824 base::Bind(bta_dm_acl_change, true, *p_data->conn.p_bda, in bta_dm_bl_change_cback()
2830 FROM_HERE, base::Bind(bta_dm_acl_change, false, *p_data->discn.p_bda, in bta_dm_bl_change_cback()
2843 do_in_bta_thread(FROM_HERE, base::Bind(handle_role_change, *tmp.p_bda, in bta_dm_bl_change_cback()
2851 FROM_HERE, base::Bind(bta_sys_notify_collision, *p_data->conn.p_bda)); in bta_dm_bl_change_cback()