/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 | 185 uint8_t opcode = 0; in avrc_opcode_from_pdu() local 195 opcode = AVRC_OP_BROWSE; in avrc_opcode_from_pdu() 200 opcode = AVRC_OP_PASS_THRU; in avrc_opcode_from_pdu() 204 opcode = AVRC_OP_VENDOR; in avrc_opcode_from_pdu() 208 return opcode; in avrc_opcode_from_pdu() 220 bool avrc_is_valid_opcode(uint8_t opcode) { in avrc_is_valid_opcode() argument 222 switch (opcode) { in avrc_is_valid_opcode()
|
D | avrc_bld_tg.cc | 750 uint8_t opcode = p_rsp->opcode; in avrc_bld_rejected_rsp() local 753 p_rsp->pdu, opcode); in avrc_bld_rejected_rsp() 755 if (opcode == AVRC_OP_BROWSE) { in avrc_bld_rejected_rsp() 767 AVRC_TRACE_DEBUG("%s pdu:x%x, Opcode:%x", __func__, *p_start, opcode); in avrc_bld_rejected_rsp() 1299 uint8_t opcode = avrc_opcode_from_pdu(p_rsp->pdu); in avrc_bld_init_rsp_buffer() local 1301 AVRC_TRACE_API("%s: pdu=%x, opcode=%x/%x", __func__, p_rsp->pdu, opcode, in avrc_bld_init_rsp_buffer() 1302 p_rsp->rsp.opcode); in avrc_bld_init_rsp_buffer() 1303 if (opcode != p_rsp->rsp.opcode && p_rsp->rsp.status != AVRC_STS_NO_ERROR && in avrc_bld_init_rsp_buffer() 1304 avrc_is_valid_opcode(p_rsp->rsp.opcode)) { in avrc_bld_init_rsp_buffer() 1305 opcode = p_rsp->rsp.opcode; in avrc_bld_init_rsp_buffer() [all …]
|
D | avrc_bld_ct.cc | 501 uint8_t opcode = avrc_opcode_from_pdu(p_cmd->pdu); in avrc_bld_init_cmd_buffer() local 503 opcode); in avrc_bld_init_cmd_buffer() 506 switch (opcode) { in avrc_bld_init_cmd_buffer() 526 p_pkt->event = opcode; in avrc_bld_init_cmd_buffer() 532 if (opcode != AVRC_OP_PASS_THRU) *p_data++ = p_cmd->pdu; in avrc_bld_init_cmd_buffer() 534 switch (opcode) { in avrc_bld_init_cmd_buffer() 545 p_cmd->cmd.opcode = opcode; in avrc_bld_init_cmd_buffer()
|
/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/bt/vendor_libs/test_vendor_lib/packets/link_layer/ |
D | command_builder.h | 34 static std::unique_ptr<CommandBuilder> Create(uint16_t opcode, PacketView<true> args) { in Create() argument 35 return std::unique_ptr<CommandBuilder>(new CommandBuilder(opcode, args)); in Create() 51 explicit CommandBuilder(uint16_t opcode, PacketView<true> args) : opcode_(opcode), args_(args) {} in CommandBuilder() argument
|
D | response_builder.h | 32 …static std::unique_ptr<ResponseBuilder> Create(uint16_t opcode, const std::vector<uint64_t>& data)… in Create() argument 33 return std::unique_ptr<ResponseBuilder>(new ResponseBuilder(opcode, data)); in Create() 47 …explicit ResponseBuilder(uint16_t opcode, const std::vector<uint64_t> data) : opcode_(opcode), dat… in ResponseBuilder() argument
|
/system/bt/stack/btu/ |
D | btu_hcif.cc | 470 static void btu_hcif_log_command_metrics(uint16_t opcode, uint8_t* p_cmd, in btu_hcif_log_command_metrics() argument 485 switch (opcode) { in btu_hcif_log_command_metrics() 492 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, kUnknownBleEvt, in btu_hcif_log_command_metrics() 500 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics() 508 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics() 518 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics() 528 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics() 564 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics() 594 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics() 606 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics() [all …]
|
/system/nfc/src/nfc/include/ |
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);
|
/system/nfc/src/nfc/tags/ |
D | tags_int.cc | 107 const tT1T_CMD_RSP_INFO* t1t_cmd_to_rsp_info(uint8_t opcode) { in t1t_cmd_to_rsp_info() argument 112 if (opcode == p->opcode) { in t1t_cmd_to_rsp_info() 182 const tT2T_CMD_RSP_INFO* t2t_cmd_to_rsp_info(uint8_t opcode) { in t2t_cmd_to_rsp_info() argument 187 if (opcode == p->opcode) { in t2t_cmd_to_rsp_info()
|
D | rw_t1t.cc | 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() 149 rw_t1t_get_state_name(p_t1t->state).c_str(), p_cmd_rsp_info->opcode); in rw_t1t_data_cback() 161 p_cmd_rsp_info->opcode); in rw_t1t_data_cback() 175 p_t1t->prev_cmd_rsp_info.addr = ((p_cmd_rsp_info->opcode != T1T_CMD_RALL) && in rw_t1t_data_cback() 176 (p_cmd_rsp_info->opcode != T1T_CMD_RID)) in rw_t1t_data_cback() 180 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode; in rw_t1t_data_cback() 186 if (p_cmd_rsp_info->opcode == T1T_CMD_RID) { in rw_t1t_data_cback() 324 tNFC_STATUS rw_t1t_send_static_cmd(uint8_t opcode, uint8_t add, uint8_t dat) { in rw_t1t_send_static_cmd() argument 327 const tT1T_CMD_RSP_INFO* p_cmd_rsp_info = t1t_cmd_to_rsp_info(opcode); in rw_t1t_send_static_cmd() [all …]
|
/system/bt/hci/src/ |
D | hci_layer.cc | 68 uint16_t opcode; member 119 static waiting_command_t* get_waiting_command(command_opcode_t opcode); 297 STREAM_TO_UINT16(wait_entry->opcode, stream); in transmit_command() 316 STREAM_TO_UINT16(wait_entry->opcode, stream); in transmit_command_futured() 462 __func__, wait_time_ms, wait_entry->opcode, in command_timed_out_log_info() 476 LOG_EVENT_INT(BT_HCI_TIMEOUT_TAG_NUM, wait_entry->opcode); in command_timed_out_log_info() 477 bluetooth::common::LogHciTimeoutEvent(wait_entry->opcode); in command_timed_out_log_info() 562 command_opcode_t opcode; in filter_incoming_event() local 569 STREAM_TO_UINT16(opcode, stream); in filter_incoming_event() 571 wait_entry = get_waiting_command(opcode); in filter_incoming_event() [all …]
|
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, 174 static BT_HDR* make_command_no_params(uint16_t opcode) { in make_command_no_params() argument 175 return make_command(opcode, 0, NULL); in make_command_no_params() 178 static BT_HDR* make_command(uint16_t opcode, size_t parameter_size, in make_command() argument 183 UINT16_TO_STREAM(stream, opcode); in make_command()
|
/system/netd/resolv/ |
D | res_debug.cpp | 162 ns_opcode opcode; in do_section() local 177 opcode = (ns_opcode) ns_msg_getflag(*handle, ns_f_opcode); in do_section() 273 u_int opcode, rcode, id; in res_pquery() local 280 opcode = ns_msg_getflag(handle, ns_f_opcode); in res_pquery() 291 dbprint(p, end, ";; ->>HEADER<<- opcode: %s, status: %s, id: %d\n", _res_opcodes[opcode], in res_pquery() 303 p = dbprint(p, end, "; %s: %d", p_section(ns_s_qd, (int)opcode), qdcount); in res_pquery() 304 p = dbprint(p, end, ", %s: %d", p_section(ns_s_an, (int)opcode), ancount); in res_pquery() 305 p = dbprint(p, end, ", %s: %d", p_section(ns_s_ns, (int)opcode), nscount); in res_pquery() 306 p = dbprint(p, end, ", %s: %d", p_section(ns_s_ar, (int)opcode), arcount); in res_pquery() 474 const char* p_section(int section, int opcode) { in p_section() argument [all …]
|
/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() 80 EXPECT_EQ(opcode, command->GetOpcode()); in CheckedReceiveCommand()
|
/system/core/libappfuse/ |
D | FuseBridgeLoop.cc | 182 const uint32_t opcode = buffer_.request.header.opcode; in ReadFromDevice() local 184 LOG(VERBOSE) << "Read a fuse packet, opcode=" << opcode << " unique=" << unique; in ReadFromDevice() 188 switch (opcode) { in ReadFromDevice() 200 if (opcode == FUSE_OPEN || opcode == FUSE_RELEASE) { in ReadFromDevice() 201 opcode_map_.emplace(buffer_.request.header.unique, opcode); in ReadFromDevice() 219 if (opcode == FUSE_INIT) { in ReadFromDevice() 233 << " header.opcode=" << buffer_.request.header.opcode in WriteToProxy()
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | command_packet_builder.h | 37 …static std::unique_ptr<CommandPacketBuilder> Create(hci::OpCode opcode, std::unique_ptr<BasePacket… 44 CommandPacketBuilder(hci::OpCode opcode, std::unique_ptr<BasePacketBuilder> payload);
|
D | command_packet_builder.cc | 27 CommandPacketBuilder::CommandPacketBuilder(OpCode opcode, std::unique_ptr<BasePacketBuilder> payloa… in CommandPacketBuilder() argument 28 : opcode_(opcode), payload_(std::move(payload)) {} in CommandPacketBuilder()
|
/system/bt/packet/avrcp/ |
D | avrcp_packet.h | 37 CType cType, uint8_t subunit_type, uint8_t subunit_id, Opcode opcode, 56 Opcode opcode) in PacketBuilder() argument 60 opcode_(opcode){}; in PacketBuilder()
|
/system/core/trusty/storage/proxy/ |
D | rpmb.c | 83 cmd->opcode = MMC_WRITE_MULTIPLE_BLOCK; in send_mmc_rpmb_req() 89 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag); in send_mmc_rpmb_req() 99 cmd->opcode = MMC_WRITE_MULTIPLE_BLOCK; in send_mmc_rpmb_req() 105 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag); in send_mmc_rpmb_req() 115 cmd->opcode = MMC_READ_MULTIPLE_BLOCK; in send_mmc_rpmb_req() 120 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag); in send_mmc_rpmb_req()
|
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
D | hci_socket.py | 103 bind_layers(HCI_Command_Hdr, HCI_Cmd_Inquiry, opcode=0x0401) 104 bind_layers(HCI_Command_Hdr, HCI_Cmd_Create_Connection, opcode=0x0405) 315 opcode=0x0405) / HCI_Cmd_Create_Connection(addr=address) 325 HCI_Event_Command_Status].opcode == connect[HCI_Command_Hdr].opcode: 381 opcode=0x200c) / HCI_Cmd_LE_Set_Scan_Enable( 395 opcode=0x0401) / HCI_Cmd_Inquiry(
|
/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/bt/profile/avrcp/ |
D | avrcp_message_converter.h | 70 switch (m->hdr.opcode) { in Parse() 75 data.push_back(m->hdr.opcode); in Parse() 87 data.push_back(m->hdr.opcode); in Parse()
|