/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_link.c | 60 BOOLEAN l2c_link_hci_conn_req (BD_ADDR bd_addr) 68 p_lcb = l2cu_find_lcb_by_bd_addr (bd_addr, BT_TRANSPORT_BR_EDR); 73 p_lcb = l2cu_allocate_lcb (bd_addr, FALSE, BT_TRANSPORT_BR_EDR); 76 btsnd_hcic_reject_conn (bd_addr, HCI_ERR_HOST_REJECT_RESOURCES); 99 if (!btm_dev_support_switch (bd_addr)) 106 btsnd_hcic_accept_conn (bd_addr, p_lcb->link_role); 120 if (!btm_dev_support_switch (bd_addr)) 125 btsnd_hcic_accept_conn (bd_addr, p_lcb->link_role); 133 btsnd_hcic_reject_conn (bd_addr, HCI_ERR_HOST_REJECT_DEVICE) [all...] |
l2c_ble.c | 49 BOOLEAN L2CA_CancelBleConnectReq (BD_ADDR rem_bda) 98 BOOLEAN L2CA_UpdateBleConnParams (BD_ADDR rem_bda, UINT16 min_int, UINT16 max_int, 110 L2CAP_TRACE_WARNING ("L2CA_UpdateBleConnParams - unknown BD_ADDR %08x%04x", 118 L2CAP_TRACE_WARNING ("L2CA_UpdateBleConnParams - BD_ADDR %08x%04x not LE", 171 BOOLEAN L2CA_EnableUpdateBleConnParams (BD_ADDR rem_bda, BOOLEAN enable) 180 L2CAP_TRACE_WARNING ("L2CA_EnableUpdateBleConnParams - unknown BD_ADDR %08x%04x", 186 L2CAP_TRACE_API ("%s - BD_ADDR %08x%04x enable %d current upd state 0x%02x",__FUNCTION__, 192 L2CAP_TRACE_WARNING ("%s - BD_ADDR %08x%04x not LE or not master %d", __FUNCTION__, 218 UINT8 L2CA_GetBleConnRole (BD_ADDR bd_addr) [all...] |
/hardware/libhardware/include/hardware/ |
bt_hl.h | 81 typedef void (* bthl_channel_state_callback)(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int channel_id, bthl_channel_state_t state, int fd); 110 bt_status_t (*connect_channel)(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int *channel_id);
|
/external/bluetooth/bluedroid/bta/av/ |
bta_av_int.h | 163 UINT8 num_snk, UINT8 num_src, BD_ADDR addr, UINT16 uuid_local); 168 UINT8 *p_codec_info, UINT8 seid, BD_ADDR addr, 227 BD_ADDR bd_addr; member in struct:__anon5056 246 BD_ADDR bd_addr; member in struct:__anon5058 334 BD_ADDR bd_addr; /* bd address */ member in struct:__anon5068 354 BD_ADDR peer_addr; 362 BD_ADDR peer_addr [all...] |
bta_av_main.c | 165 app_id, BD_ADDR peer_addr); 166 static void bta_av_sys_rs_cback (tBTA_SYS_CONN_STATUS status,UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 291 static tBTA_AV_SCB * bta_av_addr_to_scb(BD_ADDR bd_addr) 300 if(!bdcmp(bd_addr, bta_av_cb.p_scb[xx]->peer_addr)) 398 void bta_av_conn_cback(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDT_CTRL *p_data) 414 p_scb = bta_av_addr_to_scb(bd_addr); 432 bdcpy(p_msg->bd_addr, bd_addr); [all...] |
bta_av_aact.c | 197 static void bta_av_stream0_cback(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDT_CTRL *p_data); 198 static void bta_av_stream1_cback(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDT_CTRL *p_data); 200 static void bta_av_stream2_cback(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDT_CTRL *p_data); 203 static void bta_av_stream3_cback(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDT_CTRL *p_data); 206 static void bta_av_stream4_cback(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDT_CTRL *p_data) [all...] |
/external/bluetooth/bluedroid/stack/rfcomm/ |
port_api.c | 60 ** bd_addr - BD_ADDR of the peer (client) 78 UINT16 mtu, BD_ADDR bd_addr, UINT16 *p_handle, 84 tRFC_MCB *p_mcb = port_find_mcb (bd_addr); 88 bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]) [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_config_util.cpp | 578 static int parse_bluez_hid_sdp_records(const char* adapter_path, const char* bd_addr) 583 upcase_addr(bd_addr, addr, sizeof(addr)); 616 //debug("addr:%s, hid_sdp:%s", bd_addr, hid_sdp); 657 btif_config_set("Remote", bd_addr, "HidDescriptor", rd, rep_desc_len, 679 btif_config_set("Remote", bd_addr, "HidDescriptor", rd, rep_desc_len, 727 //debug("addr:%s, did_sdp:%s", bd_addr, did_sdp); 736 btif_config_set_int("Remote", bd_addr, "HidAttrMask", attr_mask); 737 btif_config_set_int("Remote", bd_addr, "HidSubClass", dev_sub_class); 738 btif_config_set_int("Remote", bd_addr, "HidAppId", app_id); 739 btif_config_set_int("Remote", bd_addr, "HidVendorId", vendor) [all...] |
btif_storage.c | 172 extern void btif_gatts_add_bonded_dev_from_nv(BD_ADDR bda); 515 bt_bdaddr_t bd_addr; local 516 str2bd(kname, &bd_addr); 523 BTA_DmAddDevice(bd_addr.address, dev_class, link_key, 0, 0, (UINT8)linkkey_type, 0); 529 btif_gatts_add_bonded_dev_from_nv(bd_addr.address); 534 memcpy(&p_bonded_devices->devices[p_bonded_devices->num_devices++], &bd_addr, sizeof(bt_bdaddr_t)); 590 /* Special handling for adapter BD_ADDR and BONDED_DEVICES */ 593 BD_ADDR addr; 594 bt_bdaddr_t *bd_addr = (bt_bdaddr_t*)property->val; local 596 memcpy(bd_addr, &btif_local_bd_addr, sizeof(bt_bdaddr_t)) 1176 bt_bdaddr_t bd_addr; local 1421 bt_bdaddr_t bd_addr; local [all...] |
/external/bluetooth/bluedroid/stack/btu/ |
btu_hcif.c | 640 BD_ADDR bda; 666 memcpy (esco_data.bd_addr, bda, BD_ADDR_LEN); 684 BD_ADDR bda; 773 BD_ADDR bd_addr; local 776 STREAM_TO_BDADDR (bd_addr, p); 780 btm_process_remote_name (bd_addr, p, evt_len, status); 782 btm_sec_rmt_name_request_complete (bd_addr, p, status); 951 BD_ADDR bda; 965 memcpy (data.bd_addr, bda, BD_ADDR_LEN) 1278 BD_ADDR bd_addr; local [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_utils.c | 126 void gatt_delete_dev_from_srv_chg_clt_list(BD_ADDR bd_addr) 132 if ((p_buf = gatt_is_bda_in_the_srv_chg_clt_list(bd_addr)) != NULL) 137 memcpy(req.srv_chg.bda, bd_addr, BD_ADDR_LEN); 708 BOOLEAN gatt_find_the_connected_bda(UINT8 start_idx, BD_ADDR bda, UINT8 *p_found_idx, 782 tGATTS_SRV_CHG *gatt_is_bda_in_the_srv_chg_clt_list (BD_ADDR bda) 812 BOOLEAN gatt_is_bda_connected(BD_ADDR bda) 838 UINT8 gatt_find_i_tcb_by_addr(BD_ADDR bda, tBT_TRANSPORT transport) 882 tGATT_TCB * gatt_find_tcb_by_addr(BD_ADDR bda, tBT_TRANSPORT transport) 924 tGATT_TCB * gatt_allocate_tcb_by_bdaddr(BD_ADDR bda, tBT_TRANSPORT transport [all...] |
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_api.c | 183 void BTA_AgOpen(UINT16 handle, BD_ADDR bd_addr, tBTA_SEC sec_mask, tBTA_SERVICE_MASK services) 191 bdcpy(p_buf->bd_addr, bd_addr);
|
bta_ag_act.c | 102 bdcpy(open.bd_addr, p_data->api_open.bd_addr); 106 bdcpy(open.bd_addr, p_scb->peer_addr); 203 BD_ADDR pending_bd_addr; 208 bdcpy(p_scb->peer_addr, p_data->api_open.bd_addr); 445 bdcpy(close.bd_addr, p_scb->peer_addr); 458 /* Clear peer bd_addr so instance can be reused */ 557 BD_ADDR dev_addr; 827 bdcpy(evt.bd_addr, p_scb->peer_addr);
|
/external/bluetooth/bluedroid/bta/hf_client/ |
bta_hf_client_api.c | 172 BTA_API void BTA_HfClientOpen(UINT16 handle, BD_ADDR bd_addr, tBTA_SEC sec_mask) 180 bdcpy(p_buf->bd_addr, bd_addr);
|
bta_hf_client_int.h | 96 BD_ADDR bd_addr; member in struct:__anon5223 142 BD_ADDR peer_addr; /* peer bd address */ 209 UINT8 app_id, BD_ADDR peer_addr);
|
/external/bluetooth/bluedroid/test/suite/support/ |
pan.c | 70 void pan_connection_state_changed(btpan_connection_state_t state, bt_status_t error, const bt_bdaddr_t *bd_addr, int local_role, int remote_role) {
|
/external/libnfc-nci/src/include/ |
trace_api.h | 36 BT_API extern void DispAMPFrame (BT_HDR *p_buf, BOOLEAN is_recv, BD_ADDR bd_addr); 69 BT_API extern void RPC_DispAMPFrame (BT_HDR *p_buf, BOOLEAN is_recv, BD_ADDR bd_addr);
|
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_a2dp.cpp | 50 static void bta2dp_connection_state_callback(btav_connection_state_t state, bt_bdaddr_t* bd_addr) { 66 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr); 73 static void bta2dp_audio_state_callback(btav_audio_state_t state, bt_bdaddr_t* bd_addr) { 89 sCallbackEnv->SetByteArrayRegion(addr, 0, sizeof(bt_bdaddr_t), (jbyte*) bd_addr);
|
/external/bluetooth/bluedroid/bta/hl/ |
bta_hl_api.c | 278 bdcpy(p_buf->bd_addr, p_open_param->bd_addr); 506 ** bd_addr - BD address 512 BD_ADDR bd_addr) 521 bdcpy(p_buf->bd_addr, bd_addr);
|
/external/bluetooth/bluedroid/stack/avct/ |
avct_l2c.c | 39 void avct_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id); 104 void avct_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) 112 if ((p_lcb = avct_lcb_by_bd(bd_addr)) == NULL) 115 if ((p_lcb = avct_lcb_alloc(bd_addr)) == NULL) 143 L2CA_ConnectRsp(bd_addr, id, lcid, result, 0);
|
/external/bluetooth/bluedroid/stack/srvc/ |
srvc_eng.c | 35 static void srvc_eng_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, 69 UINT16 srvc_eng_find_conn_id_by_bd_addr(BD_ADDR bda) 94 tSRVC_CLCB *srvc_eng_find_clcb_by_bd_addr(BD_ADDR bda) 166 tSRVC_CLCB *srvc_eng_clcb_alloc (UINT16 conn_id, BD_ADDR bda) 353 static void srvc_eng_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, 386 BOOLEAN srvc_eng_request_channel (BD_ADDR remote_bda, UINT8 srvc_id ) 470 void srvc_sr_notify(BD_ADDR remote_bda, UINT16 handle, UINT16 len, UINT8 *p_value)
|
/external/bluetooth/bluedroid/bta/include/ |
bta_ag_api.h | 276 BD_ADDR bd_addr; member in struct:__anon5288 285 BD_ADDR bd_addr; member in struct:__anon5289 293 BD_ADDR bd_addr; member in struct:__anon5290 301 BD_ADDR bd_addr; member in struct:__anon5291 452 BTA_API void BTA_AgOpen(UINT16 handle, BD_ADDR bd_addr, tBTA_SEC sec_mask, tBTA_SERVICE_MASK services) [all...] |
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gattc_utils.c | 45 static const BD_ADDR dummy_bda = {0,0,0,0,0,0}; 166 tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_cif (UINT8 client_if, BD_ADDR remote_bda, 214 tBTA_GATTC_CLCB * bta_gattc_clcb_alloc(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, 263 tBTA_GATTC_CLCB *bta_gattc_find_alloc_clcb(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, 324 tBTA_GATTC_SERV * bta_gattc_find_srcb(BD_ADDR bda) 346 tBTA_GATTC_SERV * bta_gattc_find_srvr_cache(BD_ADDR bda) 385 tBTA_GATTC_SERV * bta_gattc_srcb_alloc(BD_ADDR bda) 587 ** Description clear up the notification registration information by BD_ADDR. 594 BD_ADDR remote_bda; 748 BOOLEAN bta_gattc_check_bg_conn (tBTA_GATTC_IF client_if, BD_ADDR remote_bda, UINT8 role [all...] |
/external/bluetooth/bluedroid/stack/hid/ |
hidh_conn.c | 52 static void hidh_l2cif_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, 166 void hidh_sec_check_complete_term (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, UINT8 res) 169 UNUSED(bd_addr); 205 static void hidh_l2cif_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id) 215 if (HID_HostAddDev(bd_addr, HID_SEC_REQUIRED, &i) != HID_SUCCESS) 217 L2CA_ConnectRsp (bd_addr, l2cap_id, l2cap_cid, L2CAP_CONN_SECURITY_BLOCK, 0); 256 L2CA_ConnectRsp (bd_addr, l2cap_id, l2cap_cid, L2CAP_CONN_NO_RESOURCES, 0) [all...] |
/external/bluetooth/bluedroid/stack/btm/ |
btm_sco.c | 141 static void btm_esco_conn_rsp (UINT16 sco_inx, UINT8 hci_status, BD_ADDR bda, 520 btm_esco_conn_rsp(sco_inx, HCI_SUCCESS, p_sco->esco.data.bd_addr, p_setup); 538 btm_cb.sco_cb.sco_db[sco_inx].esco.data.bd_addr, NULL); 561 tBTM_STATUS BTM_CreateSco (BD_ADDR remote_bda, BOOLEAN is_orig, UINT16 pkt_types, 596 && (!memcmp (p->esco.data.bd_addr, remote_bda, BD_ADDR_LEN))) 641 memcpy (p->esco.data.bd_addr, remote_bda, BD_ADDR_LEN); 743 ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)) 777 ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)) 799 void btm_sco_conn_req (BD_ADDR bda, DEV_CLASS dev_class, UINT8 link_type) 814 && (!memcmp (p->esco.data.bd_addr, bda, BD_ADDR_LEN)) [all...] |