Home
last modified time | relevance | path

Searched refs:p_cmd_buf (Results 1 – 6 of 6) sorted by relevance

/external/bluetooth/bluedroid/bta/ag/
Dbta_ag_at.c46 p_cb->p_cmd_buf = NULL; in bta_ag_at_init()
64 if (p_cb->p_cmd_buf != NULL) in bta_ag_at_reinit()
66 GKI_freebuf(p_cb->p_cmd_buf); in bta_ag_at_reinit()
67 p_cb->p_cmd_buf = NULL; in bta_ag_at_reinit()
92 if (!utl_strucmp(p_cb->p_at_tbl[idx].p_cmd, p_cb->p_cmd_buf)) in bta_ag_process_at()
102 p_arg = p_cb->p_cmd_buf + strlen(p_cb->p_at_tbl[idx].p_cmd); in bta_ag_process_at()
172 (*p_cb->p_err_cback)(p_cb->p_user, TRUE, p_cb->p_cmd_buf); in bta_ag_process_at()
193 if (p_cb->p_cmd_buf == NULL) in bta_ag_at_parse()
195 p_cb->p_cmd_buf = (char *) GKI_getbuf(p_cb->cmd_max_len); in bta_ag_at_parse()
210 p_cb->p_cmd_buf[p_cb->cmd_pos] = p_buf[i++]; in bta_ag_at_parse()
[all …]
Dbta_ag_at.h70 char *p_cmd_buf; /* temp parsing buffer */ member
/external/libnfc-nci/src/nfc/tags/
Drw_t3t.c180 BT_HDR *p_cmd_buf; in rw_t3t_process_error() local
199 if ((p_cmd_buf = rw_t3t_get_cmd_buf ()) != NULL) in rw_t3t_process_error()
201 …memcpy (p_cmd_buf, p_cb->p_cur_cmd_buf, sizeof (BT_HDR) + p_cb->p_cur_cmd_buf->offset + p_cb->p_cu… in rw_t3t_process_error()
203 if (rw_t3t_send_to_lower (p_cmd_buf) == NFC_STATUS_OK) in rw_t3t_process_error()
212 GKI_freebuf (p_cmd_buf); in rw_t3t_process_error()
562 BT_HDR *p_cmd_buf; in rw_t3t_get_cmd_buf() local
564 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t3t_get_cmd_buf()
567 p_cmd_buf->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + 1; in rw_t3t_get_cmd_buf()
568 p_cmd_buf->len = 0; in rw_t3t_get_cmd_buf()
571 return (p_cmd_buf); in rw_t3t_get_cmd_buf()
[all …]
Drw_t2t.c483 BT_HDR *p_cmd_buf; in rw_t2t_process_error() local
499 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t2t_process_error()
501 …memcpy (p_cmd_buf, p_t2t->p_cur_cmd_buf, sizeof (BT_HDR) + p_t2t->p_cur_cmd_buf->offset + p_t2t->p… in rw_t2t_process_error()
504 rw_main_update_tx_stats (p_cmd_buf->len, TRUE); in rw_t2t_process_error()
506 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t2t_process_error()
581 BT_HDR *p_cmd_buf; in rw_t2t_resume_op() local
594 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t2t_resume_op()
596 …memcpy (p_cmd_buf, p_t2t->p_sec_cmd_buf, sizeof (BT_HDR) + p_t2t->p_sec_cmd_buf->offset + p_t2t->p… in rw_t2t_resume_op()
601 rw_main_update_tx_stats (p_cmd_buf->len, TRUE); in rw_t2t_resume_op()
603 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t2t_resume_op()
Dce_t3t.c147 BT_HDR *p_cmd_buf; in ce_t3t_get_rsp_buf() local
149 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_CE_POOL_ID)) != NULL) in ce_t3t_get_rsp_buf()
152 p_cmd_buf->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + 1; in ce_t3t_get_rsp_buf()
153 p_cmd_buf->len = 0; in ce_t3t_get_rsp_buf()
156 return (p_cmd_buf); in ce_t3t_get_rsp_buf()
Drw_t1t.c582 BT_HDR *p_cmd_buf; in rw_t1t_process_error() local
598 if ((p_cmd_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) in rw_t1t_process_error()
600 …memcpy (p_cmd_buf, p_t1t->p_cur_cmd_buf, sizeof (BT_HDR) + p_t1t->p_cur_cmd_buf->offset + p_t1t->p… in rw_t1t_process_error()
604 rw_main_update_tx_stats (p_cmd_buf->len, TRUE); in rw_t1t_process_error()
607 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t1t_process_error()