Home
last modified time | relevance | path

Searched refs:Opcode (Results 1 – 12 of 12) sorted by relevance

/system/bt/packet/avrcp/
Davrcp_packet.h37 CType cType, uint8_t subunit_type, uint8_t subunit_id, Opcode opcode,
48 Opcode opcode_;
56 Opcode opcode) in PacketBuilder()
87 Opcode GetOpcode() const;
Davrcp_packet.cc28 CType type, uint8_t subunit_type, uint8_t subunit_id, Opcode opcode, in MakeBuilder()
89 Opcode Packet::GetOpcode() const { in GetOpcode()
91 return static_cast<Opcode>(value); in GetOpcode()
Dpass_through_packet.h41 Opcode::PASS_THROUGH), in PassThroughPacketBuilder()
Dvendor_packet.h49 : PacketBuilder(ctype, 0x09, 0x00, Opcode::VENDOR), in VendorPacketBuilder()
/system/connectivity/wifilogd/
Dprotocol.h40 enum class Opcode : uint16_t { enum
54 Command& set_opcode(Opcode new_opcode) { in set_opcode()
69 Opcode opcode;
Dcommand_processor.cpp145 using protocol::Opcode; in ProcessCommand()
146 case Opcode::kWriteAsciiMessage: in ProcessCommand()
155 case Opcode::kDumpBuffers: in ProcessCommand()
226 using protocol::Opcode; in Dump()
227 case Opcode::kWriteAsciiMessage: in Dump()
230 case Opcode::kDumpBuffers: in Dump()
/system/connectivity/wifilogd/tests/
Dprotocol_unittest.cpp111 using protocol::Opcode; in TEST()
112 EXPECT_EQ(2U, sizeof(Opcode)); in TEST()
113 EXPECT_EQ(0U, static_cast<uint16_t>(Opcode::kWriteAsciiMessage)); in TEST()
114 EXPECT_EQ(0x20U, static_cast<uint16_t>(Opcode::kDumpBuffers)); in TEST()
Dcommand_processor_unittest.cpp108 .set_opcode(protocol::Opcode::kWriteAsciiMessage) in BuildAsciiMessageCommandWithAdjustments()
147 .set_opcode(protocol::Opcode::kDumpBuffers) in SendDumpBuffers()
/system/bt/include/hardware/avrcp/
Davrcp_logging_helper.h54 inline std::string OpcodeText(const Opcode& opcode) { in OpcodeText()
56 CASE_RETURN_TEXT(Opcode::VENDOR); in OpcodeText()
57 CASE_RETURN_TEXT(Opcode::UNIT_INFO); in OpcodeText()
58 CASE_RETURN_TEXT(Opcode::SUBUNIT_INFO); in OpcodeText()
59 CASE_RETURN_TEXT(Opcode::PASS_THROUGH); in OpcodeText()
65 inline std::ostream& operator<<(std::ostream& os, const Opcode& opcode) {
Davrcp_common.h42 enum class Opcode : uint8_t { enum
/system/bt/packet/tests/avrcp/
Davrcp_packet_test.cc71 CType::STATUS, 0x09, 0x00, Opcode::VENDOR, std::move(cap_req_builder)); in TEST()
86 ASSERT_EQ(test_avrcp_packet->GetOpcode(), Opcode::VENDOR); in TEST()
/system/bt/profile/avrcp/
Ddevice.cc625 case Opcode::UNIT_INFO: { in MessageReceived()
627 case Opcode::SUBUNIT_INFO: { in MessageReceived()
629 case Opcode::PASS_THROUGH: { in MessageReceived()
677 case Opcode::VENDOR: { in MessageReceived()