/external/bluetooth/bluedroid/stack/l2cap/ |
D | l2c_ucd.c | 40 static BOOLEAN l2c_ucd_connect ( BD_ADDR rem_bda ); 51 static void l2c_ucd_discover_cback (BD_ADDR rem_bda, UINT8 info_type, UINT32 data) in l2c_ucd_discover_cback() argument 66 p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (rem_bda, info_type, data); in l2c_ucd_discover_cback() 74 p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (rem_bda, info_type, data); in l2c_ucd_discover_cback() 90 static void l2c_ucd_data_ind_cback (BD_ADDR rem_bda, BT_HDR *p_buf) in l2c_ucd_data_ind_cback() argument 111 p_rcb->ucd.cb_info.pL2CA_UCD_Data_Cb(rem_bda, p_buf); in l2c_ucd_data_ind_cback() 124 static void l2c_ucd_congestion_status_cback (BD_ADDR rem_bda, BOOLEAN is_congested) in l2c_ucd_congestion_status_cback() argument 140 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in l2c_ucd_congestion_status_cback() 141 (rem_bda[4]<<8)+rem_bda[5]); in l2c_ucd_congestion_status_cback() 143 p_rcb->ucd.cb_info.pL2CA_UCD_Congestion_Status_Cb ( rem_bda, is_congested ); in l2c_ucd_congestion_status_cback() [all …]
|
D | l2c_ble.c | 49 BOOLEAN L2CA_CancelBleConnectReq (BD_ADDR rem_bda) in L2CA_CancelBleConnectReq() argument 60 if (memcmp (rem_bda, l2cb.ble_connecting_bda, BD_ADDR_LEN)) in L2CA_CancelBleConnectReq() 65 … (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], (rem_bda[4]<<8)+rem_bda[5]); in L2CA_CancelBleConnectReq() 73 if ((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_LE)) != NULL) in L2CA_CancelBleConnectReq() 98 BOOLEAN L2CA_UpdateBleConnParams (BD_ADDR rem_bda, UINT16 min_int, UINT16 max_int, in L2CA_UpdateBleConnParams() argument 102 tACL_CONN *p_acl_cb = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams() 105 p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams() 111 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in L2CA_UpdateBleConnParams() 112 (rem_bda[4]<<8)+rem_bda[5]); in L2CA_UpdateBleConnParams() 119 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in L2CA_UpdateBleConnParams() [all …]
|
D | l2c_api.c | 1316 BOOLEAN L2CA_ConnectFixedChnl (UINT16 fixed_cid, BD_ADDR rem_bda) in L2CA_ConnectFixedChnl() argument 1323 … (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], (rem_bda[4]<<8)+rem_bda[5]); in L2CA_ConnectFixedChnl() 1346 if ((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, transport)) != NULL) in L2CA_ConnectFixedChnl() 1351 fixed_cid,(rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in L2CA_ConnectFixedChnl() 1352 (rem_bda[4]<<8)+rem_bda[5]); in L2CA_ConnectFixedChnl() 1383 if ((p_lcb = l2cu_allocate_lcb (rem_bda, FALSE, transport)) == NULL) in L2CA_ConnectFixedChnl() 1422 UINT16 L2CA_SendFixedChnlData (UINT16 fixed_cid, BD_ADDR rem_bda, BT_HDR *p_buf) in L2CA_SendFixedChnlData() argument 1428 … (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], (rem_bda[4]<<8)+rem_bda[5]); in L2CA_SendFixedChnlData() 1453 if ((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, transport)) == NULL || in L2CA_SendFixedChnlData() 1522 BOOLEAN L2CA_RemoveFixedChnl (UINT16 fixed_cid, BD_ADDR rem_bda) in L2CA_RemoveFixedChnl() argument [all …]
|
/external/bluetooth/bluedroid/stack/pan/ |
D | pan_utils.c | 197 memcmp (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN) == 0) in pan_allocate_pcb() 206 memcpy (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN); in pan_allocate_pcb() 257 if (memcmp (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN) == 0) in pan_get_pcb_by_addr() 342 p_pcb->rem_bda[0], p_pcb->rem_bda[1], p_pcb->rem_bda[2], in pan_dump_status() 343 p_pcb->rem_bda[3], p_pcb->rem_bda[4], p_pcb->rem_bda[5]); in pan_dump_status()
|
D | pan_api.c | 297 tPAN_RESULT PAN_Connect (BD_ADDR rem_bda, UINT8 src_role, UINT8 dst_role, UINT16 *handle) in PAN_Connect() argument 327 pcb = pan_get_pcb_by_addr (rem_bda); in PAN_Connect() 393 pcb = pan_allocate_pcb (rem_bda, BNEP_INVALID_HANDLE); in PAN_Connect() 399 BTM_SetOutService(rem_bda, BTM_SEC_SERVICE_BNEP_PANU, mx_chan_id); in PAN_Connect() 402 rem_bda[0], rem_bda[1], rem_bda[2], rem_bda[3], rem_bda[4], rem_bda[5]); in PAN_Connect() 425 result = BNEP_Connect (rem_bda, &src_uuid, &dst_uuid, &(pcb->handle)); in PAN_Connect() 473 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, FALSE); in PAN_Disconnect()
|
D | pan_main.c | 265 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, FALSE); in pan_conn_ind_cb() 333 void pan_connect_state_cb (UINT16 handle, BD_ADDR rem_bda, tBNEP_RESULT result, BOOLEAN is_role_cha… in pan_connect_state_cb() argument 337 UNUSED(rem_bda); in pan_connect_state_cb() 352 …(*pan_cb.pan_conn_state_cb) (pcb->handle, pcb->rem_bda, result, is_role_change, PAN_ROLE_INACTIVE,… in pan_connect_state_cb() 368 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, TRUE); in pan_connect_state_cb() 377 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, FALSE); in pan_connect_state_cb() 404 …(*pan_cb.pan_conn_state_cb) (pcb->handle, pcb->rem_bda, PAN_SUCCESS, is_role_change, pan_cb.active… in pan_connect_state_cb() 410 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, TRUE); in pan_connect_state_cb() 500 if (memcmp (pan_cb.pcb[i].rem_bda, dst, BD_ADDR_LEN) == 0) in pan_data_ind_cb()
|
D | pan_int.h | 55 BD_ADDR rem_bda; member 117 extern void pan_connect_state_cb (UINT16 handle, BD_ADDR rem_bda, tBNEP_RESULT result, BOOLEAN is_r…
|
/external/bluetooth/bluedroid/stack/bnep/ |
D | bnep_main.c | 199 (*bnep_cb.p_conn_state_cb) (bcb->handle, bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in bnep_connect_cfm() 271 btm_sec_mx_access_request (p_bcb->rem_bda, BT_PSM_BNEP, TRUE, in bnep_config_ind() 317 btm_sec_mx_access_request (p_bcb->rem_bda, BT_PSM_BNEP, TRUE, in bnep_config_cfm() 329 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED_CFG, FALSE); in bnep_config_cfm() 369 … (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_DISCONNECTED, FALSE); in bnep_disconnect_ind() 375 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in bnep_disconnect_ind() 639 p_src_addr = (UINT8 *) p_bcb->rem_bda; in bnep_data_ind() 718 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in bnep_process_timeout() 733 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in bnep_process_timeout() 751 … (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_SET_FILTER_FAIL, FALSE); in bnep_process_timeout() [all …]
|
D | bnep_utils.c | 91 if (!memcmp ((UINT8 *)(p_bcb->rem_bda), p_bda, BD_ADDR_LEN)) in bnepu_find_bcb_by_bd_addr() 124 memcpy ((UINT8 *)(p_bcb->rem_bda), (UINT8 *)p_rem_bda, BD_ADDR_LEN); in bnepu_allocate_bcb() 504 if (memcmp (p_dest_addr, p_bcb->rem_bda, BD_ADDR_LEN)) in bnepu_build_bnep_hdr() 671 bnep_sec_check_complete (p_bcb->rem_bda, p_bcb, BTM_SUCCESS); in bnep_process_setup_conn_req() 674 btm_sec_mx_access_request (p_bcb->rem_bda, BT_PSM_BNEP, FALSE, in bnep_process_setup_conn_req() 755 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, TRUE); in bnep_process_setup_conn_responce() 767 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, FALSE); in bnep_process_setup_conn_responce() 1249 … (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_SECURITY_FAIL, is_role_change); in bnep_sec_check_complete() 1261 … (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_SECURITY_FAIL, is_role_change); in bnep_sec_check_complete() 1298 …(*bnep_cb.p_conn_ind_cb) (p_bcb->handle, p_bcb->rem_bda, &p_bcb->dst_uuid, &p_bcb->src_uuid, is_ro… in bnep_sec_check_complete() [all …]
|
D | bnep_api.c | 188 btm_sec_mx_access_request (p_bcb->rem_bda, BT_PSM_BNEP, TRUE, in BNEP_Connect() 193 bnep_sec_check_complete (p_bcb->rem_bda, p_bcb, BTM_SUCCESS); in BNEP_Connect() 202 if ((cid = L2CA_ConnectReq (BT_PSM_BNEP, p_bcb->rem_bda)) != 0) in BNEP_Connect() 211 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, BNEP_CONN_FAILED, FALSE); in BNEP_Connect() 771 memcpy (p_status->rem_bda, p_bcb->rem_bda, BD_ADDR_LEN); in BNEP_GetStatus()
|
D | bnep_int.h | 134 BD_ADDR rem_bda; member
|
/external/bluetooth/bluedroid/stack/include/ |
D | l2c_api.h | 865 L2C_API extern BOOLEAN L2CA_UcdDiscover ( UINT16 psm, BD_ADDR rem_bda, UINT8 info_type ); 884 L2C_API extern UINT16 L2CA_UcdDataWrite (UINT16 psm, BD_ADDR rem_bda, BT_HDR *p_buf, UINT16 flags); 898 L2C_API extern BOOLEAN L2CA_UcdSetIdleTimeout ( BD_ADDR rem_bda, UINT16 timeout ); 909 L2C_API extern BOOLEAN L2CA_UCDSetTxPriority ( BD_ADDR rem_bda, tL2CAP_CHNL_PRIORITY priority ); 996 L2C_API extern UINT16 L2CA_SendFixedChnlData (UINT16 fixed_cid, BD_ADDR rem_bda, BT_HDR *p_buf); 1011 L2C_API extern BOOLEAN L2CA_RemoveFixedChnl (UINT16 fixed_cid, BD_ADDR rem_bda); 1030 L2C_API extern BOOLEAN L2CA_SetFixedChannelTout (BD_ADDR rem_bda, UINT16 fixed_cid, UINT16 idle_tou… 1128 L2C_API extern BOOLEAN L2CA_CancelBleConnectReq (BD_ADDR rem_bda); 1156 L2C_API extern BOOLEAN L2CA_EnableUpdateBleConnParams (BD_ADDR rem_bda, BOOLEAN enable);
|
D | bnep_api.h | 86 BD_ADDR rem_bda, 209 BD_ADDR rem_bda; member
|
D | pan_api.h | 309 PAN_API extern tPAN_RESULT PAN_Connect (BD_ADDR rem_bda, UINT8 src_role, UINT8 dst_role, UINT16 *ha…
|
D | btm_api.h | 734 BD_ADDR rem_bda; member 778 BD_ADDR rem_bda; member 789 BD_ADDR rem_bda; member 800 BD_ADDR rem_bda; member
|
/external/bluetooth/bluedroid/bta/include/ |
D | bta_jv_api.h | 249 BD_ADDR rem_bda; /* The peer address */ member 322 BD_ADDR rem_bda; /* The peer address */ member 330 BD_ADDR rem_bda; /* The peer address */ member
|
/external/bluetooth/bluedroid/bta/jv/ |
D | bta_jv_act.c | 1505 bdcpy(evt_data.l2c_open.rem_bda, p_data->open.peer_addr); in bta_jv_sdp_res_cback() 1913 BD_ADDR rem_bda; in bta_jv_port_mgmt_cl_cback() local 1924 PORT_CheckConnection(port_handle, rem_bda, &lcid); in bta_jv_port_mgmt_cl_cback() 1930 bdcpy(evt_data.rfc_open.rem_bda, rem_bda); in bta_jv_port_mgmt_cl_cback() 2146 BD_ADDR rem_bda; in bta_jv_port_mgmt_sr_cback() local 2161 PORT_CheckConnection(port_handle, rem_bda, &lcid); in bta_jv_port_mgmt_sr_cback() 2167 bdcpy(evt_data.rfc_srv_open.rem_bda, rem_bda); in bta_jv_port_mgmt_sr_cback()
|
/external/bluetooth/bluedroid/stack/gatt/ |
D | gatt_main.c | 149 BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb, tBT_TRANSPORT transport) in gatt_connect() argument 159 gatt_ret = L2CA_ConnectFixedChnl (L2CAP_ATT_CID, rem_bda); in gatt_connect() 163 if ((p_tcb->att_lcid = L2CA_ConnectReq(BT_PSM_ATT, rem_bda)) != 0) in gatt_connect()
|
D | gatt_int.h | 556 extern BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb, tBT_TRANSPORT transport); 586 extern void gatt_sr_get_sec_info(BD_ADDR rem_bda, tBT_TRANSPORT transport, UINT8 *p_sec_flag, UINT8…
|
D | gatt_utils.c | 1383 void gatt_sr_get_sec_info(BD_ADDR rem_bda, tBT_TRANSPORT transport, UINT8 *p_sec_flag, UINT8 *p_key… in gatt_sr_get_sec_info() argument 1387 BTM_GetSecurityFlagsByTransport(rem_bda, &sec_flag, transport); in gatt_sr_get_sec_info() 1391 *p_key_size = btm_ble_read_sec_key_size(rem_bda); in gatt_sr_get_sec_info()
|
/external/bluetooth/bluedroid/stack/smp/ |
D | smp_utils.c | 86 BOOLEAN smp_send_msg_to_L2CAP(BD_ADDR rem_bda, BT_HDR *p_toL2CAP) in smp_send_msg_to_L2CAP() argument 92 if ((l2cap_ret = L2CA_SendFixedChnlData (L2CAP_SMP_CID, rem_bda, p_toL2CAP)) == L2CAP_DW_FAILED) in smp_send_msg_to_L2CAP()
|
/external/bluetooth/bluedroid/stack/btm/ |
D | btm_acl.c | 1238 memcpy (lnkpol.rem_bda, p_acl_cb->remote_addr, BD_ADDR_LEN); in btm_read_link_policy_complete() 3079 memcpy (results.rem_bda, p_acl_cb->remote_addr, BD_ADDR_LEN); in btm_read_tx_power_complete() 3088 memcpy(results.rem_bda, btm_cb.devcb.read_tx_pwr_addr, BD_ADDR_LEN); in btm_read_tx_power_complete() 3143 memcpy (results.rem_bda, p_acl_cb->remote_addr, BD_ADDR_LEN); in btm_read_rssi_complete() 3197 memcpy (results.rem_bda, p_acl_cb->remote_addr, BD_ADDR_LEN); in btm_read_link_quality_complete()
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_sock_rfc.c | 608 … rfc_slot_t* accept_rs = create_srv_accept_rfc_slot(srv_rs, (const bt_bdaddr_t*)p_open->rem_bda, in on_srv_rfc_connect() 633 bd_copy(rs->addr.address, p_open->rem_bda, 0); in on_cli_rfc_connect()
|
D | btif_gatt_client.c | 1020 bdcpy(btif_cb.bd_addr.address, p_result->rem_bda); in btm_read_rssi_cb()
|
/external/bluetooth/bluedroid/bta/dm/ |
D | bta_dm_act.c | 3718 bdcpy(sec_event.sig_strength.bd_addr, p_result->rem_bda); in bta_dm_rssi_cback() 3745 bdcpy(sec_event.sig_strength.bd_addr, p_result->rem_bda); in bta_dm_link_quality_cback()
|