/external/bluetooth/bluedroid/stack/btm/ |
btm_ble_bgconn.c | 74 BOOLEAN btm_update_dev_to_white_list(BOOLEAN to_add, BD_ADDR bd_addr, tBLE_ADDR_TYPE addr_type) 79 BD_ADDR dummy_bda = {0}; 88 if ((p_dev_rec = btm_find_dev (bd_addr)) != NULL && 104 started = btsnd_hcic_ble_add_white_list (BLE_ADDR_PUBLIC, bd_addr); 106 started = btsnd_hcic_ble_remove_from_white_list (BLE_ADDR_PUBLIC, bd_addr); 110 if (BLE_ADDR_IS_STATIC(bd_addr)) 113 started = btsnd_hcic_ble_add_white_list (BLE_ADDR_RANDOM, bd_addr); 115 started = btsnd_hcic_ble_remove_from_white_list (BLE_ADDR_RANDOM, bd_addr); 131 started = btsnd_hcic_ble_add_white_list (addr_type, bd_addr); [all...] |
btm_ble.c | 37 extern void smp_link_encrypted(BD_ADDR bda, UINT8 encr_enable); 38 extern BOOLEAN smp_proc_ltk_request(BD_ADDR bda); 54 ** Parameters: bd_addr - BD address of the peer 62 BOOLEAN BTM_SecAddBleDevice (BD_ADDR bd_addr, BD_NAME bd_name, tBT_DEVICE_TYPE dev_type, 71 p_dev_rec = btm_find_dev (bd_addr); 89 memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN); 90 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr); 125 p_info = BTM_InqDbRead(bd_addr); [all...] |
btm_acl.c | 84 tACL_CONN *btm_bda_to_acl (BD_ADDR bda) 142 void btm_acl_created (BD_ADDR bda, DEV_CLASS dc, BD_NAME bdn, 278 void btm_acl_report_role_change (UINT8 hci_status, BD_ADDR bda) 304 void btm_acl_removed (BD_ADDR bda) 520 tBTM_STATUS BTM_GetRole (BD_ADDR remote_bd_addr, UINT8 *p_role) 553 tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, UINT8 new_role, tBTM_CMPL_CB *p_cb) 704 tBTM_STATUS BTM_ChangeLinkKey (BD_ADDR remote_bd_addr, tBTM_CMPL_CB *p_cb) [all...] |
/external/bluetooth/bluedroid/stack/include/ |
avct_api.h | 103 BD_ADDR peer_addr); 176 BD_ADDR peer_addr);
|
gatt_api.h | 561 typedef void (tGATT_CONN_CBACK) (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason); 607 BD_ADDR bda; [all...] |
/external/bluetooth/bluedroid/btif/include/ |
btif_hl.h | 162 BD_ADDR bd_addr; member in struct:__anon2420 224 BD_ADDR bd_addr; member in struct:__anon2425 236 BD_ADDR bd_addr; member in struct:__anon2426 254 BD_ADDR bd_addr; member in struct:__anon2427 307 BD_ADDR bd_addr; member in struct:__anon2431 [all...] |
/external/bluetooth/bluedroid/stack/mcap/ |
mca_int.h | 210 BD_ADDR peer_addr; /* BD address of peer */ 265 extern tMCA_CCB *mca_ccb_by_bd(tMCA_HANDLE handle, BD_ADDR bd_addr); 266 extern tMCA_CCB *mca_ccb_alloc(tMCA_HANDLE handle, BD_ADDR bd_addr); 325 extern void mca_l2c_cconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id); 326 extern void mca_l2c_dconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id); 327 extern UINT16 mca_l2c_open_req(BD_ADDR bd_addr, UINT16 PSM, const tMCA_CHNL_CFG *p_chnl_cfg) [all...] |
mca_l2c.c | 34 void mca_l2c_cconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id); 35 void mca_l2c_dconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id); 79 static void mca_sec_check_complete_term (BD_ADDR bd_addr, void *p_ref_data, UINT8 res) 98 L2CA_ErtmConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK, &ertm_info); 109 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_SECURITY_BLOCK, L2CAP_CONN_OK); 124 static void mca_sec_check_complete_orig (BD_ADDR bd_addr, void *p_ref_data, UINT8 res [all...] |
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_api.c | 429 void BTA_DmDiscover(BD_ADDR bd_addr, tBTA_SERVICE_MASK services, 439 bdcpy(p_msg->bd_addr, bd_addr); 459 void BTA_DmDiscoverUUID(BD_ADDR bd_addr, tSDP_UUID *uuid, 467 bdcpy(p_msg->bd_addr, bd_addr); 492 BOOLEAN BTA_DmIsMaster(BD_ADDR bd_addr) [all...] |
bta_dm_pm.c | 36 static void bta_dm_pm_cback(tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 app_id, BD_ADDR peer_addr); 37 static void bta_dm_pm_set_mode(BD_ADDR peer_addr, BOOLEAN timed_out ); 39 static void bta_dm_pm_btm_cback(BD_ADDR bd_addr, tBTM_PM_STATUS status, UINT16 value, UINT8 hci_status); 40 static BOOLEAN bta_dm_pm_park(BD_ADDR peer_addr); 46 static void bta_dm_pm_ssr(BD_ADDR peer_addr); 123 static void bta_dm_pm_stop_timer(BD_ADDR peer_addr) 151 static void bta_dm_pm_cback(tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 app_id, BD_ADDR peer_addr) 314 static void bta_dm_pm_set_mode(BD_ADDR peer_addr, BOOLEAN timed_out ) 487 static BOOLEAN bta_dm_pm_park(BD_ADDR peer_addr [all...] |
/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_int.h | 392 BD_ADDR remote_bd_addr; /* The BD address of the remote */ 507 BD_ADDR ble_connecting_bda; 529 BD_ADDR bd_addr; /* Remote BD address */ member in struct:__anon2952 581 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); 589 extern BOOLEAN l2cu_set_acl_priority (BD_ADDR bd_addr, UINT8 priority, BOOLEAN reset_after_rs); [all...] |
l2c_ble.c | 46 BOOLEAN L2CA_CancelBleConnectReq (BD_ADDR rem_bda) 98 BOOLEAN L2CA_UpdateBleConnParams (BD_ADDR rem_bda, UINT16 min_int, UINT16 max_int, UINT16 latency, UINT16 timeout) 108 L2CAP_TRACE_WARNING2 ("L2CA_UpdateBleConnParams - unknown BD_ADDR %08x%04x", 115 L2CAP_TRACE_WARNING2 ("L2CA_UpdateBleConnParams - BD_ADDR %08x%04x not LE", 140 BOOLEAN L2CA_EnableUpdateBleConnParams (BD_ADDR rem_bda, BOOLEAN enable) 150 L2CAP_TRACE_WARNING2 ("L2CA_EnableUpdateBleConnParams - unknown BD_ADDR %08x%04x", 155 L2CAP_TRACE_API4 ("L2CA_EnableUpdateBleConnParams - BD_ADDR %08x%04x enable %d current upd state %d", 160 L2CAP_TRACE_WARNING3 ("L2CA_EnableUpdateBleConnParams - BD_ADDR %08x%04x not LE or not master %d", 210 UINT8 L2CA_GetBleConnRole (BD_ADDR bd_addr) [all...] |
l2c_api.c | 212 UINT16 L2CA_ConnectReq (UINT16 psm, BD_ADDR p_bd_addr) 229 UINT16 L2CA_ErtmConnectReq (UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_ERTM_INFO *p_ertm_info) 333 BOOLEAN L2CA_ConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid, UINT16 result, UINT16 status) 350 BOOLEAN L2CA_ErtmConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid, UINT16 result, 585 BOOLEAN L2CA_Ping (BD_ADDR p_bd_addr, tL2CA_ECHO_RSP_CB *p_callback) 652 BOOLEAN L2CA_Echo (BD_ADDR p_bd_addr, BT_HDR *p_data, tL2CA_ECHO_DATA_CB *p_callback) 755 ** A bd_addr is the remote BD address. If bd_addr = BT_BD_ANY, 764 BOOLEAN L2CA_SetIdleTimeoutByBdAddr(BD_ADDR bd_addr, UINT16 timeout [all...] |
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gattc_utils.c | 163 tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_cif (UINT8 client_if, BD_ADDR remote_bda) 210 tBTA_GATTC_CLCB * bta_gattc_clcb_alloc(tBTA_GATTC_IF client_if, BD_ADDR remote_bda) 256 tBTA_GATTC_CLCB *bta_gattc_find_alloc_clcb(tBTA_GATTC_IF client_if, BD_ADDR remote_bda) 307 tBTA_GATTC_SERV * bta_gattc_find_srcb(BD_ADDR bda) 346 tBTA_GATTC_SERV * bta_gattc_srcb_alloc(BD_ADDR bda) 478 ** Description clear up the notification registration information by BD_ADDR. 485 BD_ADDR remote_bda; 565 BOOLEAN bta_gattc_mark_bg_conn (tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN add) 615 BOOLEAN bta_gattc_check_bg_conn (tBTA_GATTC_IF client_if, BD_ADDR remote_bda) 643 BD_ADDR remote_bda, UINT16 conn_id [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_hh.c | 151 extern bt_status_t btif_dm_remove_bond(const bt_bdaddr_t *bd_addr); 156 extern void btif_dm_cb_remove_bond(bt_bdaddr_t *bd_addr); 254 BD_ADDR* bda; 275 bda = (BD_ADDR*) (&p_dev->bd_addr); 370 static btif_hh_device_t *btif_hh_find_dev_by_bda(bt_bdaddr_t *bd_addr) 375 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0) 391 static btif_hh_device_t *btif_hh_find_connected_dev_by_bda(bt_bdaddr_t *bd_addr) 396 memcmp(&(btif_hh_cb.devices[i].bd_addr), bd_addr, BD_ADDR_LEN) == 0 1006 bt_bdaddr_t *bd_addr = (bt_bdaddr_t*)p_param; local [all...] |
btif_pan.c | 85 BD_ADDR local_addr; 89 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role); 90 static bt_status_t btpan_disconnect(const bt_bdaddr_t *bd_addr); 233 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role) 238 btpan_new_conn(-1, bd_addr->address, bta_local_role, bta_remote_role); 239 BTA_PanOpen((UINT8*)bd_addr->address, bta_local_role, bta_remote_role); 248 bt_bdaddr_t *bd_addr = (bt_bdaddr_t*)p_param; local 249 btpan_conn_t* conn = btpan_find_conn_addr(bd_addr->address); 267 static bt_status_t btpan_disconnect(const bt_bdaddr_t *bd_addr) 270 btpan_conn_t* conn = btpan_find_conn_addr(bd_addr->address) [all...] |
/external/bluetooth/bluedroid/bta/av/ |
bta_av_int.h | 161 UINT8 num_snk, BD_ADDR addr); 167 UINT8 *p_codec_info, UINT8 seid, BD_ADDR addr, 224 BD_ADDR bd_addr; member in struct:__anon1937 242 BD_ADDR bd_addr; member in struct:__anon1939 329 BD_ADDR bd_addr; /* bd address */ member in struct:__anon1949 349 BD_ADDR peer_addr; 357 BD_ADDR peer_addr [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_main.c | 42 static void gatt_le_connect_cback (BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason); 43 static void gatt_le_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf); 45 static void gatt_l2cif_connect_ind_cback (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id); 140 BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb) 176 BOOLEAN gatt_disconnect (BD_ADDR rem_bda) 314 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr) [all...] |
/external/bluetooth/bluedroid/bta/include/ |
bta_hl_api.h | 277 BD_ADDR peer_bd_addr; 312 BD_ADDR bd_addr; /* Address of peer device */ member in struct:__anon2260 473 BD_ADDR bd_addr; /* address of peer device */ member in struct:__anon2278 481 BD_ADDR bd_addr; /* address of peer device */ member in struct:__anon2279 583 BD_ADDR bd_addr; member in struct:__anon2290 836 ** bd_addr - BD addres [all...] |
bta_av_api.h | 280 BD_ADDR bd_addr; member in struct:__anon2164 344 BD_ADDR peer_addr; 352 BD_ADDR peer_addr; 412 BD_ADDR bd_addr; member in struct:__anon2178 418 BD_ADDR bd_addr; member in struct:__anon2179 572 BTA_API void BTA_AvOpen(BD_ADDR bd_addr, tBTA_AV_HNDL handle [all...] |
/external/bluetooth/bluedroid/include/ |
bte_appl.h | 77 BD_ADDR local_addr; /* local bd addr */ 78 BD_ADDR rem_addr;
|
/external/bluetooth/bluedroid/stack/avct/ |
avct_ccb.c | 78 void avct_ccb_dealloc(tAVCT_CCB *p_ccb, UINT8 event, UINT16 result, BD_ADDR bd_addr) 98 (*p_cback)(avct_ccb_to_idx(p_ccb), event, result, bd_addr); local
|
avct_int.h | 83 BD_ADDR peer_addr; /* BD address of peer */ 154 extern tAVCT_LCB *avct_lcb_by_bd(BD_ADDR bd_addr); 155 extern tAVCT_LCB *avct_lcb_alloc(BD_ADDR bd_addr); 206 extern void avct_ccb_dealloc(tAVCT_CCB *p_ccb, UINT8 event, UINT16 result, BD_ADDR bd_addr);
|
/external/bluetooth/bluedroid/stack/hid/ |
hidh_int.h | 40 BD_ADDR addr; /* BD-Addr of the host device */
|
/external/bluetooth/bluedroid/stack/rfcomm/ |
rfc_l2cap_if.c | 39 static void RFCOMM_ConnectInd (BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id); 44 static void RFCOMM_QoSViolationInd (BD_ADDR bd_addr); 87 void RFCOMM_ConnectInd (BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) 89 tRFC_MCB *p_mcb = rfc_alloc_multiplexer_channel(bd_addr, FALSE); 123 L2CA_ConnectRsp (bd_addr, id, lcid, L2CAP_CONN_NO_RESOURCES, 0); 191 L2CA_ConnectRsp (p_mcb->bd_addr, p_mcb->pending_id, p_mcb->pending_lcid, L2CAP_CONN_NO_RESOURCES, 0); 258 void RFCOMM_QoSViolationInd (BD_ADDR bd_addr [all...] |