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);
75 extern tINQ_DB_ENT* btm_inq_db_find(const RawAddress& p_bda);
76 extern bool btm_inq_find_bdaddr(const RawAddress& p_bda);
249 extern void btm_sec_link_key_notification(const RawAddress& p_bda,
252 extern void btm_sec_link_key_request(const RawAddress& p_bda);
253 extern void btm_sec_pin_code_request(const RawAddress& p_bda);
271 extern tINQ_DB_ENT* btm_inq_db_new(const RawAddress& p_bda);
Dbtm_sec.cc3126 RawAddress& p_bda = evt_data.cfm_req.bd_addr; in btm_proc_sp_req_evt() local
3130 STREAM_TO_BDADDR(p_bda, p); in btm_proc_sp_req_evt()
3132 VLOG(2) << " BDA: " << p_bda << " event: 0x" << std::hex << +event in btm_proc_sp_req_evt()
3135 p_dev_rec = btm_find_dev(p_bda); in btm_proc_sp_req_evt()
3137 (btm_cb.pairing_bda == p_bda)) { in btm_proc_sp_req_evt()
3164 BTM_ConfirmReqReply(status, p_bda); in btm_proc_sp_req_evt()
3221 BTM_ConfirmReqReply(status, p_bda); in btm_proc_sp_req_evt()
3224 BTM_PasskeyReqReply(status, p_bda, 0); in btm_proc_sp_req_evt()
3233 btsnd_hcic_user_conf_reply(p_bda, false); in btm_proc_sp_req_evt()
3242 p_dev_rec = btm_find_dev(p_bda); in btm_proc_sp_req_evt()
[all …]
Dbtm_inq.cc875 tBTM_INQ_INFO* BTM_InqDbRead(const RawAddress& p_bda) { in BTM_InqDbRead() argument
876 VLOG(1) << __func__ << ": bd addr " << p_bda; in BTM_InqDbRead()
878 tINQ_DB_ENT* p_ent = btm_inq_db_find(p_bda); in BTM_InqDbRead()
953 tBTM_STATUS BTM_ClearInqDb(const RawAddress* p_bda) { in BTM_ClearInqDb() argument
960 btm_clr_inq_db(p_bda); in BTM_ClearInqDb()
1126 void btm_clr_inq_db(const RawAddress* p_bda) { in btm_clr_inq_db() argument
1138 if (p_bda == NULL || (p_ent->inq_info.results.remote_bd_addr == *p_bda)) { in btm_clr_inq_db()
1177 bool btm_inq_find_bdaddr(const RawAddress& p_bda) { in btm_inq_find_bdaddr() argument
1187 if (p_db->bd_addr == p_bda && p_db->inq_count == p_inq->inq_counter) in btm_inq_find_bdaddr()
1193 p_db->bd_addr = p_bda; in btm_inq_find_bdaddr()
[all …]
Dbtm_acl.cc362 evt_data.discn.p_bda = &bda; in btm_acl_removed()
691 evt.p_bda = &btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in btm_acl_encrypt_change()
1203 evt_data.conn.p_bda = &p_acl_cb->remote_addr; in btm_establish_continue()
1456 const RawAddress* p_bda = in btm_acl_role_changed() local
1458 tACL_CONN* p = btm_bda_to_acl(*p_bda, BT_TRANSPORT_BR_EDR); in btm_acl_role_changed()
1463 (p_bda != nullptr) ? bd_addr->ToString().c_str() : "nullptr", in btm_acl_role_changed()
1477 p_data->remote_bd_addr = *p_bda; in btm_acl_role_changed()
1519 evt.p_bda = p_bda; in btm_acl_role_changed()
1529 __func__, (p_bda != nullptr) ? p_bda->ToString().c_str() : "nullptr", in btm_acl_role_changed()
1534 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_ble.cc1148 const RawAddress& p_bda = *bda; in l2cble_sec_comp() local
1149 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, BT_TRANSPORT_LE); in l2cble_sec_comp()
1173 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1176 BTM_GetSecurityFlagsByTransport(p_bda, &sec_flag, transport); in l2cble_sec_comp()
1178 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp()
1182 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp()
1189 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp()
1204 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1206 l2ble_sec_access_req(p_bda, p_buf->psm, p_buf->is_originator, in l2cble_sec_comp()
Dl2c_link.cc148 const RawAddress& p_bda) { in l2c_link_hci_conn_comp() argument
158 ci.bd_addr = p_bda; in l2c_link_hci_conn_comp()
199 p_dev_info = btm_find_dev(p_bda); in l2c_link_hci_conn_comp()
284 void l2c_link_sec_comp(const RawAddress* p_bda, in l2c_link_sec_comp() argument
287 l2c_link_sec_comp2(*p_bda, transport, p_ref_data, status); in l2c_link_sec_comp()
290 void l2c_link_sec_comp2(const RawAddress& p_bda, in l2c_link_sec_comp2() argument
300 status, p_ref_data, p_bda.ToString().c_str()); in l2c_link_sec_comp2()
306 ci.bd_addr = p_bda; in l2c_link_sec_comp2()
308 p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, transport); in l2c_link_sec_comp2()
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.cc2424 void l2cu_resubmit_pending_sec_req(const RawAddress* p_bda) { in l2cu_resubmit_pending_sec_req() argument
2430 L2CAP_TRACE_DEBUG("l2cu_resubmit_pending_sec_req p_bda: 0x%08x", p_bda); in l2cu_resubmit_pending_sec_req()
2433 if (p_bda) { in l2cu_resubmit_pending_sec_req()
2434 p_lcb = l2cu_find_lcb_by_bd_addr(*p_bda, BT_TRANSPORT_BR_EDR); in l2cu_resubmit_pending_sec_req()
/system/bt/stack/bnep/
Dbnep_int.h196 extern tBNEP_CONN* bnepu_find_bcb_by_bd_addr(const RawAddress& p_bda);
210 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.h551 extern tBTM_INQ_INFO* BTM_InqDbRead(const RawAddress& p_bda);
594 extern tBTM_STATUS BTM_ClearInqDb(const RawAddress* p_bda);
Dbtm_api_types.h688 const RawAddress* p_bda; /* The address of the newly connected device */ member
700 const RawAddress* p_bda; /* The address of the disconnected device */ member
724 const RawAddress* p_bda; /* The address of the peer connected device */ member
1516 typedef void(tBTM_PM_STATUS_CBACK)(const RawAddress& p_bda,
/system/bt/main/shim/
Dbtm_api.cc47 extern bool btm_inq_find_bdaddr(const RawAddress& p_bda);
49 extern tINQ_DB_ENT* btm_inq_db_new(const RawAddress& p_bda);
685 tBTM_INQ_INFO* bluetooth::shim::BTM_InqDbRead(const RawAddress& p_bda) { in BTM_InqDbRead() argument
701 tBTM_STATUS bluetooth::shim::BTM_ClearInqDb(const RawAddress* p_bda) { in BTM_ClearInqDb() argument
703 if (p_bda == nullptr) { in BTM_ClearInqDb()
Dbtm_api.h297 tBTM_INQ_INFO* BTM_InqDbRead(const RawAddress& p_bda);
340 tBTM_STATUS BTM_ClearInqDb(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.cc2853 FROM_HERE, base::Bind(bta_dm_acl_change, true, *p_data->conn.p_bda, in bta_dm_bl_change_cback()
2859 FROM_HERE, base::Bind(bta_dm_acl_change, false, *p_data->discn.p_bda, in bta_dm_bl_change_cback()
2872 do_in_main_thread(FROM_HERE, base::Bind(handle_role_change, *tmp.p_bda, in bta_dm_bl_change_cback()
2880 FROM_HERE, base::Bind(bta_sys_notify_collision, *p_data->conn.p_bda)); in bta_dm_bl_change_cback()