Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_api.c218 UINT16 L2CA_ConnectReq (UINT16 psm, BD_ADDR p_bd_addr) in L2CA_ConnectReq() argument
220 return L2CA_ErtmConnectReq (psm, p_bd_addr, NULL); in L2CA_ConnectReq()
239 UINT16 L2CA_ErtmConnectReq (UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_ERTM_INFO *p_ertm_info) in L2CA_ErtmConnectReq() argument
246 (p_bd_addr[0]<<24)+(p_bd_addr[1]<<16)+(p_bd_addr[2]<<8)+p_bd_addr[3], in L2CA_ErtmConnectReq()
247 (p_bd_addr[4]<<8)+p_bd_addr[5], p_ertm_info, in L2CA_ErtmConnectReq()
266 if ((p_lcb = l2cu_find_lcb_by_bd_addr (p_bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_ErtmConnectReq()
269 if ( ((p_lcb = l2cu_allocate_lcb (p_bd_addr, FALSE, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_ErtmConnectReq()
467 UINT16 L2CA_ConnectLECocReq(UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_LE_CFG_INFO *p_cfg) in L2CA_ConnectLECocReq() argument
470 p_bd_addr[0], p_bd_addr[1], p_bd_addr[2], p_bd_addr[3], p_bd_addr[4], p_bd_addr[5]); in L2CA_ConnectLECocReq()
488 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(p_bd_addr, BT_TRANSPORT_LE); in L2CA_ConnectLECocReq()
[all …]
Dl2c_utils.c54 tL2C_LCB *l2cu_allocate_lcb (BD_ADDR p_bd_addr, BOOLEAN is_bonding, tBT_TRANSPORT transport) in l2cu_allocate_lcb() argument
67 memcpy (p_lcb->remote_bd_addr, p_bd_addr, BD_ADDR_LEN); in l2cu_allocate_lcb()
117 void l2cu_update_lcb_4_bonding (BD_ADDR p_bd_addr, BOOLEAN is_bonding) in l2cu_update_lcb_4_bonding() argument
119 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr (p_bd_addr, BT_TRANSPORT_BR_EDR); in l2cu_update_lcb_4_bonding()
124 (p_bd_addr[0]<<24)+(p_bd_addr[1]<<16)+(p_bd_addr[2]<<8)+p_bd_addr[3], in l2cu_update_lcb_4_bonding()
125 (p_bd_addr[4]<<8)+p_bd_addr[5], is_bonding); in l2cu_update_lcb_4_bonding()
282 tL2C_LCB *l2cu_find_lcb_by_bd_addr (BD_ADDR p_bd_addr, tBT_TRANSPORT transport) in l2cu_find_lcb_by_bd_addr() argument
293 (!memcmp (p_lcb->remote_bd_addr, p_bd_addr, BD_ADDR_LEN))) in l2cu_find_lcb_by_bd_addr()
Dl2c_int.h587 extern tL2C_LCB *l2cu_allocate_lcb (BD_ADDR p_bd_addr, BOOLEAN is_bonding, tBT_TRANSPORT transport);
590 extern tL2C_LCB *l2cu_find_lcb_by_bd_addr (BD_ADDR p_bd_addr, tBT_TRANSPORT transport);
592 extern void l2cu_update_lcb_4_bonding (BD_ADDR p_bd_addr, BOOLEAN is_bonding);
/system/bt/stack/include/
Dl2c_api.h407 extern UINT16 L2CA_ConnectReq (UINT16 psm, BD_ADDR p_bd_addr);
420 extern BOOLEAN L2CA_ConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid,
436 extern UINT16 L2CA_ErtmConnectReq (UINT16 psm, BD_ADDR p_bd_addr,
479 extern UINT16 L2CA_ConnectLECocReq (UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_LE_CFG_INFO *p_cfg);
492 extern BOOLEAN L2CA_ConnectLECocRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid, UINT16 result,
525 extern BOOLEAN L2CA_ErtmConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid,
597 extern BOOLEAN L2CA_Ping (BD_ADDR p_bd_addr, tL2CA_ECHO_RSP_CB *p_cb);
609 extern BOOLEAN L2CA_Echo (BD_ADDR p_bd_addr, BT_HDR *p_data, tL2CA_ECHO_DATA_CB *p_callback);
696 extern UINT16 L2CA_LocalLoopbackReq (UINT16 psm, UINT16 handle, BD_ADDR p_bd_addr);
Dsdp_api.h216 BOOLEAN SDP_ServiceSearchRequest (UINT8 *p_bd_addr,
234 BOOLEAN SDP_ServiceSearchAttributeRequest (UINT8 *p_bd_addr,
252 BOOLEAN SDP_ServiceSearchAttributeRequest2 (UINT8 *p_bd_addr,
/system/bt/stack/btm/
Dbtm_ble_adv_filter.c57 UINT8 cond_type, tBLE_BD_ADDR *p_bd_addr, UINT8 num_available);
422 BOOLEAN btm_ble_dealloc_addr_filter_counter(tBLE_BD_ADDR *p_bd_addr, UINT8 filter_type) in btm_ble_dealloc_addr_filter_counter() argument
428 if (BTM_BLE_PF_TYPE_ALL == filter_type && NULL == p_bd_addr) in btm_ble_dealloc_addr_filter_counter()
433 if ((p_addr_filter->in_use) && (NULL == p_bd_addr || in btm_ble_dealloc_addr_filter_counter()
434 (NULL != p_bd_addr && in btm_ble_dealloc_addr_filter_counter()
435 memcmp(p_bd_addr->bda, p_addr_filter->bd_addr, BD_ADDR_LEN) == 0))) in btm_ble_dealloc_addr_filter_counter()
440 if (NULL != p_bd_addr) break; in btm_ble_dealloc_addr_filter_counter()
521 tBLE_BD_ADDR *p_bd_addr = p_cond ? &p_cond->target_addr : NULL; in btm_ble_update_srvc_data_change() local
524 if (btm_ble_cs_update_pf_counter (action, BTM_BLE_PF_SRVC_DATA, p_bd_addr, num_avail) in btm_ble_update_srvc_data_change()
666 UINT8 cond_type, tBLE_BD_ADDR *p_bd_addr, in btm_ble_cs_update_pf_counter() argument
[all …]
Dbtm_sec.c3063 void btm_sec_rmt_name_request_complete (UINT8 *p_bd_addr, UINT8 *p_bd_name, UINT8 status) in btm_sec_rmt_name_request_complete() argument
3071 if (((p_bd_addr == NULL) && !BTM_ACL_IS_CONNECTED(btm_cb.connecting_bda)) in btm_sec_rmt_name_request_complete()
3072 || ((p_bd_addr != NULL) && !BTM_ACL_IS_CONNECTED(p_bd_addr))) in btm_sec_rmt_name_request_complete()
3079 if (p_bd_addr) in btm_sec_rmt_name_request_complete()
3080 p_dev_rec = btm_find_dev (p_bd_addr); in btm_sec_rmt_name_request_complete()
3086 p_bd_addr = p_dev_rec->bd_addr; in btm_sec_rmt_name_request_complete()
3131 if (btm_cb.p_rmt_name_callback[i] && p_bd_addr) in btm_sec_rmt_name_request_complete()
3132 (*btm_cb.p_rmt_name_callback[i])(p_bd_addr, p_dev_rec->dev_class, in btm_sec_rmt_name_request_complete()
3143 if (btm_cb.p_rmt_name_callback[i] && p_bd_addr) in btm_sec_rmt_name_request_complete()
3144 (*btm_cb.p_rmt_name_callback[i])(p_bd_addr, dev_class, (UINT8 *)""); in btm_sec_rmt_name_request_complete()
[all …]
/system/bt/bta/hf_client/
Dbta_hf_client_sco.c274 UINT8 *p_bd_addr = NULL; in bta_hf_client_sco_create() local
321 p_bd_addr = bta_hf_client_cb.scb.peer_addr; in bta_hf_client_sco_create()
323 status = BTM_CreateSco(p_bd_addr, is_orig, params.packet_types, in bta_hf_client_sco_create()
/system/bt/stack/sdp/
Dsdp_api.c141 BOOLEAN SDP_ServiceSearchRequest (UINT8 *p_bd_addr, tSDP_DISCOVERY_DB *p_db, in SDP_ServiceSearchRequest() argument
148 p_ccb = sdp_conn_originate (p_bd_addr); in SDP_ServiceSearchRequest()
178 BOOLEAN SDP_ServiceSearchAttributeRequest (UINT8 *p_bd_addr, tSDP_DISCOVERY_DB *p_db, in SDP_ServiceSearchAttributeRequest() argument
185 p_ccb = sdp_conn_originate (p_bd_addr); in SDP_ServiceSearchAttributeRequest()
215 BOOLEAN SDP_ServiceSearchAttributeRequest2 (UINT8 *p_bd_addr, tSDP_DISCOVERY_DB *p_db, in SDP_ServiceSearchAttributeRequest2() argument
222 p_ccb = sdp_conn_originate (p_bd_addr); in SDP_ServiceSearchAttributeRequest2()
Dsdp_main.c549 tCONN_CB* sdp_conn_originate (UINT8 *p_bd_addr) in sdp_conn_originate() argument
567 memcpy (&p_ccb->device_address[0], p_bd_addr, sizeof (BD_ADDR)); in sdp_conn_originate()
572 cid = L2CA_ConnectReq (SDP_PSM, p_bd_addr); in sdp_conn_originate()
Dsdpint.h268 extern tCONN_CB *sdp_conn_originate (UINT8 *p_bd_addr);
/system/bt/stack/bnep/
Dbnep_int.h205 extern tBNEP_CONN *bnep_conn_originate (UINT8 *p_bd_addr);
/system/bt/btif/include/
Dbtif_hl.h314 extern BOOLEAN btif_hl_find_mcl_idx(UINT8 app_idx, BD_ADDR p_bd_addr, UINT8 *p_mcl_idx);
/system/bt/bta/ag/
Dbta_ag_sco.c439 UINT8 *p_bd_addr = NULL; in bta_ag_create_sco() local
592 p_bd_addr = p_scb->peer_addr; in bta_ag_create_sco()
594 status = BTM_CreateSco(p_bd_addr, is_orig, params.packet_types, in bta_ag_create_sco()
/system/bt/bta/jv/
Dbta_jv_act.c556 UINT8 *p_bd_addr = GAP_ConnGetRemoteAddr((UINT16)jv_handle); in bta_jv_alloc_set_pm_profile_cb() local
557 if (NULL != p_bd_addr) in bta_jv_alloc_set_pm_profile_cb()
558 bdcpy(peer_bd_addr, p_bd_addr); in bta_jv_alloc_set_pm_profile_cb()
/system/bt/bta/hl/
Dbta_hl_int.h749 extern BOOLEAN bta_hl_find_mcl_idx(UINT8 app_idx, BD_ADDR p_bd_addr, UINT8 *p_mcl_idx);
Dbta_hl_utils.c1130 BOOLEAN bta_hl_find_mcl_idx(UINT8 app_idx, BD_ADDR p_bd_addr, UINT8 *p_mcl_idx) in bta_hl_find_mcl_idx() argument
1138 (!memcmp (bta_hl_cb.acb[app_idx].mcb[i].bd_addr, p_bd_addr, BD_ADDR_LEN))) in bta_hl_find_mcl_idx()
/system/bt/btif/src/
Dbtif_hl.c1187 BOOLEAN btif_hl_find_mcl_idx(UINT8 app_idx, BD_ADDR p_bd_addr, UINT8 *p_mcl_idx){ in btif_hl_find_mcl_idx() argument
1197 (!memcmp (p_mcb->bd_addr, p_bd_addr, BD_ADDR_LEN))) in btif_hl_find_mcl_idx()