/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/ |
D | link_layer_packet_view.h | 31 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);
|
D | link_layer_packet_view.cc | 25 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()
|
D | io_capability_negative_response_view.h | 32 …static IoCapabilityNegativeResponseView GetIoCapabilityNegativeResponse(const LinkLayerPacketView&… in GetIoCapabilityNegativeResponse()
|
D | disconnect_view.h | 32 static DisconnectView GetDisconnect(const LinkLayerPacketView& view) { in GetDisconnect()
|
D | page_response_view.h | 32 static PageResponseView GetPageResponse(const LinkLayerPacketView& view) { in GetPageResponse()
|
D | encrypt_connection_view.h | 32 static EncryptConnectionView GetEncryptConnection(const LinkLayerPacketView& view) { in GetEncryptConnection()
|
D | page_view.h | 32 static PageView GetPage(const LinkLayerPacketView& view) { in GetPage()
|
D | inquiry_view.h | 33 static InquiryView GetInquiry(const LinkLayerPacketView& view) { in GetInquiry()
|
D | response_view.h | 34 static ResponseView GetResponse(const LinkLayerPacketView& view) { in GetResponse()
|
D | command_view.h | 34 static CommandView GetCommand(const LinkLayerPacketView& view) { in GetCommand()
|
D | io_capability_view.h | 32 static IoCapabilityView GetIoCapability(const LinkLayerPacketView& view) { in GetIoCapability()
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | link_layer_controller.h | 78 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 …]
|
D | link_layer_controller.cc | 120 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/ |
D | link_layer_packet_builder_test.cc | 100 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/ |
D | phy_layer_factory.cc | 34 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()
|
D | phy_layer.h | 27 …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_;
|
D | phy_layer_factory.h | 39 …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/ |
D | link_layer_socket_device_test.cc | 46 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/ |
D | link_layer_socket_device.h | 46 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override; 56 std::vector<packets::LinkLayerPacketView> packet_queue_;
|
D | remote_loopback_device.cc | 32 using packets::LinkLayerPacketView; 50 void RemoteLoopbackDevice::IncomingPacket(LinkLayerPacketView packet) { in IncomingPacket()
|
D | sniffer.h | 45 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;
|
D | keyboard.h | 43 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;
|
D | remote_loopback_device.h | 44 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;
|
D | loopback.h | 45 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;
|
D | beacon.h | 46 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;
|