Searched defs:p_data (Results 1 - 25 of 212) sorted by relevance

123456789

/external/bluetooth/bluedroid/bta/hf_client/
H A Dbta_hf_client_cmd.c23 void bta_hf_client_send_at_cmd(tBTA_HF_CLIENT_DATA *p_data) argument
25 tBTA_HF_CLIENT_DATA_VAL *p_val = (tBTA_HF_CLIENT_DATA_VAL *)p_data;
H A Dbta_hf_client_rfc.c211 void bta_hf_client_rfc_do_open(tBTA_HF_CLIENT_DATA *p_data) argument
227 bta_hf_client_sm_execute(BTA_HF_CLIENT_RFC_CLOSE_EVT, p_data);
241 void bta_hf_client_rfc_do_close(tBTA_HF_CLIENT_DATA *p_data) argument
244 UNUSED(p_data);
/external/libnfc-nci/src/nfc/nfc/
H A Dnfc_test.c49 ** Parameters p_data - the data packet
54 tNFC_STATUS NFC_TestLoopback (BT_HDR *p_data) argument
59 if (p_data && p_cb && (p_data->offset >= (NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE)))
61 status = nfc_ncif_send_data (p_cb, p_data);
65 GKI_freebuf (p_data);
H A Dnfc_vs.c97 ** p_data - The parameters for the VS command
103 BT_HDR *p_data,
110 if (p_data == NULL)
112 p_data = NCI_GET_CMD_BUF (0);
113 if (p_data)
115 p_data->offset = NCI_VSC_MSG_HDR_SIZE;
116 p_data->len = 0;
121 if ((p_data == NULL) || (p_data->offset < NCI_VSC_MSG_HDR_SIZE) || (p_data
102 NFC_SendVsCommand(UINT8 oid, BT_HDR *p_data, tNFC_VS_CBACK *p_cback) argument
[all...]
/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_ci.c43 void bta_ag_ci_rx_write(UINT16 handle, char *p_data, UINT16 len) argument
63 strncpy(p_data_area, p_data, len);
73 p_data+=len;
H A Dbta_ag_api.c280 void BTA_AgResult(UINT16 handle, tBTA_AG_RES result, tBTA_AG_RES_DATA *p_data) argument
289 if(p_data)
291 memcpy(&p_buf->data, p_data, sizeof(p_buf->data));
/external/bluetooth/bluedroid/bta/mce/
H A Dbta_mce_act.c131 void bta_mce_enable(tBTA_MCE_MSG *p_data) argument
134 bta_mce_cb.p_dm_cback = p_data->enable.p_cback;
147 void bta_mce_get_remote_mas_instances(tBTA_MCE_MSG *p_data) argument
149 if(p_data == NULL)
169 bdcpy(bta_mce_cb.remote_addr, p_data->get_rmt_mas.bd_addr);
174 if (!SDP_ServiceSearchAttributeRequest2(p_data->get_rmt_mas.bd_addr, p_bta_mce_cfg->p_sdp_db,
/external/bluetooth/bluedroid/stack/avrc/
H A Davrc_bld_ct.c43 UINT8 *p_data, *p_start; local
49 p_data = p_start + 2; /* pdu + rsvd */
52 UINT16_TO_BE_STREAM(p_data, 1);
53 UINT8_TO_BE_STREAM(p_data, p_cmd->target_pdu);
54 p_pkt->len = (p_data - p_start);
76 UINT8 *p_data, *p_start; local
81 p_data = p_start + 2; /* pdu + rsvd */
83 UINT16_TO_BE_STREAM(p_data, 1);
84 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume));
85 p_pkt->len = (p_data
101 UINT8 *p_data, *p_start; local
151 UINT8 *p_data, *p_start; local
[all...]
H A Davrc_opt.c52 UINT8 *p_data; local
65 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset;
66 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK);
67 *p_data++ = (p_msg->hdr.subunit_type << AVRC_SUBTYPE_SHIFT) | p_msg->hdr.subunit_id;
68 *p_data++ = AVRC_OP_VENDOR;
69 AVRC_CO_ID_TO_BE_STREAM(p_data, p_msg->company_id);
72 memcpy(p_data, p_msg->p_vendor_data, p_msg->vendor_len);
74 p_cmd->len = (UINT16) (p_data + p_msg->vendor_len - (UINT8 *)(p_cmd + 1) - p_cmd->offset);
104 UINT8 *p_data; local
109 p_data
149 UINT8 *p_data; local
[all...]
H A Davrc_utils.c159 ** Returns AVRC_STS_NO_ERROR, if the message in p_data is parsed successfully.
165 UINT8 *p_data; local
172 p_data = p_msg->p_pass_data;
173 AVRC_BE_STREAM_TO_CO_ID (co_id, p_data);
176 BE_STREAM_TO_UINT16 (id, p_data);
/external/bluetooth/bluedroid/stack/mcap/
H A Dmca_dact.c61 void mca_dcb_tc_open (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data) argument
67 if (p_data->open.param == MCA_INT)
70 evt_data.open_cfm.mtu = p_data->open.peer_mtu;
86 void mca_dcb_cong (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data) argument
88 p_dcb->cong = p_data->llcong;
101 void mca_dcb_free_data (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data) argument
105 GKI_freebuf (p_data);
117 void mca_dcb_do_disconn (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data) argument
120 UNUSED(p_data);
140 void mca_dcb_snd_data (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data) argument
163 mca_dcb_hdl_data(tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data) argument
[all...]
/external/libnfc-nci/src/nfa/rw/
H A Dnfa_rw_main.c124 void nfa_rw_proc_disc_evt (tNFA_DM_RF_DISC_EVT event, tNFC_DISCOVER *p_data, BOOLEAN excl_rf_not_active) argument
132 msg.activate_ntf.p_activate_params = &p_data->activate;
158 tNFA_STATUS nfa_rw_send_raw_frame (BT_HDR *p_data) argument
167 p_msg->op_req.params.send_raw_frame.p_data = p_data;
/external/libnfc-nci/src/nfc/tags/
H A Dce_main.c63 BT_HDR *p_data; local
69 p_data = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID);
70 if (p_data)
72 p_data->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
73 p = (UINT8 *) (p_data + 1) + p_data->offset;
75 p_data->len = data_len;
77 status = NFC_SendData (NFC_RF_CONN_ID, p_data);
/external/bluetooth/bluedroid/btif/co/
H A Dbta_ag_co.c174 void bta_ag_co_tx_write(UINT16 handle, UINT8 * p_data, UINT16 len) argument
176 UNUSED(p_data);
/external/libnfc-nci/src/static-lib-adapt/
H A DProtoDispBluetoothHci.c24 extern UINT8 *HCIDisp1 (char *p_descr, UINT8 *p_data);
46 static UINT8* HCIDisp1Ext (char *p_descr, UINT8 *p_data, char * p_ext);
55 UINT8 *HCIDisp1Ext (char *p_descr, UINT8 *p_data, char * p_ext) argument
57 if (p_data == p_end_hci)
58 return p_data;
62 sprintf (buff, "%40s : %u (0x%02x): %s", p_descr, *p_data, *p_data, p_ext);
65 return (p_data + 1);
/external/bluetooth/bluedroid/bta/pan/
H A Dbta_pan_ci.c131 UINT8 *p_data, UINT16 len, BOOLEAN ext)
149 memcpy((UINT8 *)(p_buf + 1) + p_buf->offset, p_data, len);
130 bta_pan_ci_rx_write(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, UINT8 *p_data, UINT16 len, BOOLEAN ext) argument
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_mce.c99 static void mce_dm_cback(tBTA_MCE_EVT event, tBTA_MCE *p_data, void *user_data) argument
109 for (i = 0; i < p_data->mas_disc_comp.num_mas; i++)
110 param_len += (p_data->mas_disc_comp.mas[i].srv_name_len + 1);
114 (char*)p_data, param_len, mas_discovery_comp_copy_cb);
/external/bluetooth/bluedroid/stack/avdt/
H A Davdt_ccb.c298 void avdt_ccb_event(tAVDT_CCB *p_ccb, UINT8 event, tAVDT_CCB_EVT *p_data) argument
324 (*avdt_cb.p_ccb_act[action])(p_ccb, p_data);
417 void avdt_ccb_dealloc(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
419 UNUSED(p_data);
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_utils.c40 static void btm_cback(UINT16 index, void *p_data) argument
55 inq_cmpl.num_results = ((tBTM_INQUIRY_CMPL *)p_data)->num_resp;
57 inq_cmpl.status = (((tBTM_INQUIRY_CMPL *)p_data)->status == BTM_SUCCESS) ? BT_PASS : GAP_ERR_PROCESSING;
59 p_data = &inq_cmpl;
66 if (*((UINT16 *) p_data))
68 GAP_TRACE_EVENT(" GAP Discovery Complete Event(SDP Result: 0x%04x)", *((UINT16 *) p_data));
79 ((tGAP_REMOTE_DEV_NAME *)p_data)->status =
80 gap_convert_btm_status ((tBTM_STATUS)((tBTM_REMOTE_DEV_NAME *)p_data)->status);
82 GAP_TRACE_EVENT(" GAP Remote Name Complete Event (status 0x%04x)", ((tGAP_REMOTE_DEV_NAME *)p_data)->status);
88 p_cb->gap_cback(p_cb->event, p_data);
[all...]
/external/bluetooth/bluedroid/stack/l2cap/
H A Dl2c_csm.c42 static void l2c_csm_closed (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
43 static void l2c_csm_orig_w4_sec_comp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
44 static void l2c_csm_term_w4_sec_comp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
45 static void l2c_csm_w4_l2cap_connect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
46 static void l2c_csm_w4_l2ca_connect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
47 static void l2c_csm_config (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
48 static void l2c_csm_open (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
49 static void l2c_csm_w4_l2cap_disconnect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
50 static void l2c_csm_w4_l2ca_disconnect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
65 void l2c_csm_execute (tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
121 l2c_csm_closed(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
300 l2c_csm_orig_w4_sec_comp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
396 l2c_csm_term_w4_sec_comp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
512 l2c_csm_w4_l2cap_connect_rsp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
617 l2c_csm_w4_l2ca_connect_rsp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
703 l2c_csm_config(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
938 l2c_csm_open(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
1091 l2c_csm_w4_l2cap_disconnect_rsp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
1151 l2c_csm_w4_l2ca_disconnect_rsp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
[all...]
/external/bluetooth/bluedroid/stack/rfcomm/
H A Drfc_mx_fsm.c43 static void rfc_mx_sm_state_idle (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
44 static void rfc_mx_sm_state_wait_conn_cnf (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
45 static void rfc_mx_sm_state_configure (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
46 static void rfc_mx_sm_sabme_wait_ua (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
47 static void rfc_mx_sm_state_wait_sabme (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
48 static void rfc_mx_sm_state_connected (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
49 static void rfc_mx_sm_state_disc_wait_ua (tRFC_MCB *p_mcb, UINT16 event, void *p_data);
67 void rfc_mx_sm_execute (tRFC_MCB *p_mcb, UINT16 event, void *p_data) argument
72 rfc_mx_sm_state_idle (p_mcb, event, p_data);
76 rfc_mx_sm_state_wait_conn_cnf (p_mcb, event, p_data);
114 rfc_mx_sm_state_idle(tRFC_MCB *p_mcb, UINT16 event, void *p_data) argument
181 rfc_mx_sm_state_wait_conn_cnf(tRFC_MCB *p_mcb, UINT16 event, void *p_data) argument
265 rfc_mx_sm_state_configure(tRFC_MCB *p_mcb, UINT16 event, void *p_data) argument
310 rfc_mx_sm_sabme_wait_ua(tRFC_MCB *p_mcb, UINT16 event, void *p_data) argument
373 rfc_mx_sm_state_wait_sabme(tRFC_MCB *p_mcb, UINT16 event, void *p_data) argument
440 rfc_mx_sm_state_connected(tRFC_MCB *p_mcb, UINT16 event, void *p_data) argument
486 rfc_mx_sm_state_disc_wait_ua(tRFC_MCB *p_mcb, UINT16 event, void *p_data) argument
[all...]
/external/bluetooth/bluedroid/stack/smp/
H A Dsmp_api.c280 ** p_data - simple pairing Randomizer C.
283 void SMP_OobDataReply(BD_ADDR bd_addr, tSMP_STATUS res, UINT8 len, UINT8 *p_data) argument
297 if (res != SMP_SUCCESS || len == 0 || !p_data)
306 memcpy(p_cb->tk, p_data, len);
309 key.p_data = p_cb->tk;
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
H A Dnfc_hal_api.c189 void HAL_NfcWrite (UINT16 data_len, UINT8 *p_data) argument
208 memcpy ((UINT8 *)(p_msg+1) + p_msg->offset, p_data, data_len);
211 mt = (*(p_data) & NCI_MT_MASK) >> NCI_MT_SHIFT;
/external/libnfc-nci/halimpl/bcm2079x/
H A Dnfc_nci.c44 uint16_t data_len, const uint8_t *p_data)
49 retval = HaiWrite (dev, data_len, p_data);
43 hal_write(const struct nfc_nci_device *p_dev, uint16_t data_len, const uint8_t *p_data) argument
/external/libnfc-nci/src/nfc/llcp/
H A Dllcp_sdp.c44 void llcp_sdp_proc_data (tLLCP_SAP_CBACK_DATA *p_data) argument

Completed in 442 milliseconds

123456789