Home
last modified time | relevance | path

Searched refs:HciPacket (Results 1 – 14 of 14) sorted by relevance

/system/bt/gd/hal/
Dhci_hal.h26 using HciPacket = std::vector<uint8_t>; variable
41 virtual void hciEventReceived(HciPacket event) = 0;
45 virtual void aclDataReceived(HciPacket data) = 0;
49 virtual void scoDataReceived(HciPacket data) = 0;
80 virtual void sendHciCommand(HciPacket command) = 0;
85 virtual void sendAclData(HciPacket data) = 0;
90 virtual void sendScoData(HciPacket data) = 0;
Dhci_hal_host_rootcanal_test.cc56 std::queue<std::pair<uint8_t, HciPacket>> incoming_packets_queue_;
60 void hciEventReceived(HciPacket packet) override { in hciEventReceived()
64 void aclDataReceived(HciPacket packet) override { in aclDataReceived()
68 void scoDataReceived(HciPacket packet) override { in scoDataReceived()
147 std::queue<std::pair<uint8_t, HciPacket>> empty; in SetUp()
173 void check_packet_equal(std::pair<uint8_t, HciPacket> hci_packet1_type_data_pair, H4Packet h4_packe… in check_packet_equal()
180 HciPacket make_sample_hci_cmd_pkt(uint8_t parameter_total_length) { in make_sample_hci_cmd_pkt()
181 HciPacket pkt; in make_sample_hci_cmd_pkt()
187 HciPacket make_sample_hci_acl_pkt(uint8_t payload_size) { in make_sample_hci_acl_pkt()
188 HciPacket pkt; in make_sample_hci_acl_pkt()
[all …]
Dhci_hal_host_rootcanal.cc117 void sendHciCommand(HciPacket command) override { in sendHciCommand()
126 void sendAclData(HciPacket data) override { in sendAclData()
135 void sendScoData(HciPacket data) override { in sendScoData()
196 void write_to_rootcanal_fd(HciPacket packet) { in write_to_rootcanal_fd()
258 HciPacket receivedHciPacket; in incoming_packet_received()
287 HciPacket receivedHciPacket; in incoming_packet_received()
311 HciPacket receivedHciPacket; in incoming_packet_received()
Dhci_hal_android_hidl.cc123 void sendHciCommand(HciPacket command) override { in sendHciCommand()
128 void sendAclData(HciPacket packet) override { in sendAclData()
133 void sendScoData(HciPacket packet) override { in sendScoData()
Dfacade.cc96 void hciEventReceived(bluetooth::hal::HciPacket event) override { in hciEventReceived()
106 void aclDataReceived(bluetooth::hal::HciPacket data) override { in aclDataReceived()
112 void scoDataReceived(bluetooth::hal::HciPacket data) override { in scoDataReceived()
Dsnoop_logger.h53 void capture(const HciPacket& packet, Direction direction, PacketType type);
Dsnoop_logger.cc90 void SnoopLogger::capture(const HciPacket& packet, Direction direction, PacketType type) { in capture()
/system/bt/gd/hal/fuzz/
Dfuzz_hci_hal.h32 void sendHciCommand(HciPacket command) override;
33 void sendAclData(HciPacket packet) override {} in sendAclData()
34 void sendScoData(HciPacket packet) override {} in sendScoData()
Dfuzz_hci_hal.cc50 void FuzzHciHal::sendHciCommand(HciPacket packet) { in sendHciCommand()
/system/bt/hci/src/
Dhci_layer_android.cc47 using ::android::hardware::bluetooth::V1_0::HciPacket;
183 HciPacket data; in hci_transmit()
/system/bt/gd/hci/
Dhci_layer_test.cc70 void sendHciCommand(hal::HciPacket command) override { in sendHciCommand()
79 void sendAclData(hal::HciPacket data) override { in sendAclData()
88 void sendScoData(hal::HciPacket data) override { in sendScoData()
94 PacketView<kLittleEndian> GetPacketView(hal::HciPacket data) { in GetPacketView()
136 std::list<hal::HciPacket> outgoing_commands_;
137 std::list<hal::HciPacket> outgoing_acl_;
138 std::list<hal::HciPacket> outgoing_sco_;
Dhci_layer.cc230 void hciEventReceived(hal::HciPacket event_bytes) override { in hciEventReceived()
236 void aclDataReceived(hal::HciPacket data_bytes) override { in aclDataReceived()
242 void scoDataReceived(hal::HciPacket data_bytes) override { in scoDataReceived()
/system/bt/vendor_libs/test_vendor_lib/test/
Dl2cap_test.cc31 class TestPacket : public HciPacket {
56 void compare_packets(shared_ptr<HciPacket> expected, shared_ptr<HciPacket> received) { in compare_packets()
Diterator_test.cc27 class TestPacket : public HciPacket {