/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | dual_mode_controller.h | 63 virtual void IncomingPacket(packets::LinkLayerPacketView incoming) override; 68 …void SendLinkLayerPacket(std::shared_ptr<packets::LinkLayerPacketBuilder> to_send, Phy::Type phy_t… 98 void HciInquiry(packets::PacketView<true> args); 101 void HciInquiryCancel(packets::PacketView<true> args); 104 void HciCreateConnection(packets::PacketView<true> args); 107 void HciDisconnect(packets::PacketView<true> args); 110 void HciAcceptConnectionRequest(packets::PacketView<true> args); 113 void HciRejectConnectionRequest(packets::PacketView<true> args); 116 void HciLinkKeyRequestReply(packets::PacketView<true> args); 119 void HciLinkKeyRequestNegativeReply(packets::PacketView<true> args); [all …]
|
D | dual_mode_controller.cc | 43 size_t LastNonZero(test_vendor_lib::packets::PacketView<true> view) { in LastNonZero() 70 void DualModeController::IncomingPacket(packets::LinkLayerPacketView incoming) { in IncomingPacket() 78 void DualModeController::SendLinkLayerPacket(std::shared_ptr<packets::LinkLayerPacketBuilder> to_se… in SendLinkLayerPacket() 101 …send_event_(packets::EventPacketBuilder::CreateCommandCompleteOnlyStatusEvent(command_opcode, hci:… in SendCommandCompleteSuccess() 106 …send_event_(packets::EventPacketBuilder::CreateCommandCompleteUnknownOpCodeEvent(command_opcode)->… in SendCommandCompleteUnknownOpCodeEvent() 110 …send_event_(packets::EventPacketBuilder::CreateCommandCompleteOnlyStatusEvent(command_opcode, stat… in SendCommandCompleteOnlyStatus() 115 …send_event_(packets::EventPacketBuilder::CreateCommandCompleteStatusAndAddressEvent(command_opcode… in SendCommandCompleteStatusAndAddress() 120 …send_event_(packets::EventPacketBuilder::CreateCommandStatusEvent(status, command_opcode)->ToVecto… in SendCommandStatus() 136 [this](std::shared_ptr<packets::LinkLayerPacketBuilder> packet, Phy::Type phy_type) { in DualModeController() 141 …active_hci_commands_[static_cast<uint16_t>(opcode)] = [this](packets::PacketView<true> param) { me… in DualModeController() [all …]
|
D | link_layer_controller.h | 38 …hci::Status SendCommandToRemoteByAddress(hci::OpCode opcode, packets::PacketView<true> args, const… 40 …hci::Status SendCommandToRemoteByHandle(hci::OpCode opcode, packets::PacketView<true> args, uint16… 41 hci::Status SendScoToRemote(packets::ScoPacketView sco_packet); 42 hci::Status SendAclToRemote(packets::AclPacketView acl_packet); 48 hci::Status LinkKeyRequestReply(const Address& address, packets::PacketView<true> key); 78 void IncomingPacket(packets::LinkLayerPacketView incoming); 90 …const std::function<void(std::shared_ptr<packets::LinkLayerPacketBuilder>, Phy::Type)>& send_to_re… 183 void SendLELinkLayerPacket(std::shared_ptr<packets::LinkLayerPacketBuilder> packet); 184 void SendLinkLayerPacket(std::shared_ptr<packets::LinkLayerPacketBuilder> packet); 185 void IncomingAclPacket(packets::LinkLayerPacketView packet); [all …]
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | beacon.cc | 67 std::unique_ptr<packets::LeAdvertisementBuilder> ad = packets::LeAdvertisementBuilder::Create( in TimerTick() 71 std::shared_ptr<packets::LinkLayerPacketBuilder> to_send = in TimerTick() 72 … packets::LinkLayerPacketBuilder::WrapLeAdvertisement(std::move(ad), properties_.GetLeAddress()); in TimerTick() 80 void Beacon::IncomingPacket(packets::LinkLayerPacketView packet) { in IncomingPacket() 82 …std::unique_ptr<packets::LeAdvertisementBuilder> scan_response = packets::LeAdvertisementBuilder::… in IncomingPacket() 85 …std::shared_ptr<packets::LinkLayerPacketBuilder> to_send = packets::LinkLayerPacketBuilder::WrapLe… in IncomingPacket()
|
D | loopback.cc | 83 void Loopback::IncomingPacket(packets::LinkLayerPacketView packet) { in IncomingPacket() 87 …std::unique_ptr<packets::LeAdvertisementBuilder> scan_response = packets::LeAdvertisementBuilder::… in IncomingPacket() 90 …std::shared_ptr<packets::LinkLayerPacketBuilder> to_send = packets::LinkLayerPacketBuilder::WrapLe… in IncomingPacket()
|
D | link_layer_socket_device.cc | 44 packets::PacketView<true> size({packets::View(received_, 0, Link::kSizeBytes)}); in TimerTick() 56 SendLinkLayerPacket(packets::LinkLayerPacketBuilder::ReWrap(received_), phy_type_); in TimerTick() 62 void LinkLayerSocketDevice::IncomingPacket(packets::LinkLayerPacketView packet) { in IncomingPacket()
|
D | remote_loopback_device.cc | 31 using packets::LinkLayerPacketBuilder; 32 using packets::LinkLayerPacketView; 33 using packets::PageResponseBuilder;
|
D | link_layer_socket_device.h | 46 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override; 56 std::vector<packets::LinkLayerPacketView> packet_queue_;
|
D | device.h | 76 virtual void IncomingPacket(packets::LinkLayerPacketView){}; in IncomingPacket() 78 …virtual void SendLinkLayerPacket(std::shared_ptr<packets::LinkLayerPacketBuilder> packet, Phy::Typ…
|
D | car_kit.cc | 41 [this](std::shared_ptr<packets::LinkLayerPacketBuilder> packet, Phy::Type phy_type) { in CarKit() 96 void CarKit::IncomingPacket(packets::LinkLayerPacketView packet) { in IncomingPacket()
|
D | polled_socket.h | 44 size_t TrySend(packets::PacketView<true> packet);
|
/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() 51 void PhyLayerFactory::Send(const std::shared_ptr<packets::LinkLayerPacketBuilder> packet, uint32_t … in Send() 58 …packets::LinkLayerPacketView packet_view = packets::LinkLayerPacketView::Create(serialized_packet); in Send() 87 const std::function<void(packets::LinkLayerPacketView)>& device_receive, in PhyLayerImpl() 96 void PhyLayerImpl::Send(const std::shared_ptr<packets::LinkLayerPacketBuilder> packet) { in Send() 100 void PhyLayerImpl::Receive(packets::LinkLayerPacketView packet) { in Receive()
|
D | phy_layer_factory.h | 39 …std::shared_ptr<PhyLayer> GetPhyLayer(const std::function<void(packets::LinkLayerPacketView)>& dev… 48 virtual void Send(const std::shared_ptr<packets::LinkLayerPacketBuilder> packet, uint32_t id); 58 …PhyLayerImpl(Phy::Type phy_type, uint32_t id, const std::function<void(packets::LinkLayerPacketVie… 62 virtual void Send(const std::shared_ptr<packets::LinkLayerPacketBuilder> packet) override; 63 virtual void Receive(packets::LinkLayerPacketView packet) override;
|
D | phy_layer.h | 27 …PhyLayer(Phy::Type phy_type, uint32_t id, const std::function<void(packets::LinkLayerPacketView)>&… in PhyLayer() 30 virtual void Send(const std::shared_ptr<packets::LinkLayerPacketBuilder> packet) = 0; 32 virtual void Receive(packets::LinkLayerPacketView packet) = 0; 51 const std::function<void(packets::LinkLayerPacketView)> transmit_to_device_;
|
/system/bt/packet/ |
D | Android.bp | 2 name: "lib-bt-packets", 10 "lib-bt-packets-base", 11 "lib-bt-packets-avrcp", 50 "lib-bt-packets",
|
/system/bt/profile/sdp/ |
D | Android.bp | 15 "lib-bt-packets", 37 "lib-bt-packets",
|
/system/bt/packet/avrcp/ |
D | Android.bp | 2 name: "lib-bt-packets-avrcp", 33 "lib-bt-packets-base",
|
/system/bt/profile/avrcp/ |
D | Android.bp | 20 "lib-bt-packets", 49 "lib-bt-packets",
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | link_layer_socket_device_test.cc | 43 using test_vendor_lib::packets::CommandBuilder; 44 using test_vendor_lib::packets::CommandView; 45 using test_vendor_lib::packets::LinkLayerPacketBuilder; 46 using test_vendor_lib::packets::LinkLayerPacketView; 47 using test_vendor_lib::packets::PacketView; 48 using test_vendor_lib::packets::View;
|
/system/bt/vendor_libs/test_vendor_lib/packets/ |
D | Android.bp | 4 name: "libbt-rootcanal-packets", 81 "libbt-rootcanal-packets",
|
D | base_packet_builder.h | 26 namespace packets {
|
/system/bt/packet/base/ |
D | Android.bp | 2 name: "lib-bt-packets-base",
|
/system/core/fastboot/ |
D | README.md | 51 send the indicated amount of data. Short packets are always 52 acceptable and zero-length packets are ignored. This phase continues 249 though currently fastboot packets have a 4-byte maximum length. 268 to ensure no packets are lost, but the general concept of wrapping the fastboot 302 corresponding sequence number in the response packets. 304 Data Packet data, not present in all packets. 311 respond to all query packets regardless of sequence number. 328 These packets wrap the fastboot protocol. To write, the host will 342 Devices must support at least 512-byte packets, but packet size has a direct 344 least 1024-byte packets. On a local network with 0.5ms round-trip time this will [all …]
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | hci_packet_builder.h | 24 namespace packets {
|
D | hci_packet_builder.cc | 22 namespace packets { namespace
|