Searched refs:opcode (Results 1 - 25 of 98) sorted by relevance

1234

/system/bt/stack/avrc/
H A Davrc_utils.cc179 * Description This function returns the opcode of the given pdu
185 uint8_t opcode = 0; local
195 opcode = AVRC_OP_BROWSE;
200 opcode = AVRC_OP_PASS_THRU;
204 opcode = AVRC_OP_VENDOR;
208 return opcode;
215 * Description This function returns the opcode of the given pdu
220 bool avrc_is_valid_opcode(uint8_t opcode) { argument
222 switch (opcode) {
H A Davrc_bld_ct.cc501 uint8_t opcode = avrc_opcode_from_pdu(p_cmd->pdu); local
502 AVRC_TRACE_API("avrc_bld_init_cmd_buffer: pdu=%x, opcode=%x", p_cmd->pdu,
503 opcode);
506 switch (opcode) {
526 p_pkt->event = opcode;
532 if (opcode != AVRC_OP_PASS_THRU) *p_data++ = p_cmd->pdu;
534 switch (opcode) {
545 p_cmd->cmd.opcode = opcode;
/system/bt/hci/include/
H A Dvendor.h61 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);
H A Dbt_vendor_lib.h316 * The opcode parameter gives the HCI OpCode (combination of OGF and OCF) of
317 * HCI Command packet. For example, opcode = 0x0c03 for the HCI_RESET command
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/
H A Dcommand_packet.cc32 CommandPacket::CommandPacket(uint16_t opcode) argument
33 : Packet(DATA_TYPE_COMMAND, {static_cast<uint8_t>(opcode),
34 static_cast<uint8_t>(opcode >> 8)}) {}
/system/core/libappfuse/tests/
H A DFuseBridgeLoopTest.cc64 void CheckNotImpl(uint32_t opcode) { argument
65 SCOPED_TRACE((std::ostringstream() << "opcode: " << opcode).str());
68 request_.header.opcode = opcode;
78 void CheckProxy(uint32_t opcode) { argument
79 SCOPED_TRACE((std::ostringstream() << "opcode: " << opcode).str());
82 request_.header.opcode = opcode;
[all...]
/system/nfc/src/nfc/include/
H A Dtags_int.h34 uint8_t opcode; member in struct:__anon2543
61 uint8_t opcode; member in struct:__anon2546
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/stack/include/
H A Davrc_defs.h65 by the opcode and operand, \
72 opcode but cannot respond because the current state \
113 #define AVRC_OP_PASS_THRU 0x7C /* panel subunit opcode */
881 uint8_t opcode; /* Op Code (passthrough, vendor, etc) */ member in struct:__anon1042
1099 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1060
1107 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1061
1115 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1062
1124 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1063
1133 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1064
1142 uint8_t opcode; /* O member in struct:__anon1065
1152 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1066
1161 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1067
1169 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1068
1178 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1069
1187 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1070
1195 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1071
1203 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1072
1211 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1073
1223 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1074
1233 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1075
1245 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1076
1253 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1077
1263 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1078
1273 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1079
1280 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1080
1287 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon1081
1325 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1083
1336 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1084
1346 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1085
1356 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1086
1366 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1087
1376 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1088
1416 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1092
1426 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1093
1435 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1094
1448 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1095
1459 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1096
1468 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1097
1478 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1098
1488 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1099
1497 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1100
1505 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1101
[all...]
H A Dbtu.h46 uint16_t opcode, uint8_t* params,
/system/bt/hci/src/
H A Dhci_packet_factory.cc33 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) { argument
175 return make_command(opcode, 0, NULL);
178 static BT_HDR* make_command(uint16_t opcode, size_t parameter_size, argument
183 UINT16_TO_STREAM(stream, opcode);
H A Dhci_layer.cc63 uint16_t opcode; member in struct:__anon671
116 static waiting_command_t* get_waiting_command(command_opcode_t opcode);
327 STREAM_TO_UINT16(wait_entry->opcode, stream);
346 STREAM_TO_UINT16(wait_entry->opcode, stream);
494 LOG_ERROR(LOG_TAG, "%s: Waited %d ms for a response to opcode: 0x%x %s",
495 __func__, wait_time_ms, wait_entry->opcode,
509 LOG_EVENT_INT(BT_HCI_TIMEOUT_TAG_NUM, wait_entry->opcode);
579 command_opcode_t opcode; local
586 STREAM_TO_UINT16(opcode, stream);
588 wait_entry = get_waiting_command(opcode);
677 get_waiting_command(command_opcode_t opcode) argument
[all...]
/system/nfc/src/nfc/tags/
H A Dtags_int.cc38 /* opcode cmd_len, uid_offset, rsp_len */
57 /* opcode cmd_len, rsp_len, nack_rsp_len */
102 ** Description This function maps the given opcode to tT1T_CMD_RSP_INFO.
107 const tT1T_CMD_RSP_INFO* t1t_cmd_to_rsp_info(uint8_t opcode) { argument
112 if (opcode == p->opcode) {
126 ** Description This function maps the given opcode to tT1T_INIT_TAG.
177 ** Description This function maps the given opcode to tT2T_CMD_RSP_INFO.
182 const tT2T_CMD_RSP_INFO* t2t_cmd_to_rsp_info(uint8_t opcode) { argument
187 if (opcode
[all...]
H A Drw_t1t.cc121 ((p_cmd_rsp_info->opcode != T1T_CMD_RALL) &&
122 (p_cmd_rsp_info->opcode != T1T_CMD_RID) && (*p != p_t1t->addr)))
148 "T1T Frame error. state=%s command (opcode) = 0x%02x",
149 rw_t1t_get_state_name(p_t1t->state).c_str(), p_cmd_rsp_info->opcode);
161 p_cmd_rsp_info->opcode);
175 p_t1t->prev_cmd_rsp_info.addr = ((p_cmd_rsp_info->opcode != T1T_CMD_RALL) &&
176 (p_cmd_rsp_info->opcode != T1T_CMD_RID))
180 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode;
186 if (p_cmd_rsp_info->opcode == T1T_CMD_RID) {
323 tNFC_STATUS rw_t1t_send_static_cmd(uint8_t opcode, uint8_ argument
383 rw_t1t_send_dyn_cmd(uint8_t opcode, uint8_t add, uint8_t* p_dat) argument
[all...]
/system/bt/packet/avrcp/
H A Davrcp_packet.h37 CType cType, uint8_t subunit_type, uint8_t subunit_id, Opcode opcode,
56 Opcode opcode)
60 opcode_(opcode){};
55 PacketBuilder(CType type, uint8_t subunit_type, uint8_t subunit_id, Opcode opcode) argument
H A Davrcp_packet.cc28 CType type, uint8_t subunit_type, uint8_t subunit_id, Opcode opcode,
31 new PacketBuilder(type, subunit_type, subunit_id, opcode));
27 MakeBuilder( CType type, uint8_t subunit_type, uint8_t subunit_id, Opcode opcode, std::unique_ptr<::bluetooth::PacketBuilder> payload) argument
/system/bt/vendor_libs/test_vendor_lib/include/
H A Dcommand_packet.h46 explicit CommandPacket(uint16_t opcode);
55 // Returns the command opcode as defined in stack/include/hcidefs.h.
61 // Returns the 6 bit opcode group field that specifies the general category of
73 // Returns the 10 bit opcode command field that specifies an exact command
74 // within an opcode group field. The upper 6 bits will be zero filled.
77 // Size of a command packet header, which consists of a 2 octet opcode
/system/bt/vendor_libs/test_vendor_lib/test/
H A Dpacket_stream_unittest.cc56 void CheckedReceiveCommand(const char* payload, uint16_t opcode) { argument
61 packet.push_back(opcode);
62 packet.push_back(opcode >> 8);
81 EXPECT_EQ(opcode, command->GetOpcode());
/system/connectivity/wifilogd/
H A Dprotocol.h55 opcode = new_opcode;
69 Opcode opcode; member in struct:android::wifilogd::protocol::Command
72 // Payload follows, with content depending on |opcode|.
/system/bt/stack/btu/
H A Dbtu_hcif.cc380 uint16_t opcode;
384 STREAM_TO_UINT16(opcode, stream);
388 if ((opcode & HCI_GRP_VENDOR_SPECIFIC) == HCI_GRP_VENDOR_SPECIFIC ||
389 (opcode == HCI_BLE_RAND) || (opcode == HCI_BLE_ENCRYPT)) {
418 command_opcode_t opcode; local
422 STREAM_TO_UINT16(opcode, stream);
444 command_opcode_t opcode; local
446 STREAM_TO_UINT16(opcode, stream);
478 uint16_t opcode, uint8_
477 btu_hcif_send_cmd_with_cb(const tracked_objects::Location& posted_from, uint16_t opcode, uint8_t* params, uint8_t params_len, hci_cmd_cb cb) argument
892 btu_hcif_hdl_command_complete(uint16_t opcode, uint8_t* p, uint16_t evt_len, void* p_cplt_cback) argument
1026 command_opcode_t opcode; local
1055 btu_hcif_hdl_command_status(uint16_t opcode, uint8_t status, uint8_t* p_cmd, void* p_vsc_status_cback) argument
1207 command_opcode_t opcode; local
[all...]
/system/core/libappfuse/
H A DFuseBridgeLoop.cc181 const uint32_t opcode = buffer_.request.header.opcode; local
183 LOG(VERBOSE) << "Read a fuse packet, opcode=" << opcode << " unique=" << unique;
187 switch (opcode) {
199 if (opcode == FUSE_OPEN || opcode == FUSE_RELEASE) {
200 opcode_map_.emplace(buffer_.request.header.unique, opcode);
218 if (opcode == FUSE_INIT) {
232 << " header.opcode
[all...]
/system/bt/profile/avrcp/
H A Davrcp_message_converter.h70 switch (m->hdr.opcode) {
75 data.push_back(m->hdr.opcode);
87 data.push_back(m->hdr.opcode);
100 LOG(ERROR) << "Unknown opcode for AVRCP message";
/system/bt/btif/include/
H A Dbtif_api.h379 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);
/system/core/trusty/storage/proxy/
H A Drpmb.c109 cmd->opcode = MMC_WRITE_MULTIPLE_BLOCK;
115 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag);
131 cmd->opcode = MMC_WRITE_MULTIPLE_BLOCK;
137 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag);
154 cmd->opcode = MMC_READ_MULTIPLE_BLOCK;
160 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag);
/system/bt/include/hardware/avrcp/
H A Davrcp_logging_helper.h54 inline std::string OpcodeText(const Opcode& opcode) { argument
55 switch (opcode) {
61 return "Unknown Opcode: " + loghex((uint8_t)opcode);
65 inline std::ostream& operator<<(std::ostream& os, const Opcode& opcode) { argument
66 return os << OpcodeText(opcode);
/system/core/libpixelflinger/codeflinger/
H A DArm64Assembler.cpp339 void ArmToArm64Assembler::dataProcessingCommon(int opcode, argument
342 if(opcode != opSUB && s == 1)
348 if(opcode != opSUB && opcode != opADD && opcode != opAND &&
349 opcode != opORR && opcode != opMVN)
395 switch(opcode)
407 void ArmToArm64Assembler::dataProcessing(int opcode, int cc, argument
417 if(opcode
[all...]

Completed in 379 milliseconds

1234