Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/stack/l2cap/
Dl2c_api.c212 UINT16 L2CA_ConnectReq (UINT16 psm, BD_ADDR p_bd_addr) in L2CA_ConnectReq() argument
214 return L2CA_ErtmConnectReq (psm, p_bd_addr, NULL); in L2CA_ConnectReq()
229 UINT16 L2CA_ErtmConnectReq (UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_ERTM_INFO *p_ertm_info) in L2CA_ErtmConnectReq() argument
236 (p_bd_addr[0]<<24)+(p_bd_addr[1]<<16)+(p_bd_addr[2]<<8)+p_bd_addr[3], in L2CA_ErtmConnectReq()
237 (p_bd_addr[4]<<8)+p_bd_addr[5], p_ertm_info, in L2CA_ErtmConnectReq()
254 if ((p_lcb = l2cu_find_lcb_by_bd_addr (p_bd_addr)) == NULL) in L2CA_ErtmConnectReq()
257 if ( ((p_lcb = l2cu_allocate_lcb (p_bd_addr, FALSE)) == NULL) in L2CA_ErtmConnectReq()
333 BOOLEAN L2CA_ConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid, UINT16 result, UINT16 status) in L2CA_ConnectRsp() argument
335 return L2CA_ErtmConnectRsp (p_bd_addr, id, lcid, result, status, NULL); in L2CA_ConnectRsp()
350 BOOLEAN L2CA_ErtmConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid, UINT16 result, in L2CA_ErtmConnectRsp() argument
[all …]
Dl2c_utils.c49 tL2C_LCB *l2cu_allocate_lcb (BD_ADDR p_bd_addr, BOOLEAN is_bonding) in l2cu_allocate_lcb() argument
60 memcpy (p_lcb->remote_bd_addr, p_bd_addr, BD_ADDR_LEN); in l2cu_allocate_lcb()
93 void l2cu_update_lcb_4_bonding (BD_ADDR p_bd_addr, BOOLEAN is_bonding) in l2cu_update_lcb_4_bonding() argument
95 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr (p_bd_addr); in l2cu_update_lcb_4_bonding()
100 (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()
101 (p_bd_addr[4]<<8)+p_bd_addr[5], is_bonding); in l2cu_update_lcb_4_bonding()
220 tL2C_LCB *l2cu_find_lcb_by_bd_addr (BD_ADDR p_bd_addr) in l2cu_find_lcb_by_bd_addr() argument
227 if ((p_lcb->in_use) && (!memcmp (p_lcb->remote_bd_addr, p_bd_addr, BD_ADDR_LEN))) in l2cu_find_lcb_by_bd_addr()
Dl2c_int.h581 extern tL2C_LCB *l2cu_allocate_lcb (BD_ADDR p_bd_addr, BOOLEAN is_bonding);
584 extern tL2C_LCB *l2cu_find_lcb_by_bd_addr (BD_ADDR p_bd_addr);
586 extern void l2cu_update_lcb_4_bonding (BD_ADDR p_bd_addr, BOOLEAN is_bonding);
/external/bluetooth/bluedroid/stack/include/
Dl2c_api.h388 L2C_API extern UINT16 L2CA_ConnectReq (UINT16 psm, BD_ADDR p_bd_addr);
401 L2C_API extern BOOLEAN L2CA_ConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid,
417 L2C_API extern UINT16 L2CA_ErtmConnectReq (UINT16 psm, BD_ADDR p_bd_addr,
432 L2C_API extern BOOLEAN L2CA_ErtmConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid,
504 L2C_API extern BOOLEAN L2CA_Ping (BD_ADDR p_bd_addr, tL2CA_ECHO_RSP_CB *p_cb);
516 L2C_API extern BOOLEAN L2CA_Echo (BD_ADDR p_bd_addr, BT_HDR *p_data, tL2CA_ECHO_DATA_CB *p_callbac…
596 L2C_API extern UINT16 L2CA_LocalLoopbackReq (UINT16 psm, UINT16 handle, BD_ADDR p_bd_addr);
Dsdp_api.h230 SDP_API extern BOOLEAN SDP_ServiceSearchRequest (UINT8 *p_bd_addr,
248 SDP_API extern BOOLEAN SDP_ServiceSearchAttributeRequest (UINT8 *p_bd_addr,
266 SDP_API extern BOOLEAN SDP_ServiceSearchAttributeRequest2 (UINT8 *p_bd_addr,
711 SDP_API UINT32 SDP_ConnOpen (UINT8 *p_bd_addr, tSDP_DISC_RES_CB *p_rcb,
/external/bluetooth/bluedroid/stack/sdp/
Dsdp_api.c145 BOOLEAN SDP_ServiceSearchRequest (UINT8 *p_bd_addr, tSDP_DISCOVERY_DB *p_db, in SDP_ServiceSearchRequest() argument
152 p_ccb = sdp_conn_originate (p_bd_addr); in SDP_ServiceSearchRequest()
182 BOOLEAN SDP_ServiceSearchAttributeRequest (UINT8 *p_bd_addr, tSDP_DISCOVERY_DB *p_db, in SDP_ServiceSearchAttributeRequest() argument
189 p_ccb = sdp_conn_originate (p_bd_addr); in SDP_ServiceSearchAttributeRequest()
219 BOOLEAN SDP_ServiceSearchAttributeRequest2 (UINT8 *p_bd_addr, tSDP_DISCOVERY_DB *p_db, in SDP_ServiceSearchAttributeRequest2() argument
226 p_ccb = sdp_conn_originate (p_bd_addr); in SDP_ServiceSearchAttributeRequest2()
1391 UINT32 SDP_ConnOpen (UINT8 *p_bd_addr, tSDP_DISC_RES_CB *p_rcb, in SDP_ConnOpen() argument
1402 p_ccb = sdp_conn_originate (p_bd_addr); in SDP_ConnOpen()
Dsdp_main.c541 tCONN_CB* sdp_conn_originate (UINT8 *p_bd_addr) in sdp_conn_originate() argument
559 memcpy (&p_ccb->device_address[0], p_bd_addr, sizeof (BD_ADDR)); in sdp_conn_originate()
566 BTM_SetOutService(p_bd_addr, BTM_SEC_SERVICE_SDP_SERVER, 0); in sdp_conn_originate()
570 cid = L2CA_ConnectReq (SDP_PSM, p_bd_addr); in sdp_conn_originate()
Dsdpint.h272 extern tCONN_CB *sdp_conn_originate (UINT8 *p_bd_addr);
/external/bluetooth/bluedroid/bta/jv/
Dbta_jv_api.c276 INT32 BTA_JvGetPreknownDevice(UINT8 * p_bd_addr, UINT32 index) in BTA_JvGetPreknownDevice() argument
289 if(NULL == p_bd_addr) in BTA_JvGetPreknownDevice()
309 if(p_bd_addr) in BTA_JvGetPreknownDevice()
314 bdcpy(p_bd_addr, p_info->results.remote_bd_addr); in BTA_JvGetPreknownDevice()
Dbta_jv_act.c548 UINT8 *p_bd_addr = GAP_ConnGetRemoteAddr((UINT16)jv_handle); in bta_jv_alloc_set_pm_profile_cb() local
549 if (NULL != p_bd_addr) in bta_jv_alloc_set_pm_profile_cb()
550 bdcpy(peer_bd_addr, p_bd_addr); in bta_jv_alloc_set_pm_profile_cb()
/external/bluetooth/bluedroid/stack/bnep/
Dbnep_int.h208 extern tBNEP_CONN *bnep_conn_originate (UINT8 *p_bd_addr);
/external/bluetooth/bluedroid/stack/btm/
Dbtm_sec.c2905 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
2913 if (((p_bd_addr == NULL) && !BTM_ACL_IS_CONNECTED(btm_cb.connecting_bda)) in btm_sec_rmt_name_request_complete()
2914 || ((p_bd_addr != NULL) && !BTM_ACL_IS_CONNECTED(p_bd_addr))) in btm_sec_rmt_name_request_complete()
2921 if (p_bd_addr) in btm_sec_rmt_name_request_complete()
2922 p_dev_rec = btm_find_dev (p_bd_addr); in btm_sec_rmt_name_request_complete()
2932 p_bd_addr = p_dev_rec->bd_addr; in btm_sec_rmt_name_request_complete()
2984 (*btm_cb.p_rmt_name_callback[i])(p_bd_addr, p_dev_rec->dev_class, in btm_sec_rmt_name_request_complete()
2998 (*btm_cb.p_rmt_name_callback[i])(p_bd_addr, dev_class, (UINT8 *)""); in btm_sec_rmt_name_request_complete()
3005 if ( (btm_cb.pairing_state == BTM_PAIR_STATE_WAIT_LOCAL_PIN) && p_bd_addr in btm_sec_rmt_name_request_complete()
3006 && (memcmp (btm_cb.pairing_bda, p_bd_addr, BD_ADDR_LEN) == 0) ) in btm_sec_rmt_name_request_complete()
[all …]
/external/bluetooth/bluedroid/bta/ag/
Dbta_ag_sco.c418 UINT8 *p_bd_addr = NULL; in bta_ag_create_sco() local
564 p_bd_addr = p_scb->peer_addr; in bta_ag_create_sco()
566 status = BTM_CreateSco(p_bd_addr, is_orig, params.packet_types, in bta_ag_create_sco()
/external/bluetooth/bluedroid/btif/include/
Dbtif_hl.h308 extern BOOLEAN btif_hl_find_mcl_idx(UINT8 app_idx, BD_ADDR p_bd_addr, UINT8 *p_mcl_idx);
/external/bluetooth/bluedroid/bta/include/
Dbta_jv_api.h595 BTA_API extern INT32 BTA_JvGetPreknownDevice(UINT8 * p_bd_addr, UINT32 index);
/external/bluetooth/bluedroid/bta/hl/
Dbta_hl_int.h753 extern BOOLEAN bta_hl_find_mcl_idx(UINT8 app_idx, BD_ADDR p_bd_addr, UINT8 *p_mcl_idx);
Dbta_hl_utils.c1167 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
1178 (!memcmp (bta_hl_cb.acb[app_idx].mcb[i].bd_addr, p_bd_addr, BD_ADDR_LEN))) in bta_hl_find_mcl_idx()
/external/bluetooth/bluedroid/btif/src/
Dbtif_hl.c1317 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
1327 (!memcmp (p_mcb->bd_addr, p_bd_addr, BD_ADDR_LEN))) in btif_hl_find_mcl_idx()