/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_API("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/btu/ |
btu_hcif.c | 161 BT_HDR *p_cmd; local 181 if ((p_cmd = HCI_GET_CMD_BUF(p_buf->len + p_buf->offset - HCIC_PREAMBLE_SIZE)) == NULL) 187 memcpy (p_cmd, p_buf, sizeof(BT_HDR)); 197 memcpy ((UINT8 *)(p_cmd + 1), (UINT8 *)(p_buf + 1), sizeof(void *)); 200 memcpy ((UINT8 *)(p_cmd + 1) + p_cmd->offset, 204 GKI_enqueue(&(p_hci_cmd_cb->cmd_cmpl_q), p_cmd); 1182 BT_HDR *p_cmd; local 1453 BT_HDR *p_cmd = NULL; local 1546 BT_HDR *p_cmd; local 2216 BT_HDR *p_cmd; local [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
att_protocol.c | 388 BT_HDR *p_cmd = NULL; local 405 p_cmd = attp_build_value_cmd(p_tcb->payload_size, 414 p_cmd = attp_build_opcode_cmd(op_code); 418 p_cmd = attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle, p_msg->error.reason); 422 p_cmd = attp_build_exec_write_cmd(op_code, 0); 426 p_cmd = attp_build_mtu_cmd(op_code, p_msg->mtu); 434 if (!p_cmd) 437 return p_cmd; 481 tGATT_STATUS attp_cl_send_cmd(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 cmd_code, BT_HDR *p_cmd) 493 att_ret = attp_send_msg_to_l2cap(p_tcb, p_cmd); 536 BT_HDR *p_cmd = NULL; local [all...] |
gatt_sr.c | 48 tGATT_SR_CMD *p_cmd = &p_tcb->sr_cmd; local 51 if ( (p_cmd->op_code == 0) || 63 p_cmd->trans_id = ++p_tcb->trans_id; 64 p_cmd->op_code = op_code; 65 p_cmd->handle = handle; 66 p_cmd->status = GATT_NOT_FOUND; 68 trans_id = p_cmd->trans_id; 123 static BOOLEAN process_read_multi_rsp (tGATT_SR_CMD *p_cmd, tGATT_STATUS status, 136 p_cmd->status = GATT_INSUF_RESOURCE; 142 GKI_enqueue (&p_cmd->multi_rsp_q, p_buf) [all...] |
gatt_cl.c | 1101 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->pending_cl_req]; local [all...] |
gatt_utils.c | 2009 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->next_slot_inq]; local 2038 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->pending_cl_req]; local [all...] |
gatt_int.h | 266 BT_HDR *p_cmd; member in struct:__anon5911
|
/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:__anon5025
|
/external/bluetooth/bluedroid/bta/hf_client/ |
bta_hf_client_at.h | 30 const char *p_cmd; /* AT command string */ member in struct:__anon5222
|
/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 | 861 BT_HDR *p_cmd = (BT_HDR *)p_data; local 863 p_cmd->offset = sizeof (tNFA_DM_API_SEND_VSC) - BT_HDR_SIZE; 864 p_cmd->len = p_data->send_vsc.cmd_params_len; 865 NFC_SendVsCommand (p_data->send_vsc.oid, p_cmd, p_data->send_vsc.p_cback); [all...] |
/external/bluetooth/bluedroid/stack/include/ |
avrc_api.h | 593 AVRC_API extern tAVRC_STS AVRC_BldCommand( tAVRC_COMMAND *p_cmd, BT_HDR **pp_pkt);
|