Searched refs:p_cmd (Results 1 - 15 of 15) sorted by relevance

/external/bluetooth/bluedroid/stack/avrc/
H A Davrc_opt.c51 BT_HDR *p_cmd; local
58 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_META_CMD_POOL_ID)) != NULL)
61 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_CMD_POOL_ID)) != NULL)
64 p_cmd->offset = AVCT_MSG_OFFSET;
65 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset;
74 p_cmd->len = (UINT16) (p_data + p_msg->vendor_len - (UINT8 *)(p_cmd + 1) - p_cmd->offset);
75 p_cmd
103 BT_HDR *p_cmd; local
148 BT_HDR *p_cmd; local
[all...]
H A Davrc_api.c353 BT_HDR *p_cmd = NULL; local
738 BT_HDR *p_cmd = NULL; local
744 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_CMD_POOL_ID)) != NULL)
746 p_cmd->offset = AVCT_MSG_OFFSET;
747 p_cmd->layer_specific = AVCT_DATA_CTRL;
748 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset;
771 p_cmd->len = (UINT16) (p_data - (UINT8 *)(p_cmd + 1) - p_cmd
[all...]
/external/bluetooth/bluedroid/stack/gatt/
H A Datt_protocol.c387 BT_HDR *p_cmd = NULL; local
404 p_cmd = attp_build_value_cmd(p_tcb->payload_size,
413 p_cmd = attp_build_opcode_cmd(op_code);
417 p_cmd = attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle, p_msg->error.reason);
421 p_cmd = attp_build_exec_write_cmd(op_code, 0);
425 p_cmd = attp_build_mtu_cmd(op_code, p_msg->mtu);
433 if (!p_cmd)
436 return p_cmd;
481 UINT8 attp_cl_send_cmd(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 cmd_code, BT_HDR *p_cmd) argument
493 if (attp_send_msg_to_L2CAP(p_tcb, p_cmd))
535 BT_HDR *p_cmd = NULL; local
[all...]
H A Dgatt_sr.c45 tGATT_SR_CMD *p_cmd = &p_tcb->sr_cmd; local
48 if ( (p_cmd->op_code == 0) ||
60 p_cmd->trans_id = ++p_tcb->trans_id;
61 p_cmd->op_code = op_code;
62 p_cmd->handle = handle;
63 p_cmd->status = GATT_NOT_FOUND;
65 trans_id = p_cmd->trans_id;
120 static BOOLEAN process_read_multi_rsp (tGATT_SR_CMD *p_cmd, tGATT_STATUS status, argument
133 p_cmd->status = GATT_INSUF_RESOURCE;
139 GKI_enqueue (&p_cmd
[all...]
H A Dgatt_cl.c1040 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->pending_cl_req]; local
1047 p_cmd->to_send && p_cmd->p_cmd != NULL)
1049 sent = attp_send_msg_to_L2CAP(p_tcb, p_cmd->p_cmd);
1053 p_cmd->to_send = FALSE;
1054 p_cmd->p_cmd = NULL;
1057 if (p_cmd
[all...]
H A Dgatt_utils.c1916 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->next_slot_inq]; local
1918 p_cmd->to_send = to_send; /* waiting to be sent */
1919 p_cmd->op_code = op_code;
1920 p_cmd->p_cmd = p_buf;
1921 p_cmd->clcb_idx = clcb_idx;
1945 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->pending_cl_req]; local
1950 p_clcb = &gatt_cb.clcb[p_cmd->clcb_idx];
1952 *p_op_code = p_cmd->op_code;
H A Dgatt_int.h251 BT_HDR *p_cmd; member in struct:__anon1147
/external/libnfc-nci/src/nfc/tags/
H A Drw_i93.c539 BT_HDR *p_cmd; local
544 p_cmd = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID);
546 if (!p_cmd)
552 p_cmd->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
553 p_cmd->len = 3;
554 p = (UINT8 *) (p_cmd + 1) + p_cmd->offset;
572 p_cmd->len++;
579 p_cmd->len += I93_UID_BYTE_LEN;
586 if (rw_i93_send_to_lower (p_cmd))
608 BT_HDR *p_cmd; local
660 BT_HDR *p_cmd; local
726 BT_HDR *p_cmd; local
807 BT_HDR *p_cmd; local
867 BT_HDR *p_cmd; local
934 BT_HDR *p_cmd; local
987 BT_HDR *p_cmd; local
1035 BT_HDR *p_cmd; local
1083 BT_HDR *p_cmd; local
1132 BT_HDR *p_cmd; local
1180 BT_HDR *p_cmd; local
1229 BT_HDR *p_cmd; local
1277 BT_HDR *p_cmd; local
1333 BT_HDR *p_cmd; local
[all...]
H A Dce_t4t.c368 static BOOLEAN ce_t4t_process_select_file_cmd (UINT8 *p_cmd) argument
375 p_cmd++; /* skip P2 */
378 BE_STREAM_TO_UINT8 (data_len, p_cmd);
383 BE_STREAM_TO_UINT16 (file_id, p_cmd);
420 static void ce_t4t_process_select_app_cmd (UINT8 *p_cmd, BT_HDR *p_c_apdu) argument
429 p_cmd++; /* skip P2 */
432 BE_STREAM_TO_UINT8 (data_len, p_cmd);
438 &&(!memcmp(p_cmd, ce_test_tag_app_id, data_len))
458 &&(!(memcmp(ce_cb.mem.t4t.reg_aid[xx].aid, p_cmd, data_len))) )
489 &&(!memcmp(p_cmd, t4t_v20_ndef_tag_ai
601 UINT8 *p_cmd; local
[all...]
/external/bluetooth/bluedroid/stack/btu/
H A Dbtu_hcif.c155 BT_HDR *p_cmd; local
175 if ((p_cmd = HCI_GET_CMD_BUF(p_buf->len + p_buf->offset - HCIC_PREAMBLE_SIZE)) == NULL)
181 memcpy (p_cmd, p_buf, sizeof(BT_HDR));
196 memcpy ((UINT8 *)(p_cmd + 1), (UINT8 *)(p_buf + 1), sizeof(void *));
199 memcpy ((UINT8 *)(p_cmd + 1) + p_cmd->offset,
203 GKI_enqueue(&(p_hci_cmd_cb->cmd_cmpl_q), p_cmd);
1168 BT_HDR *p_cmd; local
1190 p_cmd = (BT_HDR *) GKI_getfirst (&p_hci_cmd_cb->cmd_cmpl_q);
1192 while (p_cmd)
1261 btu_hcif_hdl_command_status(UINT16 opcode, UINT8 status, UINT8 *p_cmd, void *p_vsc_status_cback, UINT8 controller_id) argument
1433 BT_HDR *p_cmd = NULL; local
1527 BT_HDR *p_cmd; local
2204 BT_HDR *p_cmd; local
[all...]
/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_at.c90 for (idx = 0; p_cb->p_at_tbl[idx].p_cmd[0] != 0; idx++)
92 if (!utl_strucmp(p_cb->p_at_tbl[idx].p_cmd, p_cb->p_cmd_buf))
99 if (p_cb->p_at_tbl[idx].p_cmd[0] != 0)
102 p_arg = p_cb->p_cmd_buf + strlen(p_cb->p_at_tbl[idx].p_cmd);
H A Dbta_ag_at.h49 const char *p_cmd; /* AT command string */ member in struct:__anon397
/external/bluetooth/bluedroid/stack/include/
H A Davrc_api.h593 AVRC_API extern tAVRC_STS AVRC_BldCommand( tAVRC_COMMAND *p_cmd, BT_HDR **pp_pkt);
/external/bluetooth/bluedroid/stack/sdp/
H A Dsdp_discovery.c122 BT_HDR *p_cmd; local
126 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf (SDP_POOL_ID)) == NULL)
132 p_cmd->offset = L2CAP_MIN_OFFSET;
133 p = p_start = (UINT8 *)(p_cmd + 1) + L2CAP_MIN_OFFSET;
171 p_cmd->len = (UINT16)(p - p_start);
178 L2CA_DataWrite (p_ccb->connection_id, p_cmd);
/external/libnfc-nci/src/nfa/dm/
H A Dnfa_dm_act.c831 BT_HDR *p_cmd = (BT_HDR *)p_data; local
833 p_cmd->offset = sizeof (tNFA_DM_API_SEND_VSC) - BT_HDR_SIZE;
834 p_cmd->len = p_data->send_vsc.cmd_params_len;
835 NFC_SendVsCommand (p_data->send_vsc.oid, p_cmd, p_data->send_vsc.p_cback);

Completed in 2025 milliseconds