/system/bt/btif/src/ |
D | btif_hh.c | 288 BD_ADDR* bda; in update_keyboard_lockstates() local 301 bda = (BD_ADDR*) (&p_dev->bd_addr); in update_keyboard_lockstates() 302 BTA_HhSendData(p_dev->dev_handle, *bda, p_buf); in update_keyboard_lockstates() 466 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bda, tBTA_HH_ATTR_MASK attr_mask) in btif_hh_add_added_dev() argument 470 if (memcmp(&(btif_hh_cb.added_devices[i].bd_addr), &bda, BD_ADDR_LEN) == 0) { in btif_hh_add_added_dev() 472 … bda.address[0], bda.address[1], bda.address[2], bda.address[3], bda.address[4], bda.address[5]); in btif_hh_add_added_dev() 485 … bda.address[0], bda.address[1], bda.address[2], bda.address[3], bda.address[4], bda.address[5]); in btif_hh_add_added_dev() 486 memcpy(&(btif_hh_cb.added_devices[i].bd_addr), &bda, BD_ADDR_LEN); in btif_hh_add_added_dev() 633 BD_ADDR *bda = (BD_ADDR*)bd_addr; in btif_hh_connect() local 638 (*bda)[0], (*bda)[1], (*bda)[2], (*bda)[3], (*bda)[4], (*bda)[5]); in btif_hh_connect() [all …]
|
D | btif_debug_conn.c | 33 bt_bdaddr_t bda; member 67 void btif_debug_conn_state(const bt_bdaddr_t bda, const btif_debug_conn_state_t state, in btif_debug_conn_state() argument 75 memcpy(&evt->bda, &bda, sizeof(bt_bdaddr_t)); in btif_debug_conn_state() 93 bdaddr_to_string(&evt->bda, name_buffer, sizeof(name_buffer)) in btif_debug_conn_dump()
|
D | btif_profile_queue.c | 50 bt_bdaddr_t bda; member 120 bt_status_t btif_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda, btif_connect_cb_t connect_cb)… in btif_queue_connect() argument 123 memcpy(&node.bda, bda, sizeof(bt_bdaddr_t)); in btif_queue_connect() 160 return p_head->connect_cb(&p_head->bda, p_head->uuid); in btif_queue_connect_next()
|
D | btif_gatt_server.c | 194 bt_bdaddr_t bda; in btapp_gatts_handle_cback() local 195 bdcpy(bda.address, p_data->conn.remote_bda); in btapp_gatts_handle_cback() 200 p_data->conn.conn_id, p_data->conn.server_if, TRUE, &bda); in btapp_gatts_handle_cback() 206 bt_bdaddr_t bda; in btapp_gatts_handle_cback() local 207 bdcpy(bda.address, p_data->conn.remote_bda); in btapp_gatts_handle_cback() 210 p_data->conn.conn_id, p_data->conn.server_if, FALSE, &bda); in btapp_gatts_handle_cback() 287 bt_bdaddr_t bda; in btapp_gatts_handle_cback() local 288 bdcpy(bda.address, p_data->req_data.remote_bda); in btapp_gatts_handle_cback() 291 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, in btapp_gatts_handle_cback() 300 bt_bdaddr_t bda; in btapp_gatts_handle_cback() local [all …]
|
/system/bt/btif/co/ |
D | bta_gattc_co.c | 35 static void getFilename(char *buffer, BD_ADDR bda) in getFilename() argument 38 , bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); in getFilename() 50 static bool cacheOpen(BD_ADDR bda, bool to_save) in cacheOpen() argument 53 getFilename(fname, bda); in cacheOpen() 61 static void cacheReset(BD_ADDR bda) in cacheReset() argument 64 getFilename(fname, bda); in cacheReset()
|
D | bta_gatts_co.c | 68 void btif_gatts_add_bonded_dev_from_nv(BD_ADDR bda) in btif_gatts_add_bonded_dev_from_nv() argument 78 if (!memcmp(p_cb->srv_chg[i].bda, bda, sizeof(BD_ADDR))) in btif_gatts_add_bonded_dev_from_nv() 89 bdcpy(p_cb->srv_chg[p_cb->num_clients].bda, bda); in btif_gatts_add_bonded_dev_from_nv()
|
/system/bt/stack/srvc/ |
D | srvc_eng.c | 35 static void srvc_eng_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connecte… 69 UINT16 srvc_eng_find_conn_id_by_bd_addr(BD_ADDR bda) in srvc_eng_find_conn_id_by_bd_addr() argument 76 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) in srvc_eng_find_conn_id_by_bd_addr() 94 tSRVC_CLCB *srvc_eng_find_clcb_by_bd_addr(BD_ADDR bda) in srvc_eng_find_clcb_by_bd_addr() argument 101 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) in srvc_eng_find_clcb_by_bd_addr() 166 tSRVC_CLCB *srvc_eng_clcb_alloc (UINT16 conn_id, BD_ADDR bda) in srvc_eng_clcb_alloc() argument 178 memcpy (p_clcb->bda, bda, BD_ADDR_LEN); in srvc_eng_clcb_alloc() 353 static void srvc_eng_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, in srvc_eng_connect_cback() argument 360 (bda[0]<<24)+(bda[1]<<16)+(bda[2]<<8)+bda[3], in srvc_eng_connect_cback() 361 (bda[4]<<8)+bda[5], connected, conn_id, reason); in srvc_eng_connect_cback() [all …]
|
D | srvc_eng_int.h | 41 BD_ADDR bda; member 75 extern tSRVC_CLCB *srvc_eng_find_clcb_by_bd_addr(BD_ADDR bda); 76 extern UINT16 srvc_eng_find_conn_id_by_bd_addr(BD_ADDR bda);
|
/system/bt/stack/gatt/ |
D | gatt_attr.c | 44 static void gatt_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, 113 static tGATT_PROFILE_CLCB *gatt_profile_find_clcb_by_bd_addr(BD_ADDR bda, tBT_TRANSPORT transport) in gatt_profile_find_clcb_by_bd_addr() argument 121 p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) in gatt_profile_find_clcb_by_bd_addr() 137 tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda, tBT_TRANSPORT tranport) in gatt_profile_clcb_alloc() argument 150 memcpy (p_clcb->bda, bda, BD_ADDR_LEN); in gatt_profile_clcb_alloc() 232 static void gatt_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, in gatt_connect_cback() argument 239 (bda[0]<<24)+(bda[1]<<16)+(bda[2]<<8)+bda[3], in gatt_connect_cback() 240 (bda[4]<<8)+bda[5], connected, conn_id, reason); in gatt_connect_cback() 242 tGATT_PROFILE_CLCB *p_clcb = gatt_profile_find_clcb_by_bd_addr(bda, transport); in gatt_connect_cback()
|
D | gatt_utils.c | 137 memcpy(req.srv_chg.bda, bd_addr, BD_ADDR_LEN); in gatt_delete_dev_from_srv_chg_clt_list() 708 BOOLEAN gatt_find_the_connected_bda(UINT8 start_idx, BD_ADDR bda, UINT8 *p_found_idx, in gatt_find_the_connected_bda() argument 719 memcpy( bda, gatt_cb.tcb[i].peer_bda, BD_ADDR_LEN); in gatt_find_the_connected_bda() 724 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); in gatt_find_the_connected_bda() 782 tGATTS_SRV_CHG *gatt_is_bda_in_the_srv_chg_clt_list (BD_ADDR bda) in gatt_is_bda_in_the_srv_chg_clt_list() argument 787 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); in gatt_is_bda_in_the_srv_chg_clt_list() 791 if (!memcmp( bda, p_buf->bda, BD_ADDR_LEN)) in gatt_is_bda_in_the_srv_chg_clt_list() 812 BOOLEAN gatt_is_bda_connected(BD_ADDR bda) in gatt_is_bda_connected() argument 820 !memcmp(gatt_cb.tcb[i].peer_bda, bda, BD_ADDR_LEN)) in gatt_is_bda_connected() 838 UINT8 gatt_find_i_tcb_by_addr(BD_ADDR bda, tBT_TRANSPORT transport) in gatt_find_i_tcb_by_addr() argument [all …]
|
D | gatt_int.h | 474 BD_ADDR bda; member 566 extern void gatt_add_a_bonded_dev_for_srv_chg (BD_ADDR bda); 569 extern UINT16 gatt_profile_find_conn_id_by_bd_addr(BD_ADDR bda); 598 extern tGATTS_SRV_CHG *gatt_is_bda_in_the_srv_chg_clt_list (BD_ADDR bda); 600 extern BOOLEAN gatt_find_the_connected_bda(UINT8 start_idx, BD_ADDR bda, UINT8 *p_found_idx, tBT_TR… 642 extern BOOLEAN gatt_cancel_open(tGATT_IF gatt_if, BD_ADDR bda); 661 extern UINT8 gatt_num_clcb_by_bd_addr(BD_ADDR bda); 663 extern tGATT_TCB * gatt_allocate_tcb_by_bdaddr(BD_ADDR bda, tBT_TRANSPORT transport); 665 extern tGATT_TCB * gatt_find_tcb_by_addr(BD_ADDR bda, tBT_TRANSPORT transport); 672 extern void gatt_cleanup_upon_disc(BD_ADDR bda, UINT16 reason, tBT_TRANSPORT transport);
|
/system/bt/test/suite/support/ |
D | gatt.c | 79 void btgattc_scan_result_cb(bt_bdaddr_t* bda, int rssi, uint8_t* adv_data) { in btgattc_scan_result_cb() argument 83 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) { in btgattc_open_cb() argument 87 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) { in btgattc_close_cb() argument 139 void btgattc_remote_rssi_cb(int client_if,bt_bdaddr_t* bda, int rssi, int status) { in btgattc_remote_rssi_cb() argument 156 void btgatts_connection_cb(int conn_id, int server_if, int connected, bt_bdaddr_t *bda) { in btgatts_connection_cb() argument 159 remote_bd_addr.address[i] = bda->address[i]; in btgatts_connection_cb() 216 void btgatts_request_read_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, int attr_handle, int offs… in btgatts_request_read_cb() argument 220 void btgatts_request_write_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, int attr_handle, int off… in btgatts_request_write_cb() argument 224 void btgatts_request_exec_write_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, int exec_write) { in btgatts_request_exec_write_cb() argument
|
D | callbacks.c | 40 void btgattc_scan_result_cb(bt_bdaddr_t* bda, int rssi, uint8_t* adv_data); 41 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda); 42 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda); 55 void btgattc_remote_rssi_cb(int client_if,bt_bdaddr_t* bda, int rssi, int status); 60 void btgatts_connection_cb(int conn_id, int server_if, int connected, bt_bdaddr_t *bda); 68 void btgatts_request_read_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, int attr_handle, int offs… 69 void btgatts_request_write_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, int attr_handle, int off… 70 void btgatts_request_exec_write_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, int exec_write);
|
/system/bt/bta/gatt/ |
D | bta_gattc_api.c | 896 BD_ADDR bda, in BTA_GATTC_RegisterForNotifications() argument 914 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && in BTA_GATTC_RegisterForNotifications() 931 memcpy(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN); in BTA_GATTC_RegisterForNotifications() 970 BD_ADDR bda, in BTA_GATTC_DeregisterForNotifications() argument 988 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && in BTA_GATTC_DeregisterForNotifications() 992 __func__, bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); in BTA_GATTC_DeregisterForNotifications() 1002 __func__, bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); in BTA_GATTC_DeregisterForNotifications() 1008 __func__, client_if, bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); in BTA_GATTC_DeregisterForNotifications()
|
D | bta_gattc_act.c | 51 static void bta_gattc_conn_cback(tGATT_IF gattc_if, BD_ADDR bda, UINT16 conn_id, 62 static void bta_gattc_enc_cmpl_cback(tGATT_IF gattc_if, BD_ADDR bda); 488 p_clcb->bda, in bta_gattc_open_error() 508 p_clcb->bda, in bta_gattc_open_fail() 573 uint8_t *bda = (uint8_t *)p_data->remote_bda; in bta_gattc_init_bk_conn() local 576 __func__, bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); in bta_gattc_init_bk_conn() 712 &gatt_if, p_clcb->bda, &p_clcb->transport); in bta_gattc_conn() 748 bta_sys_conn_open(BTA_ID_GATTC, BTA_ALL_APP_ID, p_clcb->bda); in bta_gattc_conn() 752 p_clcb->bda, in bta_gattc_conn() 776 bdcpy(cb_data.close.remote_bda, p_clcb->bda); in bta_gattc_close_fail() [all …]
|
D | bta_gatts_act.c | 44 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, 914 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, in bta_gatts_conn_cback() argument 925 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); in bta_gatts_conn_cback() 928 bdcpy(bdaddr.address, bda); in bta_gatts_conn_cback() 942 bta_sys_conn_open(BTA_ID_GATTS, BTA_ALL_APP_ID, bda); in bta_gatts_conn_cback() 944 bta_sys_conn_close( BTA_ID_GATTS ,BTA_ALL_APP_ID, bda); in bta_gatts_conn_cback() 951 memcpy(cb_data.conn.remote_bda, bda, BD_ADDR_LEN); in bta_gatts_conn_cback()
|
/system/bt/stack/btu/ |
D | btu_hcif.c | 500 BD_ADDR bda; in btu_hcif_connection_comp_evt() local 509 STREAM_TO_BDADDR (bda, p); in btu_hcif_connection_comp_evt() 517 btm_sec_connected (bda, handle, status, enc_mode); in btu_hcif_connection_comp_evt() 519 l2c_link_hci_conn_comp (status, handle, bda); in btu_hcif_connection_comp_evt() 526 memcpy (esco_data.bd_addr, bda, BD_ADDR_LEN); in btu_hcif_connection_comp_evt() 527 btm_sco_connected (status, bda, handle, &esco_data); in btu_hcif_connection_comp_evt() 544 BD_ADDR bda; in btu_hcif_connection_request_evt() local 548 STREAM_TO_BDADDR (bda, p); in btu_hcif_connection_request_evt() 556 btm_sec_conn_req (bda, dc); in btu_hcif_connection_request_evt() 561 btm_sco_conn_req (bda, dc, link_type); in btu_hcif_connection_request_evt() [all …]
|
/system/bt/stack/btm/ |
D | btm_acl.c | 94 tACL_CONN *btm_bda_to_acl (BD_ADDR bda, tBT_TRANSPORT transport) in btm_bda_to_acl() argument 98 if (bda) in btm_bda_to_acl() 102 if ((p->in_use) && (!memcmp (p->remote_addr, bda, BD_ADDR_LEN)) in btm_bda_to_acl() 209 void btm_acl_created (BD_ADDR bda, DEV_CLASS dc, BD_NAME bdn, in btm_acl_created() argument 219 p = btm_bda_to_acl(bda, transport); in btm_acl_created() 228 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); in btm_acl_created() 242 memcpy (p->remote_addr, bda, BD_ADDR_LEN); in btm_acl_created() 248 btm_ble_refresh_local_resolvable_private_addr(bda, in btm_acl_created() 350 void btm_acl_report_role_change (UINT8 hci_status, BD_ADDR bda) in btm_acl_report_role_change() argument 355 … && (bda && (0 == memcmp(btm_cb.devcb.switch_role_ref_data.remote_bd_addr, bda, BD_ADDR_LEN)))) in btm_acl_report_role_change() [all …]
|
D | btm_ble.c | 48 extern void smp_link_encrypted(BD_ADDR bda, UINT8 encr_enable); 49 extern BOOLEAN smp_proc_ltk_request(BD_ADDR bda); 1380 tBTM_STATUS btm_ble_start_encrypt(BD_ADDR bda, BOOLEAN use_stk, BT_OCTET16 stk) in btm_ble_start_encrypt() argument 1383 tBTM_SEC_DEV_REC *p_rec = btm_find_dev (bda); in btm_ble_start_encrypt() 1536 void btm_ble_ltk_request_reply(BD_ADDR bda, BOOLEAN use_stk, BT_OCTET16 stk) in btm_ble_ltk_request_reply() argument 1538 tBTM_SEC_DEV_REC *p_rec = btm_find_dev (bda); in btm_ble_ltk_request_reply() 1693 BD_ADDR bda; in btm_ble_resolve_random_addr_on_conn_cmpl() local 1701 STREAM_TO_BDADDR (bda, p); in btm_ble_resolve_random_addr_on_conn_cmpl() 1715 memcpy(match_rec->ble.cur_rand_addr, bda, BD_ADDR_LEN); in btm_ble_resolve_random_addr_on_conn_cmpl() 1716 if (!btm_ble_init_pseudo_addr (match_rec, bda)) in btm_ble_resolve_random_addr_on_conn_cmpl() [all …]
|
D | btm_int.h | 47 #define BTM_ACL_IS_CONNECTED(bda) (btm_bda_to_acl (bda, BT_TRANSPORT_BR_EDR) != NULL) argument 914 extern void btm_process_remote_name (BD_ADDR bda, BD_NAME name, UINT16 evt_len, 936 extern void btm_acl_created (BD_ADDR bda, DEV_CLASS dc, BD_NAME bdn, 938 extern void btm_acl_removed (BD_ADDR bda, tBT_TRANSPORT transport); 968 extern tACL_CONN *btm_bda_to_acl (BD_ADDR bda, tBT_TRANSPORT transport); 969 extern BOOLEAN btm_acl_notif_conn_collision (BD_ADDR bda); 989 extern void btm_sco_connected (UINT8 hci_status, BD_ADDR bda, UINT16 hci_handle, 994 extern void btm_sco_conn_req (BD_ADDR bda, DEV_CLASS dev_class, UINT8 link_type); 996 extern void btm_sco_acl_removed (BD_ADDR bda); 999 extern void btm_remove_sco_links (BD_ADDR bda); [all …]
|
D | btm_sco.c | 141 static void btm_esco_conn_rsp (UINT16 sco_inx, UINT8 hci_status, BD_ADDR bda, in btm_esco_conn_rsp() argument 163 if (!btsnd_hcic_reject_conn (bda, hci_status)) in btm_esco_conn_rsp() 170 if (!btsnd_hcic_reject_esco_conn (bda, hci_status)) in btm_esco_conn_rsp() 214 if (btsnd_hcic_accept_esco_conn (bda, p_setup->tx_bw, p_setup->rx_bw, in btm_esco_conn_rsp() 802 void btm_sco_conn_req (BD_ADDR bda, DEV_CLASS dev_class, UINT8 link_type) in btm_sco_conn_req() argument 817 !memcmp (p->esco.data.bd_addr, bda, BD_ADDR_LEN); in btm_sco_conn_req() 825 memcpy (p->esco.data.bd_addr, bda, BD_ADDR_LEN); in btm_sco_conn_req() 840 btm_esco_conn_rsp(xx, HCI_ERR_HOST_REJECT_RESOURCES, bda, NULL); in btm_sco_conn_req() 844 btm_esco_conn_rsp(xx, HCI_SUCCESS, bda, NULL); in btm_sco_conn_req() 849 memcpy(evt_data.bd_addr, bda, BD_ADDR_LEN); in btm_sco_conn_req() [all …]
|
D | btm_ble_gap.c | 68 static void btm_ble_process_adv_pkt_cont(BD_ADDR bda, UINT8 addr_type, UINT8 evt_type, UINT8 *p); 463 p_cb->direct_bda.bda, in BTM_BleBroadcast() 731 BD_ADDR bda; in btm_ble_resolve_random_addr_on_adv() local 739 STREAM_TO_BDADDR (bda, pp); in btm_ble_resolve_random_addr_on_adv() 745 memcpy(match_rec->ble.cur_rand_addr, bda, BD_ADDR_LEN); in btm_ble_resolve_random_addr_on_adv() 747 if (btm_ble_init_pseudo_addr(match_rec, bda)) in btm_ble_resolve_random_addr_on_adv() 749 memcpy(bda, match_rec->bd_addr, BD_ADDR_LEN); in btm_ble_resolve_random_addr_on_adv() 752 memcpy(bda, match_rec->ble.pseudo_addr, BD_ADDR_LEN); in btm_ble_resolve_random_addr_on_adv() 756 btm_ble_process_adv_pkt_cont(bda, addr_type, evt_type, pp); in btm_ble_resolve_random_addr_on_adv() 946 if ((p_dev_rec = btm_find_or_alloc_dev (p_cb->direct_bda.bda)) != NULL && in btm_set_conn_mode_adv_init_addr() [all …]
|
/system/bt/btif/include/ |
D | btif_profile_queue.h | 30 typedef bt_status_t (*btif_connect_cb_t) (bt_bdaddr_t *bda, uint16_t uuid); 32 bt_status_t btif_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda, btif_connect_cb_t connect_cb);
|
/system/bt/stack/l2cap/ |
D | l2c_ble.c | 238 void l2cble_notify_le_connection (BD_ADDR bda) in l2cble_notify_le_connection() argument 240 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr (bda, BT_TRANSPORT_LE); in l2cble_notify_le_connection() 241 tACL_CONN *p_acl = btm_bda_to_acl(bda, BT_TRANSPORT_LE) ; in l2cble_notify_le_connection() 263 void l2cble_scanner_conn_comp (UINT16 handle, BD_ADDR bda, tBLE_ADDR_TYPE type, in l2cble_scanner_conn_comp() argument 268 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_or_alloc_dev (bda); in l2cble_scanner_conn_comp() 276 p_lcb = l2cu_find_lcb_by_bd_addr (bda, BT_TRANSPORT_LE); in l2cble_scanner_conn_comp() 281 p_lcb = l2cu_allocate_lcb (bda, FALSE, BT_TRANSPORT_LE); in l2cble_scanner_conn_comp() 350 btm_acl_created (bda, NULL, p_dev_rec->sec_bd_name, handle, p_lcb->link_role, BT_TRANSPORT_LE); in l2cble_scanner_conn_comp() 372 void l2cble_advertiser_conn_comp (UINT16 handle, BD_ADDR bda, tBLE_ADDR_TYPE type, in l2cble_advertiser_conn_comp() argument 384 p_lcb = l2cu_find_lcb_by_bd_addr (bda, BT_TRANSPORT_LE); in l2cble_advertiser_conn_comp() [all …]
|
/system/bt/stack/gap/ |
D | gap_ble.c | 46 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connec… 72 tGAP_CLCB *gap_find_clcb_by_bd_addr(BD_ADDR bda) in gap_find_clcb_by_bd_addr() argument 79 if (p_clcb->in_use && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) in gap_find_clcb_by_bd_addr() 122 tGAP_CLCB *gap_clcb_alloc (BD_ADDR bda) in gap_clcb_alloc() argument 133 memcpy (p_clcb->bda, bda, BD_ADDR_LEN); in gap_clcb_alloc() 157 (*p_q->p_cback)(FALSE, p_clcb->bda, 0, NULL); in gap_ble_dealloc_clcb() 558 (* p_cback)(status, p_clcb->bda, len, (char *)p_name); in gap_ble_cl_op_cmpl() 581 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, in gap_ble_c_connect_cback() argument 585 tGAP_CLCB *p_clcb = gap_find_clcb_by_bd_addr (bda); in gap_ble_c_connect_cback() 656 BTM_BleSetPrefConnParams (p_clcb->bda, min, max, latency, tout); in gap_ble_c_cmpl_cback() [all …]
|