/system/bt/stack/avrc/ |
H A D | avrc_utils.cc | 181 * Description This function returns the opcode of the given pdu 187 uint8_t opcode = 0; local 197 opcode = AVRC_OP_BROWSE; 202 opcode = AVRC_OP_PASS_THRU; 206 opcode = AVRC_OP_VENDOR; 210 return opcode; 217 * Description This function returns the opcode of the given pdu 222 bool avrc_is_valid_opcode(uint8_t opcode) { argument 224 switch (opcode) {
|
H A D | avrc_bld_ct.cc | 502 uint8_t opcode = avrc_opcode_from_pdu(p_cmd->pdu); local 503 AVRC_TRACE_API("avrc_bld_init_cmd_buffer: pdu=%x, opcode=%x", p_cmd->pdu, 504 opcode); 507 switch (opcode) { 527 p_pkt->event = opcode; 533 if (opcode != AVRC_OP_PASS_THRU) *p_data++ = p_cmd->pdu; 535 switch (opcode) { 546 p_cmd->cmd.opcode = opcode;
|
H A D | avrc_bld_tg.cc | 751 uint8_t opcode = p_rsp->opcode; local 753 AVRC_TRACE_API("%s: status=%d, pdu:x%x, opcode=%x", __func__, p_rsp->status, 754 p_rsp->pdu, opcode); 756 if (opcode == AVRC_OP_BROWSE) { 760 /* if invalid or the given opcode is not recognized as a browsing command 761 * opcode, */ 768 AVRC_TRACE_DEBUG("%s pdu:x%x, Opcode:%x", __func__, *p_start, opcode); 1301 uint8_t opcode = avrc_opcode_from_pdu(p_rsp->pdu); local 1303 AVRC_TRACE_API("%s: pdu=%x, opcode [all...] |
/system/bt/hci/include/ |
H A 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);
|
H A D | bt_vendor_lib.h | 316 * 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 D | command_packet.cc | 32 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 D | FuseBridgeLoopTest.cc | 64 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/int/ |
H A D | tags_int.h | 34 uint8_t opcode; member in struct:__anon2450 61 uint8_t opcode; member in struct:__anon2453 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 D | avrc_defs.h | 65 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:__anon949 1099 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon967 1107 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon968 1115 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon969 1124 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon970 1133 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon971 1142 uint8_t opcode; /* O member in struct:__anon972 1152 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon973 1161 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon974 1169 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon975 1178 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon976 1187 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon977 1195 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon978 1203 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon979 1211 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon980 1223 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon981 1233 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon982 1245 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon983 1253 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon984 1263 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon985 1273 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon986 1280 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon987 1287 uint8_t opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */ member in struct:__anon988 1325 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon990 1336 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon991 1346 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon992 1356 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon993 1366 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon994 1376 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon995 1416 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon999 1426 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1000 1435 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1001 1448 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1002 1459 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1003 1468 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1004 1478 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1005 1488 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1006 1497 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1007 1505 uint8_t opcode; /* Op Code (copied from avrc_cmd.opcode by AVRC_BldResponse member in struct:__anon1008 [all...] |
H A D | btu.h | 46 uint16_t opcode, uint8_t* params,
|
/system/bt/hci/src/ |
H A 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) { argument 171 return make_command(opcode, 0, NULL); 174 static BT_HDR* make_command(uint16_t opcode, size_t parameter_size, argument 179 UINT16_TO_STREAM(stream, opcode);
|
H A D | hci_layer.cc | 63 uint16_t opcode; member in struct:__anon735 115 static waiting_command_t* get_waiting_command(command_opcode_t opcode); 315 STREAM_TO_UINT16(wait_entry->opcode, stream); 334 STREAM_TO_UINT16(wait_entry->opcode, stream); 465 LOG_ERROR(LOG_TAG, "%s: Waited %d ms for a response to opcode: 0x%x %s", 466 __func__, wait_time_ms, wait_entry->opcode, 480 LOG_EVENT_INT(BT_HCI_TIMEOUT_TAG_NUM, wait_entry->opcode); 544 command_opcode_t opcode; local 551 STREAM_TO_UINT16(opcode, stream); 553 wait_entry = get_waiting_command(opcode); 642 get_waiting_command(command_opcode_t opcode) argument [all...] |
/system/nfc/src/nfc/tags/ |
H A D | tags_int.c | 40 /* opcode cmd_len, uid_offset, rsp_len */ 59 /* opcode cmd_len, rsp_len, nack_rsp_len */ 106 ** Description This function maps the given opcode to tT1T_CMD_RSP_INFO. 111 const tT1T_CMD_RSP_INFO* t1t_cmd_to_rsp_info(uint8_t opcode) { argument 116 if (opcode == p->opcode) { 130 ** Description This function maps the given opcode to tT1T_INIT_TAG. 181 ** Description This function maps the given opcode to tT2T_CMD_RSP_INFO. 186 const tT2T_CMD_RSP_INFO* t2t_cmd_to_rsp_info(uint8_t opcode) { argument 191 if (opcode [all...] |
H A D | rw_t1t.c | 121 ((p_cmd_rsp_info->opcode != T1T_CMD_RALL) && 122 (p_cmd_rsp_info->opcode != T1T_CMD_RID) && (*p != p_t1t->addr))) 148 RW_TRACE_ERROR2("T1T Frame error. state=%s command (opcode) = 0x%02x", 150 p_cmd_rsp_info->opcode); 153 p_t1t->state, p_cmd_rsp_info->opcode); 165 p_cmd_rsp_info->opcode); 179 p_t1t->prev_cmd_rsp_info.addr = ((p_cmd_rsp_info->opcode != T1T_CMD_RALL) && 180 (p_cmd_rsp_info->opcode != T1T_CMD_RID)) 184 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode; 190 if (p_cmd_rsp_info->opcode 325 rw_t1t_send_static_cmd(uint8_t opcode, uint8_t add, uint8_t dat) argument 384 rw_t1t_send_dyn_cmd(uint8_t opcode, uint8_t add, uint8_t* p_dat) argument [all...] |
/system/bt/vendor_libs/test_vendor_lib/include/ |
H A D | command_packet.h | 46 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 D | packet_stream_unittest.cc | 56 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 D | protocol.h | 55 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 D | btu_hcif.cc | 380 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 878 btu_hcif_hdl_command_complete(uint16_t opcode, uint8_t* p, uint16_t evt_len, void* p_cplt_cback) argument 1006 command_opcode_t opcode; local 1035 btu_hcif_hdl_command_status(uint16_t opcode, uint8_t status, uint8_t* p_cmd, void* p_vsc_status_cback) argument 1186 command_opcode_t opcode; local [all...] |
/system/core/libappfuse/ |
H A D | FuseBridgeLoop.cc | 181 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...] |
H A D | FuseBuffer.cc | 190 uint32_t data_length, uint32_t opcode, uint64_t unique) { 193 header.opcode = opcode; 252 LOG(VERBOSE) << "NOTIMPL op=" << request.header.opcode << " uniq=" 189 Reset( uint32_t data_length, uint32_t opcode, uint64_t unique) argument
|
/system/bt/btif/include/ |
H A 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);
|
/system/connectivity/wifilogd/tests/ |
H A D | protocol_unittest.cpp | 62 EXPECT_EQ(10U, offsetof(Command, opcode)); 63 EXPECT_EQ(2U, sizeof(Command::opcode));
|
/system/core/trusty/storage/proxy/ |
H A D | rpmb.c | 109 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/core/libpixelflinger/codeflinger/ |
H A D | Arm64Assembler.cpp | 339 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...] |
/system/bt/vendor_libs/linux/interface/ |
H A D | bluetooth_hci.cc | 54 uint16_t opcode; member in struct:mgmt_pkt 143 ev.opcode = MGMT_OP_INDEX_LIST; 177 if (ev.opcode == MGMT_EV_INDEX_ADDED && ev.index == hci_interface) { 179 } else if (ev.opcode == MGMT_EV_COMMAND_COMP) {
|