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.h66 extern void btm_clr_inq_db(const RawAddress* p_bda);
74 extern tINQ_DB_ENT* btm_inq_db_find(const RawAddress& p_bda);
75 extern bool btm_inq_find_bdaddr(const RawAddress& p_bda);
252 extern void btm_sec_link_key_notification(const RawAddress& p_bda,
255 extern void btm_sec_link_key_request(const RawAddress& p_bda);
256 extern void btm_sec_pin_code_request(const RawAddress& p_bda);
275 extern tINQ_DB_ENT* btm_inq_db_new(const RawAddress& p_bda);
Dbtm_sec.cc3391 RawAddress& p_bda = evt_data.cfm_req.bd_addr; in btm_proc_sp_req_evt() local
3395 STREAM_TO_BDADDR(p_bda, p); in btm_proc_sp_req_evt()
3397 VLOG(2) << " BDA: " << p_bda << " event: 0x" << std::hex << +event in btm_proc_sp_req_evt()
3400 p_dev_rec = btm_find_dev(p_bda); in btm_proc_sp_req_evt()
3402 (btm_cb.pairing_bda == p_bda)) { in btm_proc_sp_req_evt()
3429 BTM_ConfirmReqReply(status, p_bda); in btm_proc_sp_req_evt()
3486 BTM_ConfirmReqReply(status, p_bda); in btm_proc_sp_req_evt()
3489 BTM_PasskeyReqReply(status, p_bda, 0); in btm_proc_sp_req_evt()
3498 btsnd_hcic_user_conf_reply(p_bda, false); in btm_proc_sp_req_evt()
3507 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.cc360 evt_data.discn.p_bda = &bda; in btm_acl_removed()
689 evt.p_bda = &btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in btm_acl_encrypt_change()
1230 evt_data.conn.p_bda = &p_acl_cb->remote_addr; in btm_establish_continue()
1479 const RawAddress* p_bda = in btm_acl_role_changed() local
1481 tACL_CONN* p = btm_bda_to_acl(*p_bda, BT_TRANSPORT_BR_EDR); in btm_acl_role_changed()
1486 (p_bda != nullptr) ? bd_addr->ToString().c_str() : "nullptr", in btm_acl_role_changed()
1500 p_data->remote_bd_addr = *p_bda; in btm_acl_role_changed()
1542 evt.p_bda = p_bda; in btm_acl_role_changed()
1552 __func__, (p_bda != nullptr) ? p_bda->ToString().c_str() : "nullptr", in btm_acl_role_changed()
1557 p_dev_rec = btm_find_dev(*p_bda); in btm_acl_role_changed()
[all …]
/system/bt/btif/src/
Dbtif_ble_scanner.cc73 void btif_address_cache_add(const RawAddress& p_bda, uint8_t addr_type) { in btif_address_cache_add() argument
80 remote_bdaddr_cache.insert(p_bda); in btif_address_cache_add()
81 remote_bdaddr_cache_ordered.push(p_bda); in btif_address_cache_add()
84 bool btif_address_cache_find(const RawAddress& p_bda) { in btif_address_cache_find() argument
85 return (remote_bdaddr_cache.find(p_bda) != remote_bdaddr_cache.end()); in btif_address_cache_find()
/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()
193 p_dev_info = btm_find_dev(p_bda); in l2c_link_hci_conn_comp()
278 void l2c_link_sec_comp(const RawAddress* p_bda, in l2c_link_sec_comp() argument
281 l2c_link_sec_comp2(*p_bda, transport, p_ref_data, status); in l2c_link_sec_comp()
284 void l2c_link_sec_comp2(const RawAddress& p_bda, in l2c_link_sec_comp2() argument
294 status, p_ref_data, p_bda.ToString().c_str()); in l2c_link_sec_comp2()
300 ci.bd_addr = p_bda; in l2c_link_sec_comp2()
302 p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, transport); in l2c_link_sec_comp2()
Dl2c_ble.cc1145 const RawAddress& p_bda = *bda; in l2cble_sec_comp() local
1146 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, BT_TRANSPORT_LE); in l2cble_sec_comp()
1170 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1173 BTM_GetSecurityFlagsByTransport(p_bda, &sec_flag, transport); in l2cble_sec_comp()
1175 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp()
1179 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp()
1186 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp()
1201 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1203 l2ble_sec_access_req(p_bda, p_buf->psm, p_buf->is_originator, in l2cble_sec_comp()
Dl2c_int.h699 extern void l2cu_resubmit_pending_sec_req(const RawAddress* p_bda);
708 const RawAddress& p_bda);
723 extern void l2c_link_sec_comp(const RawAddress* p_bda, tBT_TRANSPORT trasnport,
725 extern void l2c_link_sec_comp2(const RawAddress& p_bda, tBT_TRANSPORT trasnport,
Dl2c_utils.cc2425 void l2cu_resubmit_pending_sec_req(const RawAddress* p_bda) { in l2cu_resubmit_pending_sec_req() argument
2431 L2CAP_TRACE_DEBUG("l2cu_resubmit_pending_sec_req p_bda: 0x%08x", p_bda); in l2cu_resubmit_pending_sec_req()
2434 if (p_bda) { in l2cu_resubmit_pending_sec_req()
2435 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,
1795 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.h805 extern bool L2CA_RegForNoCPEvt(tL2CA_NOCP_CB* p_cb, const RawAddress& p_bda);
/system/bt/stack/sdp/
Dsdp_discovery.cc53 const RawAddress& p_bda);
758 tSDP_DISC_REC* add_record(tSDP_DISCOVERY_DB* p_db, const RawAddress& p_bda) { in add_record() argument
771 p_rec->remote_bd_addr = p_bda; in add_record()
/system/bt/bta/dm/
Dbta_dm_act.cc2846 FROM_HERE, base::Bind(bta_dm_acl_change, true, *p_data->conn.p_bda, in bta_dm_bl_change_cback()
2852 FROM_HERE, base::Bind(bta_dm_acl_change, false, *p_data->discn.p_bda, in bta_dm_bl_change_cback()
2865 do_in_main_thread(FROM_HERE, base::Bind(handle_role_change, *tmp.p_bda, in bta_dm_bl_change_cback()
2873 FROM_HERE, base::Bind(bta_sys_notify_collision, *p_data->conn.p_bda)); in bta_dm_bl_change_cback()