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

/system/bt/vendor_libs/test_vendor_lib/src/
H A Devent_packet.cc28 EventPacket::EventPacket(uint8_t event_code) function in class:test_vendor_lib::EventPacket
31 uint8_t EventPacket::GetEventCode() const { return GetHeader()[0]; }
34 std::unique_ptr<EventPacket> EventPacket::CreateInquiryCompleteEvent(
36 std::unique_ptr<EventPacket> evt_ptr =
37 std::unique_ptr<EventPacket>(new EventPacket(HCI_INQUIRY_COMP_EVT));
44 std::unique_ptr<EventPacket> EventPacket
[all...]
H A Ddual_mode_controller.cc82 send_event_(EventPacket::CreateCommandCompleteOnlyStatusEvent(
88 send_event_(EventPacket::CreateCommandCompleteOnlyStatusEvent(command_opcode,
94 send_event_(EventPacket::CreateCommandStatusEvent(status, command_opcode));
210 const std::function<void(std::unique_ptr<EventPacket>)>& callback) {
294 std::unique_ptr<EventPacket> command_complete =
295 EventPacket::CreateCommandCompleteReadBufferSize(
313 std::unique_ptr<EventPacket> command_complete =
314 EventPacket::CreateCommandCompleteReadLocalVersionInformation(
323 std::unique_ptr<EventPacket> command_complete =
324 EventPacket
[all...]
H A Dpacket_stream.cc73 bool PacketStream::SendEvent(std::unique_ptr<EventPacket> event, int fd) const {
/system/bt/vendor_libs/test_vendor_lib/include/
H A Devent_packet.h32 class EventPacket : public Packet { class in namespace:test_vendor_lib
34 virtual ~EventPacket() override = default;
41 static std::unique_ptr<EventPacket> CreateInquiryCompleteEvent(
47 static std::unique_ptr<EventPacket> CreateCommandCompleteEvent(
51 static std::unique_ptr<EventPacket> CreateCommandCompleteOnlyStatusEvent(
55 static std::unique_ptr<EventPacket> CreateCommandStatusEvent(
59 static std::unique_ptr<EventPacket> CreateCommandCompleteReadLocalName(
63 static std::unique_ptr<EventPacket>
72 static std::unique_ptr<EventPacket>
77 static std::unique_ptr<EventPacket>
[all...]
H A Dpacket_stream.h48 bool SendEvent(std::unique_ptr<EventPacket> event, int fd) const;
H A Ddual_mode_controller.h191 const std::function<void(std::unique_ptr<EventPacket>)>& send_event);
500 std::function<void(std::unique_ptr<EventPacket>)> send_event_;
/system/bt/vendor_libs/test_vendor_lib/test/
H A Dpacket_stream_unittest.cc88 void CheckedSendEvent(std::unique_ptr<EventPacket> event) {
151 EventPacket::CreateCommandCompleteEvent(HCI_RESET, return_parameters));
/system/bt/test/rootcanal/
H A Dbluetooth_hci.cc38 using test_vendor_lib::EventPacket;
83 controller_.RegisterEventChannel([cb](std::unique_ptr<EventPacket> event) {

Completed in 88 milliseconds