/system/bt/stack/avrc/ |
H A D | avrc_opt.cc | 48 BT_HDR* p_cmd; local 55 p_cmd = (BT_HDR*)osi_malloc(AVRC_META_CMD_BUF_SIZE); 58 p_cmd = (BT_HDR*)osi_malloc(AVRC_CMD_BUF_SIZE); 61 p_cmd->offset = AVCT_MSG_OFFSET; 62 p_data = (uint8_t*)(p_cmd + 1) + p_cmd->offset; 70 p_cmd->len = (uint16_t)(p_data + p_msg->vendor_len - (uint8_t*)(p_cmd + 1) - 71 p_cmd->offset); 72 p_cmd 99 BT_HDR* p_cmd = (BT_HDR*)osi_malloc(AVRC_CMD_BUF_SIZE); local 142 BT_HDR* p_cmd = (BT_HDR*)osi_malloc(AVRC_CMD_BUF_SIZE); local [all...] |
H A D | avrc_bld_ct.cc | 40 static tAVRC_STS avrc_bld_next_cmd(tAVRC_NEXT_CMD* p_cmd, BT_HDR* p_pkt) { argument 51 UINT8_TO_BE_STREAM(p_data, p_cmd->target_pdu); 72 static tAVRC_STS avrc_bld_set_abs_volume_cmd(tAVRC_SET_VOLUME_CMD* p_cmd, argument 82 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume)); 249 BT_HDR* p_pkt, tAVRC_GET_APP_ATTR_TXT_CMD* p_cmd) { 255 uint8_t param_len = p_cmd->num_attr + 1; 258 UINT8_TO_BE_STREAM(p_data, p_cmd->num_attr); 259 for (int count = 0; count < p_cmd->num_attr; count++) { 260 UINT8_TO_BE_STREAM(p_data, p_cmd->attrs[count]); 278 BT_HDR* p_pkt, tAVRC_GET_APP_VAL_TXT_CMD* p_cmd) { 248 avrc_bld_get_player_app_setting_attr_text_cmd( BT_HDR* p_pkt, tAVRC_GET_APP_ATTR_TXT_CMD* p_cmd) argument 277 avrc_bld_get_player_app_setting_value_text_cmd( BT_HDR* p_pkt, tAVRC_GET_APP_VAL_TXT_CMD* p_cmd) argument 500 avrc_bld_init_cmd_buffer(tAVRC_COMMAND* p_cmd) argument 562 AVRC_BldCommand(tAVRC_COMMAND* p_cmd, BT_HDR** pp_pkt) argument [all...] |
H A D | avrc_api.cc | 459 BT_HDR* p_cmd = NULL; local 600 status = AVRC_BldCommand(&avrc_command, &p_cmd); 602 AVRC_MsgReq(handle, (uint8_t)(label), AVRC_CMD_CTRL, p_cmd); 957 BT_HDR* p_cmd = (BT_HDR*)osi_malloc(AVRC_CMD_BUF_SIZE); local 958 p_cmd->offset = AVCT_MSG_OFFSET; 959 p_cmd->layer_specific = AVCT_DATA_CTRL; 961 uint8_t* p_data = (uint8_t*)(p_cmd + 1) + p_cmd->offset; 979 p_cmd->len = (uint16_t)(p_data - (uint8_t*)(p_cmd [all...] |
/system/nfc/halimpl/pn54x/hal/ |
H A D | phNxpNciHal_ext.h | 25 NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t* p_cmd);
|
H A D | phNxpNciHal_ext.c | 482 uint8_t* p_cmd) { 496 data_written = phNxpNciHal_write_unlocked(cmd_len, p_cmd); 905 NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t* p_cmd) { argument 910 memcpy(nxpncihal_ctrl.p_cmd_data, p_cmd, cmd_len); 481 phNxpNciHal_process_ext_cmd_rsp(uint16_t cmd_len, uint8_t* p_cmd) argument
|
H A D | phNxpNciHal_NfcDepSWPrio.c | 28 extern NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t* p_cmd);
|
/system/nfc/src/nfc/tags/ |
H A D | rw_i93.c | 500 NFC_HDR* p_cmd; local 506 p_cmd = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); 508 if (!p_cmd) { 513 p_cmd->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; 514 p_cmd->len = 3; 515 p = (uint8_t*)(p_cmd + 1) + p_cmd->offset; 532 p_cmd->len++; 538 p_cmd->len += I93_UID_BYTE_LEN; 543 if (rw_i93_send_to_lower(p_cmd)) { 561 NFC_HDR* p_cmd; local 611 NFC_HDR* p_cmd; local 671 NFC_HDR* p_cmd; local 743 NFC_HDR* p_cmd; local 798 NFC_HDR* p_cmd; local 860 NFC_HDR* p_cmd; local 911 NFC_HDR* p_cmd; local 955 NFC_HDR* p_cmd; local 1000 NFC_HDR* p_cmd; local 1045 NFC_HDR* p_cmd; local 1089 NFC_HDR* p_cmd; local 1134 NFC_HDR* p_cmd; local 1178 NFC_HDR* p_cmd; local 1227 NFC_HDR* p_cmd; local [all...] |
H A D | ce_t4t.c | 336 static bool ce_t4t_process_select_file_cmd(uint8_t* p_cmd) { argument 342 p_cmd++; /* skip P2 */ 345 BE_STREAM_TO_UINT8(data_len, p_cmd); 349 BE_STREAM_TO_UINT16(file_id, p_cmd); 379 static void ce_t4t_process_select_app_cmd(uint8_t* p_cmd, NFC_HDR* p_c_apdu) { argument 387 p_cmd++; /* skip P2 */ 390 BE_STREAM_TO_UINT8(data_len, p_cmd); 395 (!memcmp(p_cmd, ce_test_tag_app_id, data_len)) && 413 (!(memcmp(ce_cb.mem.t4t.reg_aid[xx].aid, p_cmd, data_len)))) { 444 (!memcmp(p_cmd, t4t_v20_ndef_tag_ai 543 uint8_t* p_cmd; local [all...] |
/system/bt/stack/gatt/ |
H A D | att_protocol.cc | 420 uint8_t cmd_code, BT_HDR* p_cmd) { 424 gatt_cmd_enq(tcb, p_clcb, true, cmd_code, p_cmd); 429 tGATT_STATUS att_ret = attp_send_msg_to_l2cap(tcb, p_cmd); 462 BT_HDR* p_cmd = NULL; local 469 p_cmd = attp_build_mtu_cmd(GATT_REQ_MTU, p_msg->mtu); 480 p_cmd = attp_build_browse_cmd(op_code, p_msg->browse.s_handle, 493 p_cmd = attp_build_handle_cmd(op_code, handle, offset); 497 p_cmd = attp_build_opcode_cmd(op_code); 509 p_cmd = attp_build_value_cmd( 515 p_cmd 419 attp_cl_send_cmd(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, uint8_t cmd_code, BT_HDR* p_cmd) argument [all...] |
H A D | gatt_sr.cc | 48 tGATT_SR_CMD* p_cmd = &tcb.sr_cmd; local 51 if ((p_cmd->op_code == 0) || 58 p_cmd->trans_id = ++tcb.trans_id; 59 p_cmd->op_code = op_code; 60 p_cmd->handle = handle; 61 p_cmd->status = GATT_NOT_FOUND; 63 trans_id = p_cmd->trans_id; 112 static bool process_read_multi_rsp(tGATT_SR_CMD* p_cmd, tGATT_STATUS status, argument 120 if (p_cmd->multi_rsp_q == NULL) 121 p_cmd [all...] |
H A D | gatt_cl.cc | 996 if (!cmd.to_send || cmd.p_cmd == NULL) return false; 998 tGATT_STATUS att_ret = attp_send_msg_to_l2cap(tcb, cmd.p_cmd); 1006 cmd.p_cmd = NULL;
|
H A D | gatt_int.h | 202 BT_HDR* p_cmd; member in struct:__anon912
|
H A D | gatt_utils.cc | 1263 cmd.p_cmd = p_buf;
|
/system/bt/bta/ag/ |
H A D | bta_ag_at.cc | 85 for (idx = 0; p_cb->p_at_tbl[idx].p_cmd[0] != 0; idx++) { 86 if (!utl_strucmp(p_cb->p_at_tbl[idx].p_cmd, p_cb->p_cmd_buf)) { 92 if (p_cb->p_at_tbl[idx].p_cmd[0] != 0) { 94 p_arg = p_cb->p_cmd_buf + strlen(p_cb->p_at_tbl[idx].p_cmd);
|
H A D | bta_ag_at.h | 48 const char* p_cmd; /* AT command string */ member in struct:__anon5 49 size_t command_id; /* passed to the callback on p_cmd match */
|
/system/bt/stack/btu/ |
H A D | btu_hcif.cc | 1036 uint8_t* p_cmd, 1050 if (p_cmd != NULL) { 1051 p_cmd++; /* bypass length field */ 1052 STREAM_TO_UINT16(handle, p_cmd); 1089 if (p_cmd != NULL) { 1090 p_cmd++; 1091 STREAM_TO_BDADDR(bd_addr, p_cmd); 1101 if (p_cmd != NULL) { 1102 p_cmd++; 1103 STREAM_TO_BDADDR(bd_addr, p_cmd); 1035 btu_hcif_hdl_command_status(uint16_t opcode, uint8_t status, uint8_t* p_cmd, void* p_vsc_status_cback) argument [all...] |
/system/bt/stack/include/ |
H A D | avrc_api.h | 668 extern tAVRC_STS AVRC_BldCommand(tAVRC_COMMAND* p_cmd, BT_HDR** pp_pkt);
|
/system/nfc/src/nfa/dm/ |
H A D | nfa_dm_act.c | 863 NFC_HDR* p_cmd = (NFC_HDR*)p_data; local 865 p_cmd->offset = sizeof(tNFA_DM_API_SEND_VSC) - NFC_HDR_SIZE; 866 p_cmd->len = p_data->send_vsc.cmd_params_len; 867 NFC_SendVsCommand(p_data->send_vsc.oid, p_cmd, p_data->send_vsc.p_cback); 886 NFC_HDR* p_cmd = (NFC_HDR*)p_data; local 888 p_cmd->offset = sizeof(tNFA_DM_API_SEND_VSC) - NFC_HDR_SIZE; 889 p_cmd->len = p_data->send_vsc.cmd_params_len; 890 NFC_SendRawVsCommand(p_cmd, p_data->send_vsc.p_cback);
|
/system/bt/stack/sdp/ |
H A D | sdp_discovery.cc | 122 BT_HDR* p_cmd = (BT_HDR*)osi_malloc(SDP_DATA_BUF_SIZE); local 126 p_cmd->offset = L2CAP_MIN_OFFSET; 127 p = p_start = (uint8_t*)(p_cmd + 1) + L2CAP_MIN_OFFSET; 166 p_cmd->len = (uint16_t)(p - p_start); 173 L2CA_DataWrite(p_ccb->connection_id, p_cmd);
|