Home
last modified time | relevance | path

Searched refs:packets (Results 1 – 25 of 111) sorted by relevance

12345

/system/bt/vendor_libs/test_vendor_lib/model/controller/
Ddual_mode_controller.h63 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 …]
Ddual_mode_controller.cc43 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 …]
Dlink_layer_controller.h38 …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/
Dbeacon.cc67 std::unique_ptr<packets::LeAdvertisementBuilder> ad = packets::LeAdvertisementBuilder::Create( in TimerTick()
71 std::shared_ptr<packets::LinkLayerPacketBuilder> to_send = in TimerTick()
72packets::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()
Dloopback.cc83 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()
Dlink_layer_socket_device.cc44 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()
Dremote_loopback_device.cc31 using packets::LinkLayerPacketBuilder;
32 using packets::LinkLayerPacketView;
33 using packets::PageResponseBuilder;
Dlink_layer_socket_device.h46 virtual void IncomingPacket(packets::LinkLayerPacketView packet) override;
56 std::vector<packets::LinkLayerPacketView> packet_queue_;
Ddevice.h76 virtual void IncomingPacket(packets::LinkLayerPacketView){}; in IncomingPacket()
78 …virtual void SendLinkLayerPacket(std::shared_ptr<packets::LinkLayerPacketBuilder> packet, Phy::Typ…
Dcar_kit.cc41 [this](std::shared_ptr<packets::LinkLayerPacketBuilder> packet, Phy::Type phy_type) { in CarKit()
96 void CarKit::IncomingPacket(packets::LinkLayerPacketView packet) { in IncomingPacket()
Dpolled_socket.h44 size_t TrySend(packets::PacketView<true> packet);
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc34 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()
58packets::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()
Dphy_layer_factory.h39 …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;
Dphy_layer.h27 …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/
DAndroid.bp2 name: "lib-bt-packets",
10 "lib-bt-packets-base",
11 "lib-bt-packets-avrcp",
50 "lib-bt-packets",
/system/bt/profile/sdp/
DAndroid.bp15 "lib-bt-packets",
37 "lib-bt-packets",
/system/bt/packet/avrcp/
DAndroid.bp2 name: "lib-bt-packets-avrcp",
33 "lib-bt-packets-base",
/system/bt/profile/avrcp/
DAndroid.bp20 "lib-bt-packets",
49 "lib-bt-packets",
/system/bt/vendor_libs/test_vendor_lib/test/
Dlink_layer_socket_device_test.cc43 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/
DAndroid.bp4 name: "libbt-rootcanal-packets",
81 "libbt-rootcanal-packets",
Dbase_packet_builder.h26 namespace packets {
/system/bt/packet/base/
DAndroid.bp2 name: "lib-bt-packets-base",
/system/core/fastboot/
DREADME.md51 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/
Dhci_packet_builder.h24 namespace packets {
Dhci_packet_builder.cc22 namespace packets { namespace

12345