/system/bt/stack/rfcomm/ |
D | rfc_ts_frames.c | 43 UINT8 *p_data; in rfc_send_sabme() local 48 p_data = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; in rfc_send_sabme() 51 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); in rfc_send_sabme() 52 *p_data++ = RFCOMM_SABME | RFCOMM_PF; in rfc_send_sabme() 53 *p_data++ = RFCOMM_EA | 0; in rfc_send_sabme() 55 *p_data = RFCOMM_SABME_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); in rfc_send_sabme() 72 UINT8 *p_data; in rfc_send_ua() local 77 p_data = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; in rfc_send_ua() 80 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); in rfc_send_ua() 81 *p_data++ = RFCOMM_UA | RFCOMM_PF; in rfc_send_ua() [all …]
|
/system/bt/stack/avdt/ |
D | avdt_ccb_act.c | 80 void avdt_ccb_chan_open(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) in avdt_ccb_chan_open() argument 82 UNUSED(p_data); in avdt_ccb_chan_open() 99 void avdt_ccb_chan_close(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) in avdt_ccb_chan_close() argument 101 UNUSED(p_data); in avdt_ccb_chan_close() 118 void avdt_ccb_chk_close(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) in avdt_ccb_chk_close() argument 122 UNUSED(p_data); in avdt_ccb_chk_close() 158 void avdt_ccb_hdl_discover_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) in avdt_ccb_hdl_discover_cmd() argument 164 p_data->msg.discover_rsp.p_sep_info = sep_info; in avdt_ccb_hdl_discover_cmd() 165 p_data->msg.discover_rsp.num_seps = 0; in avdt_ccb_hdl_discover_cmd() 173 sep_info[p_data->msg.discover_rsp.num_seps].in_use = p_scb->in_use; in avdt_ccb_hdl_discover_cmd() [all …]
|
D | avdt_scb_act.c | 92 void avdt_scb_hdl_abort_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_abort_cmd() argument 95 avdt_scb_event(p_scb, AVDT_SCB_API_ABORT_RSP_EVT, p_data); in avdt_scb_hdl_abort_cmd() 108 void avdt_scb_hdl_abort_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_abort_rsp() argument 111 UNUSED(p_data); in avdt_scb_hdl_abort_rsp() 125 void avdt_scb_hdl_close_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_close_cmd() argument 128 avdt_scb_event(p_scb, AVDT_SCB_API_CLOSE_RSP_EVT, p_data); in avdt_scb_hdl_close_cmd() 141 void avdt_scb_hdl_close_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_close_rsp() argument 143 p_scb->close_code = p_data->msg.hdr.err_code; in avdt_scb_hdl_close_rsp() 157 void avdt_scb_hdl_getconfig_cmd(tAVDT_SCB *p_scb,tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_getconfig_cmd() argument 159 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; in avdt_scb_hdl_getconfig_cmd() [all …]
|
D | avdt_int.h | 454 typedef void (*tAVDT_CCB_ACTION)(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data); 461 UINT8 *p_data; member 515 typedef void (*tAVDT_SCB_ACTION)(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data); 564 extern void avdt_ccb_event(tAVDT_CCB *p_ccb, UINT8 event, tAVDT_CCB_EVT *p_data); 567 extern void avdt_ccb_dealloc(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data); 572 extern void avdt_ccb_chan_open(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data); 573 extern void avdt_ccb_chan_close(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data); 574 extern void avdt_ccb_chk_close(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data); 575 extern void avdt_ccb_hdl_discover_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data); 576 extern void avdt_ccb_hdl_discover_rsp(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data); [all …]
|
/system/bt/stack/avrc/ |
D | avrc_bld_ct.c | 43 UINT8 *p_data, *p_start; in avrc_bld_next_cmd() local 49 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_next_cmd() 52 UINT16_TO_BE_STREAM(p_data, 1); in avrc_bld_next_cmd() 53 UINT8_TO_BE_STREAM(p_data, p_cmd->target_pdu); in avrc_bld_next_cmd() 54 p_pkt->len = (p_data - p_start); in avrc_bld_next_cmd() 76 UINT8 *p_data, *p_start; in avrc_bld_set_abs_volume_cmd() local 81 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_set_abs_volume_cmd() 83 UINT16_TO_BE_STREAM(p_data, 1); in avrc_bld_set_abs_volume_cmd() 84 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume)); in avrc_bld_set_abs_volume_cmd() 85 p_pkt->len = (p_data - p_start); in avrc_bld_set_abs_volume_cmd() [all …]
|
D | avrc_bld_tg.c | 43 UINT8 *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_capability_rsp() local 60 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_capability_rsp() 62 BE_STREAM_TO_UINT16(len, p_data); in avrc_bld_get_capability_rsp() 63 UINT8_TO_BE_STREAM(p_data, p_rsp->capability_id); in avrc_bld_get_capability_rsp() 64 p_count = p_data; in avrc_bld_get_capability_rsp() 69 p_data++; in avrc_bld_get_capability_rsp() 74 p_data = p_start + p_pkt->len; in avrc_bld_get_capability_rsp() 83 UINT24_TO_BE_STREAM(p_data, p_company_id[xx]); in avrc_bld_get_capability_rsp() 96 UINT8_TO_BE_STREAM(p_data, p_event_id[xx]); in avrc_bld_get_capability_rsp() 102 p_pkt->len = (p_data - p_start); in avrc_bld_get_capability_rsp() [all …]
|
D | avrc_opt.c | 50 UINT8 *p_data; in avrc_vendor_msg() local 63 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; in avrc_vendor_msg() 64 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg() 65 *p_data++ = (p_msg->hdr.subunit_type << AVRC_SUBTYPE_SHIFT) | p_msg->hdr.subunit_id; in avrc_vendor_msg() 66 *p_data++ = AVRC_OP_VENDOR; in avrc_vendor_msg() 67 AVRC_CO_ID_TO_BE_STREAM(p_data, p_msg->company_id); in avrc_vendor_msg() 69 memcpy(p_data, p_msg->p_vendor_data, p_msg->vendor_len); in avrc_vendor_msg() 70 p_cmd->len = (UINT16)(p_data + p_msg->vendor_len - (UINT8 *)(p_cmd + 1) - p_cmd->offset); in avrc_vendor_msg() 100 UINT8 *p_data; in AVRC_UnitCmd() local 103 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; in AVRC_UnitCmd() [all …]
|
D | avrc_api.c | 126 UINT8 *p_data = avrc_get_data_ptr(p_pkt); in avrc_copy_packet() local 128 memcpy(p_data_copy, p_data, p_pkt->len); in avrc_copy_packet() 147 UINT8 *p_data, *p_orig_data; in avrc_prep_end_frag() local 162 p_data = (UINT8 *)(p_pkt_new+1) + p_pkt_new->offset; in avrc_prep_end_frag() 163 *p_data++ = rsp_type; in avrc_prep_end_frag() 164 *p_data++ = (AVRC_SUB_PANEL << AVRC_SUBTYPE_SHIFT); in avrc_prep_end_frag() 165 *p_data++ = AVRC_OP_VENDOR; in avrc_prep_end_frag() 166 AVRC_CO_ID_TO_BE_STREAM(p_data, AVRC_CO_METADATA); in avrc_prep_end_frag() 167 *p_data++ = p_fcb->frag_pdu; in avrc_prep_end_frag() 168 *p_data++ = AVRC_PKT_END; in avrc_prep_end_frag() [all …]
|
/system/bt/btif/src/ |
D | btif_gatt_server.c | 136 p_dest_data->req_data.p_data = osi_malloc(sizeof(tBTA_GATTS_REQ_DATA)); in btapp_gatts_copy_req_data() 137 memcpy(p_dest_data->req_data.p_data, p_src_data->req_data.p_data, in btapp_gatts_copy_req_data() 146 static void btapp_gatts_free_req_data(UINT16 event, tBTA_GATTS *p_data) in btapp_gatts_free_req_data() argument 154 if (p_data != NULL) in btapp_gatts_free_req_data() 155 osi_free_and_reset((void **)&p_data->req_data.p_data); in btapp_gatts_free_req_data() 167 tBTA_GATTS *p_data = (tBTA_GATTS*)p_param; in btapp_gatts_handle_cback() local 173 bta_to_btif_uuid(&app_uuid, &p_data->reg_oper.uuid); in btapp_gatts_handle_cback() 175 , p_data->reg_oper.status in btapp_gatts_handle_cback() 176 , p_data->reg_oper.server_if in btapp_gatts_handle_cback() 188 bdcpy(bda.address, p_data->conn.remote_bda); in btapp_gatts_handle_cback() [all …]
|
/system/bt/stack/avct/ |
D | avct_int.h | 146 extern void avct_lcb_event(tAVCT_LCB *p_lcb, UINT8 event, tAVCT_LCB_EVT *p_data); 148 extern void avct_bcb_event(tAVCT_BCB *p_bcb, UINT8 event, tAVCT_LCB_EVT *p_data); 149 extern void avct_close_bcb(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data); 157 extern void avct_lcb_dealloc(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data); 163 extern void avct_lcb_chnl_open(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data); 164 extern void avct_lcb_unbind_disc(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data); 165 extern void avct_lcb_open_ind(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data); 166 extern void avct_lcb_open_fail(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data); 167 extern void avct_lcb_close_ind(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data); 168 extern void avct_lcb_close_cfm(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data); [all …]
|
D | avct_lcb_act.c | 182 void avct_lcb_chnl_open(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data) in avct_lcb_chnl_open() argument 185 UNUSED(p_data); in avct_lcb_chnl_open() 207 void avct_lcb_unbind_disc(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data) in avct_lcb_unbind_disc() argument 211 avct_ccb_dealloc(p_data->p_ccb, AVCT_DISCONNECT_CFM_EVT, 0, NULL); in avct_lcb_unbind_disc() 227 void avct_lcb_open_ind(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data) in avct_lcb_open_ind() argument 263 avct_lcb_event(p_lcb, AVCT_LCB_INT_CLOSE_EVT, p_data); in avct_lcb_open_ind() 278 void avct_lcb_open_fail(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data) in avct_lcb_open_fail() argument 288 p_data->result, p_lcb->peer_addr); in avct_lcb_open_fail() 304 void avct_lcb_close_ind(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data) in avct_lcb_close_ind() argument 308 UNUSED(p_data); in avct_lcb_close_ind() [all …]
|
/system/bt/stack/smp/ |
D | smp_int.h | 232 UINT8* p_data; member 237 UINT8 *p_data; /* UINT8 type data pointer */ member 346 typedef void (*tSMP_ACT)(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 369 extern void smp_sm_event(tSMP_CB *p_cb, tSMP_EVENT event, void *p_data); 371 extern void smp_proc_sec_request(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 392 extern void smp_sm_event(tSMP_CB *p_cb, tSMP_EVENT event, void *p_data); 397 extern void smp_br_state_machine_event(tSMP_CB *p_cb, tSMP_BR_EVENT event, void *p_data); 403 extern void smp_send_pair_req(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 404 extern void smp_send_confirm(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); 405 extern void smp_send_pair_fail(tSMP_CB *p_cb, tSMP_INT_DATA *p_data); [all …]
|
/system/bt/bta/dm/ |
D | bta_dm_act.c | 65 static void bta_dm_bl_change_cback (tBTM_BL_EVENT_DATA *p_data); 70 static UINT8 bta_dm_sp_cback (tBTM_SP_EVT event, tBTM_SP_EVT_DATA *p_data); 93 static UINT8 bta_dm_ble_smp_cback (tBTM_LE_EVT event, BD_ADDR bda, tBTM_LE_EVT_DATA *p_data); 100 static void bta_dm_gattc_callback(tBTA_GATTC_EVT event, tBTA_GATTC *p_data); 260 void bta_dm_enable(tBTA_DM_MSG *p_data) in bta_dm_enable() argument 270 if (p_data->enable.p_sec_cback != NULL) in bta_dm_enable() 271 p_data->enable.p_sec_cback(BTA_DM_ENABLE_EVT, (tBTA_DM_SEC *)&enable_event); in bta_dm_enable() 280 if( p_data->enable.p_sec_cback != NULL ) in bta_dm_enable() 281 bta_dm_cb.p_sec_cback = p_data->enable.p_sec_cback; in bta_dm_enable() 466 void bta_dm_disable (tBTA_DM_MSG *p_data) in bta_dm_disable() argument [all …]
|
D | bta_dm_int.h | 1078 extern void bta_dm_enable (tBTA_DM_MSG *p_data); 1079 extern void bta_dm_disable (tBTA_DM_MSG *p_data); 1081 extern void bta_dm_set_dev_name (tBTA_DM_MSG *p_data); 1082 extern void bta_dm_set_visibility (tBTA_DM_MSG *p_data); 1084 extern void bta_dm_set_scan_config(tBTA_DM_MSG *p_data); 1085 extern void bta_dm_vendor_spec_command(tBTA_DM_MSG *p_data); 1086 extern void bta_dm_bond (tBTA_DM_MSG *p_data); 1087 extern void bta_dm_bond_cancel (tBTA_DM_MSG *p_data); 1088 extern void bta_dm_pin_reply (tBTA_DM_MSG *p_data); 1089 extern void bta_dm_acl_change(tBTA_DM_MSG *p_data); [all …]
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_act.c | 56 void bta_hf_client_register(tBTA_HF_CLIENT_DATA *p_data) in bta_hf_client_register() argument 66 bta_hf_client_cb.scb.serv_sec_mask = p_data->api_register.sec_mask; in bta_hf_client_register() 67 bta_hf_client_cb.scb.features = p_data->api_register.features; in bta_hf_client_register() 73 bta_hf_client_create_record(p_data); in bta_hf_client_register() 98 void bta_hf_client_deregister(tBTA_HF_CLIENT_DATA *p_data) in bta_hf_client_deregister() argument 103 bta_hf_client_del_record(p_data); in bta_hf_client_deregister() 122 void bta_hf_client_start_dereg(tBTA_HF_CLIENT_DATA *p_data) in bta_hf_client_start_dereg() argument 127 bta_hf_client_del_record(p_data); in bta_hf_client_start_dereg() 140 void bta_hf_client_start_close(tBTA_HF_CLIENT_DATA *p_data) in bta_hf_client_start_close() argument 153 bta_hf_client_rfc_do_close(p_data); in bta_hf_client_start_close() [all …]
|
D | bta_hf_client_int.h | 205 tBTA_HF_CLIENT_DATA *p_data); 215 extern void bta_hf_client_create_record(tBTA_HF_CLIENT_DATA *p_data); 216 extern void bta_hf_client_del_record(tBTA_HF_CLIENT_DATA *p_data); 219 extern void bta_hf_client_free_db(tBTA_HF_CLIENT_DATA *p_data); 225 extern void bta_hf_client_rfc_do_open(tBTA_HF_CLIENT_DATA *p_data); 226 extern void bta_hf_client_rfc_do_close(tBTA_HF_CLIENT_DATA *p_data); 229 extern void bta_hf_client_sco_listen(tBTA_HF_CLIENT_DATA *p_data); 230 extern void bta_hf_client_sco_shutdown(tBTA_HF_CLIENT_DATA *p_data); 231 extern void bta_hf_client_sco_conn_open(tBTA_HF_CLIENT_DATA *p_data); 232 extern void bta_hf_client_sco_conn_close(tBTA_HF_CLIENT_DATA *p_data); [all …]
|
/system/bt/bta/av/ |
D | bta_av_int.h | 257 UINT8 *p_data; member 265 UINT8 *p_data; member 567 typedef void (*tBTA_AV_SACT)(tBTA_AV_SCB *p_scb, tBTA_AV_DATA *p_data); 643 extern void bta_av_conn_cback(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDT_CTRL *p_data); 655 extern void bta_av_api_deregister(tBTA_AV_DATA *p_data); 657 extern void bta_av_sm_execute(tBTA_AV_CB *p_cb, UINT16 event, tBTA_AV_DATA *p_data); 658 extern void bta_av_ssm_execute(tBTA_AV_SCB *p_scb, UINT16 event, tBTA_AV_DATA *p_data); 668 extern void bta_av_api_disconnect(tBTA_AV_DATA *p_data); 669 extern void bta_av_sig_chg(tBTA_AV_DATA *p_data); 670 extern void bta_av_signalling_timer(tBTA_AV_DATA *p_data); [all …]
|
D | bta_av_act.c | 372 static tBTA_AV_CODE bta_av_group_navi_supported(UINT8 len, UINT8 *p_data, BOOLEAN is_inquiry) in bta_av_group_navi_supported() argument 375 UINT8 *p_ptr = p_data; in bta_av_group_navi_supported() 487 void bta_av_rc_opened(tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data) in bta_av_rc_opened() argument 502 if (p_scb && bdcmp(p_scb->peer_addr, p_data->rc_conn_chg.peer_addr) == 0) in bta_av_rc_opened() 504 p_scb->rc_handle = p_data->rc_conn_chg.handle; in bta_av_rc_opened() 514 i = p_data->rc_conn_chg.handle; in bta_av_rc_opened() 550 bdcpy(p_lcb->addr, p_data->rc_conn_chg.peer_addr); in bta_av_rc_opened() 560 disc = p_data->rc_conn_chg.handle|BTA_AV_CHNL_MSK; in bta_av_rc_opened() 563 bdcpy(rc_open.peer_addr, p_data->rc_conn_chg.peer_addr); in bta_av_rc_opened() 592 void bta_av_rc_remote_cmd(tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data) in bta_av_rc_remote_cmd() argument [all …]
|
/system/bt/bta/ag/ |
D | bta_ag_act.c | 89 static void bta_ag_cback_open(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data, tBTA_AG_STATUS status) in bta_ag_cback_open() argument 98 if(p_data) in bta_ag_cback_open() 101 bdcpy(open.bd_addr, p_data->api_open.bd_addr); in bta_ag_cback_open() 122 void bta_ag_register(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_register() argument 127 p_scb->reg_services = p_data->api_register.services; in bta_ag_register() 128 p_scb->serv_sec_mask = p_data->api_register.sec_mask; in bta_ag_register() 129 p_scb->features = p_data->api_register.features; in bta_ag_register() 130 p_scb->app_id = p_data->api_register.app_id; in bta_ag_register() 133 bta_ag_create_records(p_scb, p_data); in bta_ag_register() 156 void bta_ag_deregister(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data) in bta_ag_deregister() argument [all …]
|
D | bta_ag_int.h | 359 extern void bta_ag_sm_execute(tBTA_AG_SCB *p_scb, UINT16 event, tBTA_AG_DATA *p_data); 368 extern void bta_ag_create_records(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 369 extern void bta_ag_del_records(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 372 extern void bta_ag_free_db(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 378 extern void bta_ag_rfc_do_close(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 379 extern void bta_ag_rfc_do_open(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 384 extern void bta_ag_sco_conn_rsp(tBTA_AG_SCB *p_scb, tBTM_ESCO_CONN_REQ_EVT_DATA *p_data); 396 extern void bta_ag_register(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 397 extern void bta_ag_deregister(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); 398 extern void bta_ag_start_dereg(tBTA_AG_SCB *p_scb, tBTA_AG_DATA *p_data); [all …]
|
/system/bt/stack/include/ |
D | rfcdefs.h | 69 #define RFCOMM_PARSE_CTRL_FIELD(ea, cr, dlci, p_data) \ argument 71 ea = *p_data & RFCOMM_EA; \ 72 cr = (*p_data & RFCOMM_CR_MASK) >> RFCOMM_SHIFT_CR; \ 73 dlci = *p_data++ >> RFCOMM_SHIFT_DLCI; \ 74 if (!ea) dlci += *p_data++ << RFCOMM_SHIFT_DLCI2; \ 77 #define RFCOMM_FORMAT_CTRL_FIELD(p_data, ea, cr, dlci) \ argument 78 *p_data++ = ea | cr | (dlci << RFCOMM_SHIFT_DLCI) 80 #define RFCOMM_PARSE_TYPE_FIELD(type, pf, p_data) \ argument 82 type = *p_data & ~RFCOMM_PF_MASK; \ 83 pf = (*p_data++ & RFCOMM_PF_MASK) >> RFCOMM_PF_OFFSET;\ [all …]
|
/system/bt/bta/gatt/ |
D | bta_gattc_act.c | 54 tGATT_CL_COMPLETE *p_data); 57 tGATT_CL_COMPLETE *p_data); 185 void bta_gattc_register(tBTA_GATTC_CB *p_cb, tBTA_GATTC_DATA *p_data) in bta_gattc_register() argument 189 tBT_UUID *p_app_uuid = &p_data->api_reg.app_uuid; in bta_gattc_register() 214 p_cb->cl_rcb[i].p_cback = p_data->api_reg.p_cback; in bta_gattc_register() 233 if (p_data->api_reg.p_cback) in bta_gattc_register() 239 (*p_data->api_reg.p_cback)(BTA_GATTC_REG_EVT, (tBTA_GATTC *)&cb_data); in bta_gattc_register() 450 void bta_gattc_cancel_open_error(tBTA_GATTC_CLCB *p_clcb, tBTA_GATTC_DATA *p_data) in bta_gattc_cancel_open_error() argument 453 UNUSED(p_data); in bta_gattc_cancel_open_error() 470 void bta_gattc_open_error(tBTA_GATTC_CLCB *p_clcb, tBTA_GATTC_DATA *p_data) in bta_gattc_open_error() argument [all …]
|
/system/bt/bta/hl/ |
D | bta_hl_main.c | 89 …edef void (*tBTA_HL_DCH_ACTION)(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, tBTA_HL_DATA *p_data); 307 typedef void (*tBTA_HL_CCH_ACTION)(UINT8 app_idx, UINT8 mcl_idx, tBTA_HL_DATA *p_data); 418 UINT16 event, tBTA_HL_DATA *p_data) in bta_hl_cch_sm_execute() argument 445 (*bta_hl_cch_action[action])(app_idx, mcl_idx, p_data); in bta_hl_cch_sm_execute() 450 bta_hl_discard_data(p_data->hdr.event, p_data); in bta_hl_cch_sm_execute() 476 UINT16 event, tBTA_HL_DATA *p_data) in bta_hl_dch_sm_execute() argument 502 (*bta_hl_dch_action[action])(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_sm_execute() 507 bta_hl_discard_data(p_data->hdr.event, p_data); in bta_hl_dch_sm_execute() 532 static void bta_hl_api_enable(tBTA_HL_CB *p_cb, tBTA_HL_DATA *p_data) in bta_hl_api_enable() argument 541 if (p_data->api_enable.p_cback) in bta_hl_api_enable() [all …]
|
/system/bt/bta/jv/ |
D | bta_jv_int.h | 218 UINT8* p_data; member 230 UINT8 *p_data; member 243 UINT8 *p_data; member 296 UINT8 *p_data; member 412 extern void bta_jv_enable (tBTA_JV_MSG *p_data); 413 extern void bta_jv_disable (tBTA_JV_MSG *p_data); 414 extern void bta_jv_get_channel_id (tBTA_JV_MSG *p_data); 415 extern void bta_jv_free_scn (tBTA_JV_MSG *p_data); 416 extern void bta_jv_start_discovery (tBTA_JV_MSG *p_data); 417 extern void bta_jv_create_record (tBTA_JV_MSG *p_data); [all …]
|
/system/bt/bta/pan/ |
D | bta_pan_act.c | 306 void bta_pan_enable(tBTA_PAN_DATA *p_data) in bta_pan_enable() argument 316 bta_pan_cb.p_cback = p_data->api_enable.p_cback; in bta_pan_enable() 354 void bta_pan_set_role(tBTA_PAN_DATA *p_data) in bta_pan_set_role() argument 361 bta_pan_cb.app_id[0] = p_data->api_set_role.user_app_id; in bta_pan_set_role() 362 bta_pan_cb.app_id[1] = p_data->api_set_role.gn_app_id; in bta_pan_set_role() 363 bta_pan_cb.app_id[2] = p_data->api_set_role.nap_app_id; in bta_pan_set_role() 365 sec[0] = p_data->api_set_role.user_sec_mask; in bta_pan_set_role() 366 sec[1] = p_data->api_set_role.gn_sec_mask; in bta_pan_set_role() 367 sec[2] = p_data->api_set_role.nap_sec_mask; in bta_pan_set_role() 370 status = PAN_SetRole(p_data->api_set_role.role, sec, in bta_pan_set_role() [all …]
|