HomeSort by relevance Sort by last modified time
    Searched refs:p_cmd (Results 1 - 14 of 14) sorted by null

  /external/bluetooth/bluedroid/stack/avrc/
avrc_opt.c 51 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->layer_specific = AVCT_DATA_CTRL
103 BT_HDR *p_cmd; local
148 BT_HDR *p_cmd; local
    [all...]
avrc_bld_ct.c 41 static tAVRC_STS avrc_bld_next_cmd (tAVRC_NEXT_CMD *p_cmd, BT_HDR *p_pkt)
53 UINT8_TO_BE_STREAM(p_data, p_cmd->target_pdu);
74 static tAVRC_STS avrc_bld_set_abs_volume_cmd (tAVRC_SET_VOLUME_CMD *p_cmd, BT_HDR *p_pkt)
84 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume));
127 static BT_HDR *avrc_bld_init_cmd_buffer(tAVRC_COMMAND *p_cmd)
133 opcode = avrc_opcode_from_pdu(p_cmd->pdu);
134 AVRC_TRACE_API2("avrc_bld_init_cmd_buffer: pdu=%x, opcode=%x", p_cmd->pdu, opcode);
161 *p_data++ = p_cmd->pdu;
176 p_cmd->cmd.opcode = opcode;
191 tAVRC_STS AVRC_BldCommand( tAVRC_COMMAND *p_cmd, BT_HDR **pp_pkt
    [all...]
avrc_api.c 355 BT_HDR *p_cmd = NULL; local
502 if (AVRC_BldCommand ((tAVRC_COMMAND *)&avrc_cmd, &p_cmd) == AVRC_STS_NO_ERROR)
505 AVRC_MsgReq (handle, (UINT8)(label), AVRC_CMD_CTRL, p_cmd);
805 BT_HDR *p_cmd = NULL; local
811 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_CMD_POOL_ID)) != NULL)
813 p_cmd->offset = AVCT_MSG_OFFSET;
814 p_cmd->layer_specific = AVCT_DATA_CTRL;
815 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset;
838 p_cmd->len = (UINT16) (p_data - (UINT8 *)(p_cmd + 1) - p_cmd->offset)
    [all...]
  /external/bluetooth/bluedroid/stack/gatt/
att_protocol.c 387 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)
493 if (attp_send_msg_to_L2CAP(p_tcb, p_cmd))
535 BT_HDR *p_cmd = NULL; local
    [all...]
gatt_sr.c 47 tGATT_SR_CMD *p_cmd = &p_tcb->sr_cmd; local
50 if ( (p_cmd->op_code == 0) ||
62 p_cmd->trans_id = ++p_tcb->trans_id;
63 p_cmd->op_code = op_code;
64 p_cmd->handle = handle;
65 p_cmd->status = GATT_NOT_FOUND;
67 trans_id = p_cmd->trans_id;
122 static BOOLEAN process_read_multi_rsp (tGATT_SR_CMD *p_cmd, tGATT_STATUS status,
135 p_cmd->status = GATT_INSUF_RESOURCE;
141 GKI_enqueue (&p_cmd->multi_rsp_q, p_buf)
    [all...]
gatt_cl.c 1080 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->pending_cl_req]; local
    [all...]
gatt_utils.c 1916 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->next_slot_inq]; local
1945 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->pending_cl_req]; local
    [all...]
gatt_int.h 251 BT_HDR *p_cmd; member in struct:__anon3564
  /external/bluetooth/bluedroid/stack/btu/
btu_hcif.c 155 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
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/
bta_ag_at.c 90 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);
bta_ag_at.h 49 const char *p_cmd; /* AT command string */ member in struct:__anon2803
  /external/bluetooth/bluedroid/stack/include/
avrc_api.h 593 AVRC_API extern tAVRC_STS AVRC_BldCommand( tAVRC_COMMAND *p_cmd, BT_HDR **pp_pkt);
  /external/bluetooth/bluedroid/stack/sdp/
sdp_discovery.c 122 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);
    [all...]
  /external/libnfc-nci/src/nfa/dm/
nfa_dm_act.c 856 BT_HDR *p_cmd = (BT_HDR *)p_data; local
858 p_cmd->offset = sizeof (tNFA_DM_API_SEND_VSC) - BT_HDR_SIZE;
859 p_cmd->len = p_data->send_vsc.cmd_params_len;
860 NFC_SendVsCommand (p_data->send_vsc.oid, p_cmd, p_data->send_vsc.p_cback);
    [all...]

Completed in 814 milliseconds