/system/bt/stack/avrc/ |
H A D | avrc_bld_ct.c | 41 static tAVRC_STS avrc_bld_next_cmd (tAVRC_NEXT_CMD *p_cmd, BT_HDR *p_pkt) argument 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) argument 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) argument 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_HD argument [all...] |
H A D | avrc_opt.c | 49 BT_HDR *p_cmd; local 56 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_META_CMD_POOL_ID)) != NULL) 59 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_CMD_POOL_ID)) != NULL) 62 p_cmd->offset = AVCT_MSG_OFFSET; 63 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; 72 p_cmd->len = (UINT16) (p_data + p_msg->vendor_len - (UINT8 *)(p_cmd + 1) - p_cmd->offset); 73 p_cmd 101 BT_HDR *p_cmd; local 146 BT_HDR *p_cmd; local [all...] |
H A D | avrc_api.c | 379 BT_HDR *p_cmd = NULL; local 526 if (AVRC_BldCommand ((tAVRC_COMMAND *)&avrc_cmd, &p_cmd) == AVRC_STS_NO_ERROR) 529 AVRC_MsgReq (handle, (UINT8)(label), AVRC_CMD_CTRL, p_cmd); 834 BT_HDR *p_cmd = NULL; local 840 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_CMD_POOL_ID)) != NULL) 842 p_cmd->offset = AVCT_MSG_OFFSET; 843 p_cmd->layer_specific = AVCT_DATA_CTRL; 844 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; 867 p_cmd [all...] |
/system/bt/bta/ag/ |
H A D | bta_ag_at.h | 49 const char *p_cmd; /* AT command string */ member in struct:__anon4
|
/system/bt/bta/hf_client/ |
H A D | bta_hf_client_at.h | 30 const char *p_cmd; /* AT command string */ member in struct:__anon194
|
/system/bt/stack/gatt/ |
H A D | 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) argument 493 att_ret = attp_send_msg_to_l2cap(p_tcb, p_cmd); 536 BT_HDR *p_cmd = NULL; local [all...] |
H A D | gatt_cl.c | 1103 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->pending_cl_req]; local 1111 p_cmd->to_send && p_cmd->p_cmd != NULL) 1113 att_ret = attp_send_msg_to_l2cap(p_tcb, p_cmd->p_cmd); 1118 p_cmd->to_send = FALSE; 1119 p_cmd->p_cmd = NULL; 1122 if (p_cmd [all...] |
H A D | 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, argument 136 p_cmd->status = GATT_INSUF_RESOURCE; 142 GKI_enqueue (&p_cmd [all...] |
H A D | gatt_int.h | 266 BT_HDR *p_cmd; member in struct:__anon871
|
H A D | gatt_utils.c | 2014 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->next_slot_inq]; local 2016 p_cmd->to_send = to_send; /* waiting to be sent */ 2017 p_cmd->op_code = op_code; 2018 p_cmd->p_cmd = p_buf; 2019 p_cmd->clcb_idx = clcb_idx; 2043 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->pending_cl_req]; local 2048 p_clcb = &gatt_cb.clcb[p_cmd->clcb_idx]; 2050 *p_op_code = p_cmd->op_code;
|
/system/bt/stack/sdp/ |
H A D | 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);
|
/system/bt/stack/btu/ |
H A D | btu_hcif.c | 993 static void btu_hcif_hdl_command_status (UINT16 opcode, UINT8 status, UINT8 *p_cmd, argument 1010 if (p_cmd != NULL) 1012 p_cmd++; /* bypass length field */ 1013 STREAM_TO_UINT16 (handle, p_cmd); 1052 if (p_cmd != NULL) 1054 p_cmd++; 1055 STREAM_TO_BDADDR (bd_addr, p_cmd); 1065 if (p_cmd != NULL) 1067 p_cmd++; 1068 STREAM_TO_BDADDR (bd_addr, p_cmd); [all...] |