Home
last modified time | relevance | path

Searched refs:p_bd_addr (Results 1 – 13 of 13) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_api.cc279 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr) { in L2CA_ConnectReq() argument
280 return L2CA_ErtmConnectReq(psm, p_bd_addr, nullptr); in L2CA_ConnectReq()
300 uint16_t L2CA_ErtmConnectReq(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ErtmConnectReq() argument
302 VLOG(1) << __func__ << "BDA " << p_bd_addr in L2CA_ErtmConnectReq()
321 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_BR_EDR); in L2CA_ErtmConnectReq()
324 p_lcb = l2cu_allocate_lcb(p_bd_addr, false, BT_TRANSPORT_BR_EDR); in L2CA_ErtmConnectReq()
511 uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr, in L2CA_ConnectLECocReq() argument
513 VLOG(1) << __func__ << " BDA: " << p_bd_addr in L2CA_ConnectLECocReq()
530 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq()
533 p_lcb = l2cu_allocate_lcb(p_bd_addr, false, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq()
[all …]
Dl2c_int.h590 extern tL2C_LCB* l2cu_allocate_lcb(const RawAddress& p_bd_addr, bool is_bonding,
594 extern tL2C_LCB* l2cu_find_lcb_by_bd_addr(const RawAddress& p_bd_addr,
597 extern void l2cu_update_lcb_4_bonding(const RawAddress& p_bd_addr,
Dl2c_utils.cc68 tL2C_LCB* l2cu_allocate_lcb(const RawAddress& p_bd_addr, bool is_bonding, in l2cu_allocate_lcb() argument
79 p_lcb->remote_bd_addr = p_bd_addr; in l2cu_allocate_lcb()
121 void l2cu_update_lcb_4_bonding(const RawAddress& p_bd_addr, bool is_bonding) { in l2cu_update_lcb_4_bonding() argument
122 tL2C_LCB* p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_BR_EDR); in l2cu_update_lcb_4_bonding()
125 VLOG(1) << __func__ << " BDA: " << p_bd_addr in l2cu_update_lcb_4_bonding()
245 tL2C_LCB* l2cu_find_lcb_by_bd_addr(const RawAddress& p_bd_addr, in l2cu_find_lcb_by_bd_addr() argument
252 (p_lcb->remote_bd_addr == p_bd_addr)) { in l2cu_find_lcb_by_bd_addr()
/system/bt/stack/include/
Dl2c_api.h428 extern uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr);
441 extern bool L2CA_ConnectRsp(const RawAddress& p_bd_addr, uint8_t id,
457 extern uint16_t L2CA_ErtmConnectReq(uint16_t psm, const RawAddress& p_bd_addr,
500 extern uint16_t L2CA_ConnectLECocReq(uint16_t psm, const RawAddress& p_bd_addr,
514 extern bool L2CA_ConnectLECocRsp(const RawAddress& p_bd_addr, uint8_t id,
550 extern bool L2CA_ErtmConnectRsp(const RawAddress& p_bd_addr, uint8_t id,
623 extern bool L2CA_Ping(const RawAddress& p_bd_addr, tL2CA_ECHO_RSP_CB* p_cb);
635 extern bool L2CA_Echo(const RawAddress& p_bd_addr, BT_HDR* p_data,
726 const RawAddress& p_bd_addr);
Dsdp_api.h200 bool SDP_ServiceSearchRequest(const RawAddress& p_bd_addr,
216 bool SDP_ServiceSearchAttributeRequest(const RawAddress& p_bd_addr,
234 bool SDP_ServiceSearchAttributeRequest2(const RawAddress& p_bd_addr,
/system/bt/stack/btm/
Dbtm_ble_adv_filter.cc63 tBLE_BD_ADDR* p_bd_addr,
270 bool btm_ble_dealloc_addr_filter_counter(tBLE_BD_ADDR* p_bd_addr, in btm_ble_dealloc_addr_filter_counter() argument
277 if (BTM_BLE_PF_TYPE_ALL == filter_type && NULL == p_bd_addr) in btm_ble_dealloc_addr_filter_counter()
283 (!p_bd_addr || p_bd_addr->bda == p_addr_filter->bd_addr)) { in btm_ble_dealloc_addr_filter_counter()
287 if (p_bd_addr) break; in btm_ble_dealloc_addr_filter_counter()
438 uint8_t cond_type, tBLE_BD_ADDR* p_bd_addr, in btm_ble_cs_update_pf_counter() argument
452 p_bd_addr = NULL; in btm_ble_cs_update_pf_counter()
454 if ((p_addr_filter = btm_ble_find_addr_filter_counter(p_bd_addr)) == NULL && in btm_ble_cs_update_pf_counter()
456 p_addr_filter = btm_ble_alloc_addr_filter_counter(p_bd_addr->bda); in btm_ble_cs_update_pf_counter()
467 btm_ble_dealloc_addr_filter_counter(p_bd_addr, cond_type); in btm_ble_cs_update_pf_counter()
Dbtm_sec.cc2842 void btm_sec_rmt_name_request_complete(const RawAddress* p_bd_addr, in btm_sec_rmt_name_request_complete() argument
2850 if ((!p_bd_addr && !BTM_ACL_IS_CONNECTED(btm_cb.connecting_bda)) || in btm_sec_rmt_name_request_complete()
2851 (p_bd_addr && !BTM_ACL_IS_CONNECTED(*p_bd_addr))) { in btm_sec_rmt_name_request_complete()
2857 if (p_bd_addr) in btm_sec_rmt_name_request_complete()
2858 p_dev_rec = btm_find_dev(*p_bd_addr); in btm_sec_rmt_name_request_complete()
2864 p_bd_addr = &p_dev_rec->bd_addr; in btm_sec_rmt_name_request_complete()
2905 if (btm_cb.p_rmt_name_callback[i] && p_bd_addr) in btm_sec_rmt_name_request_complete()
2906 (*btm_cb.p_rmt_name_callback[i])(*p_bd_addr, p_dev_rec->dev_class, in btm_sec_rmt_name_request_complete()
2917 if (btm_cb.p_rmt_name_callback[i] && p_bd_addr) in btm_sec_rmt_name_request_complete()
2918 (*btm_cb.p_rmt_name_callback[i])(*p_bd_addr, dev_class, (uint8_t*)""); in btm_sec_rmt_name_request_complete()
[all …]
/system/bt/stack/sdp/
Dsdp_main.cc515 tCONN_CB* sdp_conn_originate(const RawAddress& p_bd_addr) { in sdp_conn_originate() argument
523 p_bd_addr.ToString().c_str()); in sdp_conn_originate()
528 p_bd_addr.ToString().c_str()); in sdp_conn_originate()
534 p_ccb->device_address = p_bd_addr; in sdp_conn_originate()
540 cid = L2CA_ConnectReq(SDP_PSM, p_bd_addr); in sdp_conn_originate()
545 p_bd_addr.ToString().c_str()); in sdp_conn_originate()
Dsdp_api.cc134 bool SDP_ServiceSearchRequest(const RawAddress& p_bd_addr, in SDP_ServiceSearchRequest() argument
140 p_ccb = sdp_conn_originate(p_bd_addr); in SDP_ServiceSearchRequest()
165 bool SDP_ServiceSearchAttributeRequest(const RawAddress& p_bd_addr, in SDP_ServiceSearchAttributeRequest() argument
171 p_ccb = sdp_conn_originate(p_bd_addr); in SDP_ServiceSearchAttributeRequest()
197 bool SDP_ServiceSearchAttributeRequest2(const RawAddress& p_bd_addr, in SDP_ServiceSearchAttributeRequest2() argument
204 p_ccb = sdp_conn_originate(p_bd_addr); in SDP_ServiceSearchAttributeRequest2()
Dsdpint.h246 extern tCONN_CB* sdp_conn_originate(const RawAddress& p_bd_addr);
/system/bt/stack/bnep/
Dbnep_int.h188 extern tBNEP_CONN* bnep_conn_originate(uint8_t* p_bd_addr);
/system/bt/bta/jv/
Dbta_jv_act.cc506 const RawAddress* p_bd_addr = in bta_jv_alloc_set_pm_profile_cb() local
508 if (p_bd_addr) in bta_jv_alloc_set_pm_profile_cb()
509 peer_bd_addr = *p_bd_addr; in bta_jv_alloc_set_pm_profile_cb()
/system/bt/btif/src/
Dbtif_hl.cc1060 bool btif_hl_find_mcl_idx(uint8_t app_idx, const RawAddress& p_bd_addr, in btif_hl_find_mcl_idx() argument
1069 if (p_mcb->in_use && p_mcb->bd_addr == p_bd_addr) { in btif_hl_find_mcl_idx()