Searched refs:CommandPacket (Results 1 - 8 of 8) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/include/
H A Dcommand_packet.h43 class CommandPacket : public Packet { class in namespace:test_vendor_lib
45 explicit CommandPacket(std::vector<uint8_t> header);
46 explicit CommandPacket(uint16_t opcode);
47 CommandPacket(std::vector<uint8_t> header, std::vector<uint8_t> payload);
49 CommandPacket(const CommandPacket&) = default;
50 CommandPacket& operator=(const CommandPacket&) = default;
51 CommandPacket(CommandPacket
[all...]
H A Dpacket_stream.h40 std::unique_ptr<CommandPacket> ReceiveCommand(int fd) const;
H A Ddual_mode_controller.h170 void HandleCommand(std::unique_ptr<CommandPacket> command_packet);
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dcommand_packet.cc29 CommandPacket::CommandPacket(vector<uint8_t> header) function in class:test_vendor_lib::CommandPacket
32 CommandPacket::CommandPacket(uint16_t opcode) function in class:test_vendor_lib::CommandPacket
36 CommandPacket::CommandPacket(vector<uint8_t> header, vector<uint8_t> payload) function in class:test_vendor_lib::CommandPacket
41 uint16_t CommandPacket::GetOpcode() const {
45 uint8_t CommandPacket::GetOGF() const { return HCI_OGF(GetOpcode()); }
47 uint16_t CommandPacket::GetOCF() const { return HCI_OCF(GetOpcode()); }
H A Dpacket_stream.cc32 std::unique_ptr<CommandPacket> PacketStream::ReceiveCommand(int fd) const {
37 if (!ReceiveAll(header, CommandPacket::kCommandHeaderSize, fd)) {
39 return std::unique_ptr<CommandPacket>(nullptr);
44 return std::unique_ptr<CommandPacket>(nullptr);
49 return std::unique_ptr<CommandPacket>(nullptr);
51 return std::unique_ptr<CommandPacket>(new CommandPacket(header, payload));
H A Ddual_mode_controller.cc195 std::unique_ptr<CommandPacket> command_packet) {
/system/bt/test/rootcanal/
H A Dbluetooth_hci.cc36 using test_vendor_lib::CommandPacket;
135 std::unique_ptr<CommandPacket> command =
136 std::unique_ptr<CommandPacket>(new CommandPacket(opcode));
/system/bt/vendor_libs/test_vendor_lib/test/
H A Dpacket_stream_unittest.cc72 std::unique_ptr<CommandPacket> command =

Completed in 220 milliseconds