/system/core/libappfuse/tests/ |
D | FuseBridgeLoopTest.cc | 64 void CheckNotImpl(uint32_t opcode) { in CheckNotImpl() argument 65 SCOPED_TRACE((std::ostringstream() << "opcode: " << opcode).str()); in CheckNotImpl() 68 request_.header.opcode = opcode; in CheckNotImpl() 78 void CheckProxy(uint32_t opcode) { in CheckProxy() argument 79 SCOPED_TRACE((std::ostringstream() << "opcode: " << opcode).str()); in CheckProxy() 82 request_.header.opcode = opcode; in CheckProxy() 83 request_.header.unique = opcode; // Use opcode as unique. in CheckProxy() 89 EXPECT_EQ(opcode, request_.header.opcode); in CheckProxy() 90 EXPECT_EQ(opcode, request_.header.unique); in CheckProxy() 94 response_.header.unique = opcode; // Use opcode as unique. in CheckProxy() [all …]
|
/system/bt/stack/avrc/ |
D | avrc_utils.cc | 187 uint8_t opcode = 0; in avrc_opcode_from_pdu() local 197 opcode = AVRC_OP_BROWSE; in avrc_opcode_from_pdu() 202 opcode = AVRC_OP_PASS_THRU; in avrc_opcode_from_pdu() 206 opcode = AVRC_OP_VENDOR; in avrc_opcode_from_pdu() 210 return opcode; in avrc_opcode_from_pdu() 222 bool avrc_is_valid_opcode(uint8_t opcode) { in avrc_is_valid_opcode() argument 224 switch (opcode) { in avrc_is_valid_opcode()
|
D | avrc_bld_tg.cc | 751 uint8_t opcode = p_rsp->opcode; in avrc_bld_rejected_rsp() local 754 p_rsp->pdu, opcode); in avrc_bld_rejected_rsp() 756 if (opcode == AVRC_OP_BROWSE) { in avrc_bld_rejected_rsp() 768 AVRC_TRACE_DEBUG("%s pdu:x%x, Opcode:%x", __func__, *p_start, opcode); in avrc_bld_rejected_rsp() 1301 uint8_t opcode = avrc_opcode_from_pdu(p_rsp->pdu); in avrc_bld_init_rsp_buffer() local 1303 AVRC_TRACE_API("%s: pdu=%x, opcode=%x/%x", __func__, p_rsp->pdu, opcode, in avrc_bld_init_rsp_buffer() 1304 p_rsp->rsp.opcode); in avrc_bld_init_rsp_buffer() 1305 if (opcode != p_rsp->rsp.opcode && p_rsp->rsp.status != AVRC_STS_NO_ERROR && in avrc_bld_init_rsp_buffer() 1306 avrc_is_valid_opcode(p_rsp->rsp.opcode)) { in avrc_bld_init_rsp_buffer() 1307 opcode = p_rsp->rsp.opcode; in avrc_bld_init_rsp_buffer() [all …]
|
D | avrc_bld_ct.cc | 502 uint8_t opcode = avrc_opcode_from_pdu(p_cmd->pdu); in avrc_bld_init_cmd_buffer() local 504 opcode); in avrc_bld_init_cmd_buffer() 507 switch (opcode) { in avrc_bld_init_cmd_buffer() 527 p_pkt->event = opcode; in avrc_bld_init_cmd_buffer() 533 if (opcode != AVRC_OP_PASS_THRU) *p_data++ = p_cmd->pdu; in avrc_bld_init_cmd_buffer() 535 switch (opcode) { in avrc_bld_init_cmd_buffer() 546 p_cmd->cmd.opcode = opcode; in avrc_bld_init_cmd_buffer()
|
D | avrc_pars_tg.cc | 375 switch (p_msg->hdr.opcode) { in AVRC_Ctrl_ParsCommand() 381 AVRC_TRACE_ERROR("%s unknown opcode:0x%x", __func__, p_msg->hdr.opcode); in AVRC_Ctrl_ParsCommand() 384 p_result->cmd.opcode = p_msg->hdr.opcode; in AVRC_Ctrl_ParsCommand() 536 switch (p_msg->hdr.opcode) { in AVRC_ParsCommand() 554 AVRC_TRACE_ERROR("%s unknown opcode:0x%x", __func__, p_msg->hdr.opcode); in AVRC_ParsCommand() 557 p_result->cmd.opcode = p_msg->hdr.opcode; in AVRC_ParsCommand()
|
D | avrc_api.cc | 395 p_msg->hdr.opcode = in avrc_proc_vendor_command() 402 p_msg->hdr.opcode = AVRC_OP_DROP_N_FREE; in avrc_proc_vendor_command() 581 } else if (p_msg->hdr.opcode == AVRC_OP_DROP) { in avrc_proc_far_msg() 583 } else if (p_msg->hdr.opcode == AVRC_OP_DROP_N_FREE) in avrc_proc_far_msg() 625 uint8_t opcode; in avrc_msg_cback() local 662 opcode = AVRC_OP_BROWSE; in avrc_msg_cback() 681 opcode = p_data[2]; in avrc_msg_cback() 686 switch (opcode) { in avrc_msg_cback() 874 if (opcode != AVRC_OP_BROWSE) drop = true; in avrc_msg_cback() 894 msg.hdr.opcode = opcode; in avrc_msg_cback() [all …]
|
/system/bt/stack/include/ |
D | avrc_defs.h | 881 uint8_t opcode; /* Op Code (passthrough, vendor, etc) */ member 1099 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member 1107 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member 1115 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member 1124 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member 1133 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member 1142 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member 1152 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member 1161 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member 1169 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member [all …]
|
/system/nfc/src/nfc/int/ |
D | tags_int.h | 34 uint8_t opcode; member 61 uint8_t opcode; member 74 extern const tT1T_CMD_RSP_INFO* t1t_cmd_to_rsp_info(uint8_t opcode); 82 extern const tT2T_CMD_RSP_INFO* t2t_cmd_to_rsp_info(uint8_t opcode);
|
/system/bt/hci/include/ |
D | vendor.h | 61 int (*send_command)(vendor_opcode_t opcode, void* param); 64 int (*send_async_command)(vendor_async_opcode_t opcode, void* param); 67 void (*set_callback)(vendor_async_opcode_t opcode, vendor_cb callback);
|
D | bt_vendor_lib.h | 320 typedef uint8_t (*cmd_xmit_cb)(uint16_t opcode, void* p_buf, 395 int (*op)(bt_vendor_opcode_t opcode, void* param);
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | command_packet.cc | 32 CommandPacket::CommandPacket(uint16_t opcode) in CommandPacket() argument 33 : Packet(DATA_TYPE_COMMAND, {static_cast<uint8_t>(opcode), in CommandPacket() 34 static_cast<uint8_t>(opcode >> 8)}) {} in CommandPacket()
|
/system/nfc/src/nfc/tags/ |
D | tags_int.c | 111 const tT1T_CMD_RSP_INFO* t1t_cmd_to_rsp_info(uint8_t opcode) { in t1t_cmd_to_rsp_info() argument 116 if (opcode == p->opcode) { in t1t_cmd_to_rsp_info() 186 const tT2T_CMD_RSP_INFO* t2t_cmd_to_rsp_info(uint8_t opcode) { in t2t_cmd_to_rsp_info() argument 191 if (opcode == p->opcode) { in t2t_cmd_to_rsp_info()
|
D | rw_t1t.c | 121 ((p_cmd_rsp_info->opcode != T1T_CMD_RALL) && in rw_t1t_data_cback() 122 (p_cmd_rsp_info->opcode != T1T_CMD_RID) && (*p != p_t1t->addr))) in rw_t1t_data_cback() 150 p_cmd_rsp_info->opcode); in rw_t1t_data_cback() 153 p_t1t->state, p_cmd_rsp_info->opcode); in rw_t1t_data_cback() 165 p_cmd_rsp_info->opcode); in rw_t1t_data_cback() 179 p_t1t->prev_cmd_rsp_info.addr = ((p_cmd_rsp_info->opcode != T1T_CMD_RALL) && in rw_t1t_data_cback() 180 (p_cmd_rsp_info->opcode != T1T_CMD_RID)) in rw_t1t_data_cback() 184 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode; in rw_t1t_data_cback() 190 if (p_cmd_rsp_info->opcode == T1T_CMD_RID) { in rw_t1t_data_cback() 325 tNFC_STATUS rw_t1t_send_static_cmd(uint8_t opcode, uint8_t add, uint8_t dat) { in rw_t1t_send_static_cmd() argument [all …]
|
/system/bt/stack/btu/ |
D | btu_hcif.cc | 382 uint16_t opcode; in btu_hcif_send_cmd() local 386 STREAM_TO_UINT16(opcode, stream); in btu_hcif_send_cmd() 390 if ((opcode & HCI_GRP_VENDOR_SPECIFIC) == HCI_GRP_VENDOR_SPECIFIC || in btu_hcif_send_cmd() 391 (opcode == HCI_BLE_RAND) || (opcode == HCI_BLE_ENCRYPT)) { in btu_hcif_send_cmd() 420 command_opcode_t opcode; in btu_hcif_command_complete_evt_with_cb_on_task() local 424 STREAM_TO_UINT16(opcode, stream); in btu_hcif_command_complete_evt_with_cb_on_task() 446 command_opcode_t opcode; in btu_hcif_command_status_evt_with_cb_on_task() local 448 STREAM_TO_UINT16(opcode, stream); in btu_hcif_command_status_evt_with_cb_on_task() 480 uint16_t opcode, uint8_t* params, in btu_hcif_send_cmd_with_cb() argument 488 UINT16_TO_STREAM(pp, opcode); in btu_hcif_send_cmd_with_cb() [all …]
|
/system/bt/hci/src/ |
D | hci_packet_factory.cc | 33 static BT_HDR* make_command_no_params(uint16_t opcode); 34 static BT_HDR* make_command(uint16_t opcode, size_t parameter_size, 170 static BT_HDR* make_command_no_params(uint16_t opcode) { in make_command_no_params() argument 171 return make_command(opcode, 0, NULL); in make_command_no_params() 174 static BT_HDR* make_command(uint16_t opcode, size_t parameter_size, in make_command() argument 179 UINT16_TO_STREAM(stream, opcode); in make_command()
|
D | hci_layer.cc | 63 uint16_t opcode; member 115 static waiting_command_t* get_waiting_command(command_opcode_t opcode); 315 STREAM_TO_UINT16(wait_entry->opcode, stream); in transmit_command() 334 STREAM_TO_UINT16(wait_entry->opcode, stream); in transmit_command_futured() 466 __func__, wait_time_ms, wait_entry->opcode, in command_timed_out() 480 LOG_EVENT_INT(BT_HCI_TIMEOUT_TAG_NUM, wait_entry->opcode); in command_timed_out() 544 command_opcode_t opcode; in filter_incoming_event() local 551 STREAM_TO_UINT16(opcode, stream); in filter_incoming_event() 553 wait_entry = get_waiting_command(opcode); in filter_incoming_event() 558 if (opcode != HCI_COMMAND_NONE) { in filter_incoming_event() [all …]
|
/system/core/trusty/storage/proxy/ |
D | rpmb.c | 109 cmd->opcode = MMC_WRITE_MULTIPLE_BLOCK; in rpmb_send() 115 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag); in rpmb_send() 131 cmd->opcode = MMC_WRITE_MULTIPLE_BLOCK; in rpmb_send() 137 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag); in rpmb_send() 154 cmd->opcode = MMC_READ_MULTIPLE_BLOCK; in rpmb_send() 160 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag); in rpmb_send()
|
/system/core/libappfuse/ |
D | FuseBridgeLoop.cc | 181 const uint32_t opcode = buffer_.request.header.opcode; in ReadFromDevice() local 183 LOG(VERBOSE) << "Read a fuse packet, opcode=" << opcode << " unique=" << unique; in ReadFromDevice() 187 switch (opcode) { in ReadFromDevice() 199 if (opcode == FUSE_OPEN || opcode == FUSE_RELEASE) { in ReadFromDevice() 200 opcode_map_.emplace(buffer_.request.header.unique, opcode); in ReadFromDevice() 218 if (opcode == FUSE_INIT) { in ReadFromDevice() 232 << " header.opcode=" << buffer_.request.header.opcode in WriteToProxy()
|
D | FuseBuffer.cc | 190 uint32_t data_length, uint32_t opcode, uint64_t unique) { in Reset() argument 193 header.opcode = opcode; in Reset() 252 LOG(VERBOSE) << "NOTIMPL op=" << request.header.opcode << " uniq=" in HandleNotImpl()
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | packet_stream_unittest.cc | 56 void CheckedReceiveCommand(const char* payload, uint16_t opcode) { in CheckedReceiveCommand() argument 61 packet.push_back(opcode); in CheckedReceiveCommand() 62 packet.push_back(opcode >> 8); in CheckedReceiveCommand() 81 EXPECT_EQ(opcode, command->GetOpcode()); in CheckedReceiveCommand()
|
/system/core/libpixelflinger/codeflinger/ |
D | Arm64Assembler.cpp | 339 void ArmToArm64Assembler::dataProcessingCommon(int opcode, in dataProcessingCommon() argument 342 if(opcode != opSUB && s == 1) in dataProcessingCommon() 348 if(opcode != opSUB && opcode != opADD && opcode != opAND && in dataProcessingCommon() 349 opcode != opORR && opcode != opMVN) in dataProcessingCommon() 395 switch(opcode) in dataProcessingCommon() 407 void ArmToArm64Assembler::dataProcessing(int opcode, int cc, in dataProcessing() argument 417 if(opcode == opADD || opcode == opAND || opcode == opORR ||opcode == opSUB) in dataProcessing() 419 dataProcessingCommon(opcode, s, Wd, Rn, Op2); in dataProcessing() 421 else if(opcode == opCMP) in dataProcessing() 425 else if(opcode == opRSB) in dataProcessing() [all …]
|
/system/connectivity/wifilogd/ |
D | protocol.h | 55 opcode = new_opcode; in set_opcode() 69 Opcode opcode; member
|
/system/connectivity/wifilogd/tests/ |
D | protocol_unittest.cpp | 62 EXPECT_EQ(10U, offsetof(Command, opcode)); in TEST() 63 EXPECT_EQ(2U, sizeof(Command::opcode)); in TEST()
|
/system/bt/btif/src/ |
D | btif_rc.cc | 252 uint8_t status, uint8_t opcode); 876 pmeta_msg->p_msg->hdr.opcode, pmeta_msg->code); in handle_rc_metamsg_cmd() 884 if (pmeta_msg->p_msg->hdr.opcode != AVRC_OP_VENDOR && in handle_rc_metamsg_cmd() 885 pmeta_msg->p_msg->hdr.opcode != AVRC_OP_BROWSE) { in handle_rc_metamsg_cmd() 886 BTIF_TRACE_WARNING("Invalid opcode: %x", pmeta_msg->p_msg->hdr.opcode); in handle_rc_metamsg_cmd() 892 pmeta_msg->p_msg->hdr.opcode, pmeta_msg->len); in handle_rc_metamsg_cmd() 924 pmeta_msg->p_msg->hdr.opcode); in handle_rc_metamsg_cmd() 1042 p_data->meta_msg.p_msg->hdr.opcode, in btif_rc_handler() 1047 switch (p_data->meta_msg.p_msg->hdr.opcode) { in btif_rc_handler() 1143 remote_cmd.hdr.opcode = AVRC_OP_PASS_THRU; in btif_rc_check_handle_pending_play() [all …]
|
/system/bt/btif/include/ |
D | btif_api.h | 379 bt_status_t btif_dut_mode_send(uint16_t opcode, uint8_t* buf, uint8_t len); 390 bt_status_t btif_le_test_mode(uint16_t opcode, uint8_t* buf, uint8_t len);
|