Home
last modified time | relevance | path

Searched refs:LinkLayerPacketView (Results 1 – 25 of 39) sorted by relevance

12

/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dlink_layer_packet_view.h31 class LinkLayerPacketView : public PacketView<true> {
33 LinkLayerPacketView(const LinkLayerPacketView&) = default;
34 virtual ~LinkLayerPacketView() = default;
36 static LinkLayerPacketView Create(std::shared_ptr<std::vector<uint8_t>> raw);
44 LinkLayerPacketView() = delete;
45 LinkLayerPacketView(std::shared_ptr<std::vector<uint8_t>> raw);
Dlink_layer_packet_view.cc25 LinkLayerPacketView::LinkLayerPacketView(std::shared_ptr<std::vector<uint8_t>> raw) : PacketView<tr… in LinkLayerPacketView() function in test_vendor_lib::packets::LinkLayerPacketView
27 LinkLayerPacketView LinkLayerPacketView::Create(std::shared_ptr<std::vector<uint8_t>> raw) { in Create()
29 return LinkLayerPacketView(raw); in Create()
32 Link::PacketType LinkLayerPacketView::GetType() const { in GetType()
36 Address LinkLayerPacketView::GetSourceAddress() const { in GetSourceAddress()
41 Address LinkLayerPacketView::GetDestinationAddress() const { in GetDestinationAddress()
46 PacketView<true> LinkLayerPacketView::GetPayload() const { in GetPayload()
Dio_capability_negative_response_view.h32 …static IoCapabilityNegativeResponseView GetIoCapabilityNegativeResponse(const LinkLayerPacketView&… in GetIoCapabilityNegativeResponse()
Ddisconnect_view.h32 static DisconnectView GetDisconnect(const LinkLayerPacketView& view) { in GetDisconnect()
Dpage_response_view.h32 static PageResponseView GetPageResponse(const LinkLayerPacketView& view) { in GetPageResponse()
Dencrypt_connection_view.h32 static EncryptConnectionView GetEncryptConnection(const LinkLayerPacketView& view) { in GetEncryptConnection()
Dpage_view.h32 static PageView GetPage(const LinkLayerPacketView& view) { in GetPage()
Dinquiry_view.h33 static InquiryView GetInquiry(const LinkLayerPacketView& view) { in GetInquiry()
Dresponse_view.h34 static ResponseView GetResponse(const LinkLayerPacketView& view) { in GetResponse()
Dcommand_view.h34 static CommandView GetCommand(const LinkLayerPacketView& view) { in GetCommand()
Dio_capability_view.h32 static IoCapabilityView GetIoCapability(const LinkLayerPacketView& view) { in GetIoCapability()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.h78 void IncomingPacket(packets::LinkLayerPacketView incoming);
185 void IncomingAclPacket(packets::LinkLayerPacketView packet);
186 void IncomingAclAckPacket(packets::LinkLayerPacketView packet);
187 void IncomingCommandPacket(packets::LinkLayerPacketView packet);
188 void IncomingCreateConnectionPacket(packets::LinkLayerPacketView packet);
189 void IncomingDisconnectPacket(packets::LinkLayerPacketView packet);
190 void IncomingEncryptConnection(packets::LinkLayerPacketView packet);
191 void IncomingEncryptConnectionResponse(packets::LinkLayerPacketView packet);
192 void IncomingInquiryPacket(packets::LinkLayerPacketView packet);
193 void IncomingInquiryResponsePacket(packets::LinkLayerPacketView packet);
[all …]
Dlink_layer_controller.cc120 void LinkLayerController::IncomingPacket(LinkLayerPacketView incoming) { in IncomingPacket()
192 void LinkLayerController::IncomingAclPacket(LinkLayerPacketView incoming) { in IncomingAclPacket()
209 void LinkLayerController::IncomingCommandPacket(LinkLayerPacketView incoming) { in IncomingCommandPacket()
276 void LinkLayerController::IncomingDisconnectPacket(LinkLayerPacketView incoming) { in IncomingDisconnectPacket()
291 void LinkLayerController::IncomingEncryptConnection(LinkLayerPacketView incoming) { in IncomingEncryptConnection()
305 void LinkLayerController::IncomingEncryptConnectionResponse(LinkLayerPacketView incoming) { in IncomingEncryptConnectionResponse()
316 void LinkLayerController::IncomingInquiryPacket(LinkLayerPacketView incoming) { in IncomingInquiryPacket()
345 void LinkLayerController::IncomingInquiryResponsePacket(LinkLayerPacketView incoming) { in IncomingInquiryResponsePacket()
387 void LinkLayerController::IncomingIoCapabilityRequestPacket(LinkLayerPacketView incoming) { in IncomingIoCapabilityRequestPacket()
417 void LinkLayerController::IncomingIoCapabilityResponsePacket(LinkLayerPacketView incoming) { in IncomingIoCapabilityResponsePacket()
[all …]
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dlink_layer_packet_builder_test.cc100 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
118 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
140 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
161 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
181 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
207 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
233 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
263 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
285 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
305 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc34 const std::function<void(packets::LinkLayerPacketView)>& device_receive) { in GetPhyLayer()
58 …packets::LinkLayerPacketView packet_view = packets::LinkLayerPacketView::Create(serialized_packet); in Send()
87 const std::function<void(packets::LinkLayerPacketView)>& device_receive, in PhyLayerImpl()
100 void PhyLayerImpl::Receive(packets::LinkLayerPacketView packet) { in Receive()
Dphy_layer.h27 …PhyLayer(Phy::Type phy_type, uint32_t id, const std::function<void(packets::LinkLayerPacketView)>&… in PhyLayer()
32 virtual void Receive(packets::LinkLayerPacketView packet) = 0;
51 const std::function<void(packets::LinkLayerPacketView)> transmit_to_device_;
Dphy_layer_factory.h39 …std::shared_ptr<PhyLayer> GetPhyLayer(const std::function<void(packets::LinkLayerPacketView)>& dev…
58 …Phy::Type phy_type, uint32_t id, const std::function<void(packets::LinkLayerPacketView)>& device_r…
63 virtual void Receive(packets::LinkLayerPacketView packet) override;
/system/bt/vendor_libs/test_vendor_lib/test/
Dlink_layer_socket_device_test.cc46 using test_vendor_lib::packets::LinkLayerPacketView;
62 : PhyLayer(Phy::Type::LOW_ENERGY, 0, [](LinkLayerPacketView) {}), on_receive_(on_receive) {} in MockPhyLayer() argument
66 virtual void Receive(LinkLayerPacketView) override {} in Receive() argument
99 LinkLayerPacketView received_view = LinkLayerPacketView::Create(packet_ptr); in ValidatePacket()
186 LinkLayerPacketView NextPacket() { in NextPacket()
195 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in NextPacket()
201 LinkLayerPacketView view = NextPacket(); in SendFromClient()
208 LinkLayerPacketView view = NextPacket(); in SendFromServer()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dlink_layer_socket_device.h46 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;
56 std::vector<packets::LinkLayerPacketView> packet_queue_;
Dremote_loopback_device.cc32 using packets::LinkLayerPacketView;
50 void RemoteLoopbackDevice::IncomingPacket(LinkLayerPacketView packet) { in IncomingPacket()
Dsniffer.h45 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;
Dkeyboard.h43 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;
Dremote_loopback_device.h44 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;
Dloopback.h45 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;
Dbeacon.h46 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;

12