/hardware/ti/wpan/bluedroid_wilink/ |
libbt-vendor-ti.c | 48 int ti_init(const bt_vendor_callbacks_t* p_cb, unsigned char *local_bdaddr) { 51 if (p_cb == NULL) 57 bt_vendor_cbacks = (bt_vendor_callbacks_t *) p_cb;
|
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_sco.c | 592 tBTA_DM_PCM_RESAMPLE_CB *p_cb = &bta_dm_pcm_cb; local 594 p_cb->cur_pos = src_sps / 2; 595 p_cb->src_sps = src_sps; 596 p_cb->bits = bits; 597 p_cb->n_channels = n_channels; 598 p_cb->sample_size = 2; 599 p_cb->divisor = 2; 601 memset(p_cb->overlap_area, 0, sizeof(p_cb->overlap_area) ); 606 p_cb->can_be_filtered = 1 [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_profile_queue.c | 48 void *p_cb; member in struct:connect_node_tag 106 return (*(btif_connect_cb_t*)p_head->p_cb)(&p_head->bda); 142 node.p_cb = connect_cb;
|
/external/libnfc-nci/src/nfa/int/ |
nfa_ee_int.h | 188 tNFA_EE_ECB *p_cb; member in struct:__anon10416 197 tNFA_EE_ECB *p_cb; member in struct:__anon10417 208 tNFA_EE_ECB *p_cb; member in struct:__anon10418 219 tNFA_EE_ECB *p_cb; member in struct:__anon10419 238 tNFA_EE_ECB *p_cb; member in struct:__anon10421 248 tNFA_EE_ECB *p_cb; member in struct:__anon10422 258 tNFA_EE_ECB *p_cb; member in struct:__anon10423 273 tNFA_EE_ECB *p_cb; member in struct:__anon10425 426 UINT8 nfa_ee_ecb_to_mask (tNFA_EE_ECB *p_cb); 427 void nfa_ee_restore_one_ecb (tNFA_EE_ECB *p_cb); [all...] |
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gattc_main.c | 347 tBTA_GATTC_CB *p_cb = &bta_gattc_cb; local 356 bta_gattc_register(p_cb, (tBTA_GATTC_DATA *) p_msg); 360 bta_gattc_start_if(p_cb, (tBTA_GATTC_DATA *) p_msg); 364 bta_gattc_deregister(p_cb, (tBTA_GATTC_DATA *) p_msg); 368 bta_gattc_int_deregister(p_cb, (tBTA_GATTC_DATA *) p_msg); 372 bta_gattc_process_api_open(p_cb, (tBTA_GATTC_DATA *) p_msg); 376 bta_gattc_process_api_open_cancel(p_cb, (tBTA_GATTC_DATA *) p_msg); 380 bta_gattc_process_api_refresh(p_cb, (tBTA_GATTC_DATA *) p_msg);
|
bta_gattc_act.c | 94 void bta_gattc_register(tBTA_GATTC_CB *p_cb, tBTA_GATTC_DATA *p_data) 105 if (!p_cb->cl_rcb[i].in_use) 107 if ((p_app_uuid == NULL) || (p_cb->cl_rcb[i].client_if = GATT_Register(p_app_uuid, &bta_gattc_cl_cback)) == 0) 115 p_cb->cl_rcb[i].in_use = TRUE; 116 p_cb->cl_rcb[i].p_cback = p_data->api_reg.p_cback; 117 memcpy(&p_cb->cl_rcb[i].app_uuid, p_app_uuid, sizeof(tBT_UUID)); 120 cb_data.reg_oper.client_if = p_cb->cl_rcb[i].client_if; 130 p_buf->client_if = p_cb->cl_rcb[i].client_if; 137 memset( &p_cb->cl_rcb[i], 0 , sizeof(tBTA_GATTC_RCB)); 158 void bta_gattc_start_if(tBTA_GATTC_CB *p_cb, tBTA_GATTC_DATA *p_msg 735 tBTA_GATTC_CB *p_cb = &bta_gattc_cb; local 775 tBTA_GATTC_CB *p_cb = &bta_gattc_cb; local [all...] |
bta_gattc_int.h | 398 extern void bta_gattc_register(tBTA_GATTC_CB *p_cb, tBTA_GATTC_DATA *p_data); 399 extern void bta_gattc_start_if(tBTA_GATTC_CB *p_cb, tBTA_GATTC_DATA *p_data); 400 extern void bta_gattc_process_api_open (tBTA_GATTC_CB *p_cb, tBTA_GATTC_DATA * p_msg); 401 extern void bta_gattc_process_api_open_cancel (tBTA_GATTC_CB *p_cb, tBTA_GATTC_DATA * p_msg); 402 extern void bta_gattc_deregister(tBTA_GATTC_CB *p_cb, tBTA_GATTC_DATA *p_data); 403 extern void bta_gattc_int_deregister(tBTA_GATTC_CB *p_cb, tBTA_GATTC_DATA *p_data); 442 extern void bta_gattc_process_api_refresh(tBTA_GATTC_CB *p_cb, tBTA_GATTC_DATA * p_msg);
|
/external/bluetooth/bluedroid/stack/smp/ |
smp_main.c | 426 void smp_sm_event(tSMP_CB *p_cb, tSMP_EVENT event, void *p_data) 428 UINT8 curr_state = p_cb->state; 431 tSMP_ENTRY_TBL entry_table = smp_entry_table[p_cb->role]; 441 (p_cb->role == 0x01) ?"Slave" : "Master", smp_get_state_name( p_cb->state), 442 p_cb->state, smp_get_event_name(event), event) ; 456 state_table = smp_state_table[curr_state][p_cb->role]; 478 (*smp_sm_action[action])(p_cb, (tSMP_INT_DATA *)p_data); 485 SMP_TRACE_DEBUG1( "result state = %s", smp_get_state_name( p_cb->state ) ) ;
|
/hardware/broadcom/libbt/src/ |
bt_vendor_brcm.c | 91 static int init(const bt_vendor_callbacks_t* p_cb, unsigned char *local_bdaddr) 95 if (p_cb == NULL) 120 bt_vendor_cbacks = (bt_vendor_callbacks_t *) p_cb;
|
/external/bluetooth/bluedroid/stack/sdp/ |
sdp_main.c | 271 if (p_ccb->p_cb || p_ccb->p_cb2) 284 if(p_ccb->p_cb) 285 (*p_ccb->p_cb)(err); 475 if (p_ccb->p_cb) 476 (*p_ccb->p_cb) ((UINT16) ((p_ccb->con_state == SDP_STATE_CONNECTED) ? 652 if (p_ccb->p_cb) 653 (*p_ccb->p_cb) (reason); 685 if (p_ccb->p_cb) 686 (*p_ccb->p_cb) (p_ccb->disconnect_reason); 714 if (p_ccb->p_cb) [all...] |
sdp_api.c | 146 tSDP_DISC_CMPL_CB *p_cb) 159 p_ccb->p_cb = p_cb; 183 tSDP_DISC_CMPL_CB *p_cb) 196 p_ccb->p_cb = p_cb; [all...] |
/external/bluetooth/bluedroid/bta/hl/ |
bta_hl_main.c | 424 tBTA_HL_MCL_CB *p_cb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); local 427 tBTA_HL_CCH_STATE in_state = p_cb->cch_state; 435 state_table = bta_hl_cch_st_tbl[p_cb->cch_state]; 440 p_cb->cch_state = state_table[event][BTA_HL_CCH_NEXT_STATE]; 456 if (in_state != p_cb->cch_state) 460 bta_hl_cch_state_code(p_cb->cch_state), 482 tBTA_HL_MDL_CB *p_cb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local 485 tBTA_HL_DCH_STATE in_state = p_cb->dch_state; 493 state_table = bta_hl_dch_st_tbl[p_cb->dch_state]; 497 p_cb->dch_state = state_table[event][BTA_HL_DCH_NEXT_STATE] [all...] |
/external/bluetooth/bluedroid/stack/include/ |
sdp_api.h | 232 tSDP_DISC_CMPL_CB *p_cb); 250 tSDP_DISC_CMPL_CB *p_cb); 268 tSDP_DISC_CMPL_CB2 *p_cb, void * user_data); 659 tSDP_DISC_CMPL_CB *p_cb); 712 tSDP_DISC_CMPL_CB *p_cb);
|
btm_api.h | [all...] |
/external/bluetooth/bluedroid/bta/av/ |
bta_av_int.h | 614 extern UINT8 bta_av_rc_create(tBTA_AV_CB *p_cb, UINT8 role, UINT8 shdl, UINT8 lidx); 628 extern void bta_av_sm_execute(tBTA_AV_CB *p_cb, UINT16 event, tBTA_AV_DATA *p_data); 649 extern void bta_av_disable (tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data); 650 extern void bta_av_rc_opened (tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data); 651 extern void bta_av_rc_remote_cmd (tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data); 652 extern void bta_av_rc_vendor_cmd (tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data); 653 extern void bta_av_rc_vendor_rsp (tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data); 654 extern void bta_av_rc_msg (tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data); 655 extern void bta_av_rc_close (tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data); 656 extern void bta_av_rc_meta_rsp (tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data) [all...] |
bta_av_main.c | 87 typedef void (*tBTA_AV_ACTION)(tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data); 800 tBTA_AV_CB *p_cb = &bta_av_cb; local 808 if (p_cb->conn_audio == mask) 810 if (p_cb->p_scb[i]) 812 bta_sys_set_policy(BTA_ID_AV, HCI_ENABLE_MASTER_SLAVE_SWITCH, p_cb->p_scb[i]->peer_addr); [all...] |
/external/bluetooth/bluedroid/bta/jv/ |
bta_jv_int.h | 257 tBTA_JV_L2C_CB *p_cb; member in struct:__anon2828 277 tBTA_JV_L2C_CB *p_cb; member in struct:__anon2830 315 tBTA_JV_RFC_CB *p_cb; member in struct:__anon2833 332 tBTA_JV_PM_CB *p_cb; member in struct:__anon2835 344 tBTA_JV_RFC_CB *p_cb; member in struct:__anon2836 353 tBTA_JV_RFC_CB *p_cb; member in struct:__anon2837
|
/external/bluetooth/bluedroid/stack/btm/ |
btm_ble.c | 661 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_le_test_cmd_cmpl_cb; local 666 if (p_cb) 668 (*p_cb)(p); 1158 tBTM_CB *p_cb = &btm_cb; local 1186 tBTM_CB *p_cb = &btm_cb; local 1287 tBTM_CB *p_cb = &btm_cb; local 1331 tBTM_CB *p_cb = &btm_cb; local 1433 tBTM_BLE_CB *p_cb = &btm_cb.ble_ctr_cb; local 2119 tBTM_LE_RANDOM_CB *p_cb = &btm_cb.ble_ctr_cb.addr_mgnt_cb; local [all...] |
btm_acl.c | 543 tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, UINT8 new_role, tBTM_CMPL_CB *p_cb) 566 if (btm_cb.devcb.p_switch_role_cb && p_cb) 667 if (p_cb) 674 btm_cb.devcb.p_switch_role_cb = p_cb; 692 tBTM_STATUS BTM_ChangeLinkKey (BD_ADDR remote_bd_addr, tBTM_CMPL_CB *p_cb) 768 btm_cb.devcb.p_chg_link_key_cb = p_cb; 1123 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_rlinkp_cmpl_cb; local 2390 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_rlinkp_cmpl_cb; local 2722 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_qossu_cmpl_cb; local 2910 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_tx_power_cmpl_cb; local 2973 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_rssi_cmpl_cb; local 3027 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_lnk_qual_cmpl_cb; local [all...] |
btm_inq.c | 1806 tBTM_CMPL_CB *p_cb = p_inq->p_inqfilter_cmpl_cb; local 2524 tBTM_CMPL_CB *p_cb = p_inq->p_remname_cmpl_cb; local 2737 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_txpwer_cmpl_cb; local [all...] |
/external/bluetooth/bluedroid/hci/include/ |
bt_vendor_lib.h | 317 int (*init)(const bt_vendor_callbacks_t* p_cb, unsigned char *local_bdaddr);
|
bt_hci_lib.h | 167 int (*init)(const bt_hc_callbacks_t* p_cb, unsigned char *local_bdaddr);
|
/external/libnfc-nci/src/nfc/int/ |
nfc_int.h | 217 NFC_API extern void nfc_set_conn_id (tNFC_CONN_CB * p_cb, UINT8 conn_id); 218 NFC_API extern void nfc_free_conn_cb (tNFC_CONN_CB *p_cb); 220 NFC_API extern void nfc_data_event (tNFC_CONN_CB * p_cb); 223 extern UINT8 nfc_ncif_send_data (tNFC_CONN_CB *p_cb, BT_HDR *p_data);
|
/external/bluetooth/bluedroid/btif/include/ |
btif_common.h | 55 #define HAL_CBACK(P_CB, P_CBACK, ...)\ 56 if (P_CB && P_CB->P_CBACK) { \ 57 BTIF_TRACE_API2("HAL %s->%s", #P_CB, #P_CBACK); \ 58 P_CB->P_CBACK(__VA_ARGS__); \ 159 tBTIF_CBACK* p_cb; /* context switch callback */ member in struct:__anon2885
|
/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_ble.c | 532 tBTM_BLE_CB *p_cb = &btm_cb.ble_ctr_cb; local 545 scan_int = (p_cb->scan_int == BTM_BLE_CONN_PARAM_UNDEF) ? BTM_BLE_SCAN_FAST_INT : p_cb->scan_int; 546 scan_win = (p_cb->scan_win == BTM_BLE_CONN_PARAM_UNDEF) ? BTM_BLE_SCAN_FAST_WIN : p_cb->scan_win;
|