Home
last modified time | relevance | path

Searched refs:HciPacket (Results 1 – 19 of 19) 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;
53 virtual void isoDataReceived(HciPacket data) = 0;
84 virtual void sendHciCommand(HciPacket command) = 0;
89 virtual void sendAclData(HciPacket data) = 0;
94 virtual void sendScoData(HciPacket data) = 0;
99 virtual void sendIsoData(HciPacket data) = 0;
Dhci_hal_host_test.cc57 std::queue<std::pair<uint8_t, HciPacket>> incoming_packets_queue_;
61 void hciEventReceived(HciPacket packet) override { in hciEventReceived()
65 void aclDataReceived(HciPacket packet) override { in aclDataReceived()
69 void scoDataReceived(HciPacket packet) override { in scoDataReceived()
73 void isoDataReceived(HciPacket packet) override { in isoDataReceived()
152 std::queue<std::pair<uint8_t, HciPacket>> empty; in SetUp()
178 void check_packet_equal(std::pair<uint8_t, HciPacket> hci_packet1_type_data_pair, H4Packet h4_packe… in check_packet_equal()
185 HciPacket make_sample_hci_cmd_pkt(uint8_t parameter_total_length) { in make_sample_hci_cmd_pkt()
186 HciPacket pkt; in make_sample_hci_cmd_pkt()
192 HciPacket make_sample_hci_acl_pkt(uint8_t payload_size) { in make_sample_hci_acl_pkt()
[all …]
Dhci_hal_host.cc272 void sendHciCommand(HciPacket command) override { in sendHciCommand()
281 void sendAclData(HciPacket data) override { in sendAclData()
290 void sendScoData(HciPacket data) override { in sendScoData()
299 void sendIsoData(HciPacket data) override { in sendIsoData()
361 void write_to_fd(HciPacket packet) { in write_to_fd()
423 HciPacket receivedHciPacket; in incoming_packet_received()
452 HciPacket receivedHciPacket; in incoming_packet_received()
476 HciPacket receivedHciPacket; in incoming_packet_received()
500 HciPacket receivedHciPacket; in incoming_packet_received()
Dfacade.cc103 void hciEventReceived(bluetooth::hal::HciPacket event) override { in hciEventReceived()
113 void aclDataReceived(bluetooth::hal::HciPacket data) override { in aclDataReceived()
119 void scoDataReceived(bluetooth::hal::HciPacket data) override { in scoDataReceived()
125 void isoDataReceived(bluetooth::hal::HciPacket data) override { in isoDataReceived()
Dhci_hal_android_hidl.cc160 void sendHciCommand(HciPacket command) override { in sendHciCommand()
168 void sendAclData(HciPacket packet) override { in sendAclData()
176 void sendScoData(HciPacket packet) override { in sendScoData()
184 void sendIsoData(HciPacket packet) override { in sendIsoData()
Dsnoop_logger.h83 void Capture(const HciPacket& packet, Direction direction, PacketType type);
Dsnoop_logger.cc110 size_t get_btsnooz_packet_length_to_write(const HciPacket& packet, SnoopLogger::PacketType type) { in get_btsnooz_packet_length_to_write()
250 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()
35 void sendIsoData(HciPacket packet) override {} in sendIsoData()
Dfuzz_hci_hal.cc53 void FuzzHciHal::sendHciCommand(HciPacket packet) { in sendHciCommand()
/system/bt/gd/btaa/linux/
Dactivity_attribution.cc28 void on_hci_packet(hal::HciPacket packet, hal::SnoopLogger::PacketType type, uint16_t length) {} in on_hci_packet()
33 void ActivityAttribution::Capture(const hal::HciPacket& packet, hal::SnoopLogger::PacketType type) … in Capture()
/system/bt/gd/btaa/android/
Dactivity_attribution.cc106 void on_hci_packet(hal::HciPacket packet, hal::SnoopLogger::PacketType type, uint16_t length) { in on_hci_packet()
142 void ActivityAttribution::Capture(const hal::HciPacket& packet, hal::SnoopLogger::PacketType type) { in Capture()
162 hal::HciPacket truncate_packet(packet.begin(), packet.begin() + truncate_length); in Capture()
/system/bt/gd/btaa/
Dactivity_attribution.h55 void Capture(const hal::HciPacket& packet, hal::SnoopLogger::PacketType type);
Dhci_processor.h52 …std::vector<BtaaHciPacket> OnHciPacket(hal::HciPacket packet, hal::SnoopLogger::PacketType type, u…
/system/bt/gd/hci/
Dhci_layer_test.cc83 void sendHciCommand(hal::HciPacket command) override { in sendHciCommand()
92 void sendAclData(hal::HciPacket data) override { in sendAclData()
101 void sendScoData(hal::HciPacket data) override { in sendScoData()
105 void sendIsoData(hal::HciPacket data) override { in sendIsoData()
116 PacketView<kLittleEndian> GetPacketView(hal::HciPacket data) { in GetPacketView()
174 std::list<hal::HciPacket> outgoing_commands_;
175 std::list<hal::HciPacket> outgoing_acl_;
176 std::list<hal::HciPacket> outgoing_sco_;
177 std::list<hal::HciPacket> outgoing_iso_;
Dhci_layer.cc361 void hciEventReceived(hal::HciPacket event_bytes) override { in hciEventReceived()
367 void aclDataReceived(hal::HciPacket data_bytes) override { in aclDataReceived()
373 void scoDataReceived(hal::HciPacket data_bytes) override { in scoDataReceived()
377 void isoDataReceived(hal::HciPacket data_bytes) override { in isoDataReceived()
/system/bt/hci/src/
Dhci_layer_android.cc49 using ::android::hardware::bluetooth::V1_0::HciPacket;
208 HciPacket data; in hci_transmit()
/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 {
/system/bt/gd/btaa/linux_generic/
Dhci_processor.cc244 hal::HciPacket packet, hal::SnoopLogger::PacketType type, uint16_t length) { in OnHciPacket()