/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | beacon.cc | 64 auto ad = model::packets::LeAdvertisementBuilder::Create( in TimerTick() 66 model::packets::AddressType::PUBLIC, in TimerTick() 67 static_cast<model::packets::AdvertisementType>( in TimerTick() 70 std::shared_ptr<model::packets::LinkLayerPacketBuilder> to_send = in TimerTick() 79 void Beacon::IncomingPacket(model::packets::LinkLayerPacketView packet) { in IncomingPacket() 81 packet.GetType() == model::packets::PacketType::LE_SCAN) { in IncomingPacket() 82 auto scan_response = model::packets::LeScanResponseBuilder::Create( in IncomingPacket() 84 model::packets::AddressType::PUBLIC, in IncomingPacket() 85 model::packets::AdvertisementType::SCAN_RESPONSE, in IncomingPacket() 87 std::shared_ptr<model::packets::LinkLayerPacketBuilder> to_send = in IncomingPacket()
|
D | remote_loopback_device.cc | 26 using model::packets::LinkLayerPacketBuilder; 27 using model::packets::LinkLayerPacketView; 28 using model::packets::PageResponseBuilder; 46 model::packets::LinkLayerPacketView packet) { in IncomingPacket() 51 model::packets::PacketType type = packet.GetType(); in IncomingPacket() 53 case model::packets::PacketType::PAGE: in IncomingPacket()
|
D | loopback.cc | 69 void Loopback::IncomingPacket(model::packets::LinkLayerPacketView packet) { in IncomingPacket() 72 packet.GetType() == model::packets::PacketType::LE_SCAN) { in IncomingPacket() 75 auto scan_response = model::packets::LeScanResponseBuilder::Create( in IncomingPacket() 77 model::packets::AddressType::PUBLIC, in IncomingPacket() 78 model::packets::AdvertisementType::SCAN_RESPONSE, in IncomingPacket() 80 std::shared_ptr<model::packets::LinkLayerPacketBuilder> to_send = in IncomingPacket()
|
D | scripted_beacon.cc | 168 std::shared_ptr<model::packets::LinkLayerPacketBuilder> to_send; in TimerTick() 170 auto ad = model::packets::LeAdvertisementBuilder::Create( in TimerTick() 172 model::packets::AddressType::RANDOM, in TimerTick() 173 model::packets::AdvertisementType::ADV_NONCONN_IND, next_ad_.ad); in TimerTick() 201 model::packets::LinkLayerPacketView packet) { in IncomingPacket() 204 packet.GetType() == model::packets::PacketType::LE_SCAN) { in IncomingPacket() 205 auto scan_response = model::packets::LeScanResponseBuilder::Create( in IncomingPacket() 207 static_cast<model::packets::AddressType>( in IncomingPacket() 209 model::packets::AdvertisementType::SCAN_RESPONSE, in IncomingPacket() 211 std::shared_ptr<model::packets::LinkLayerPacketBuilder> to_send = in IncomingPacket()
|
D | device.h | 81 virtual void IncomingPacket(model::packets::LinkLayerPacketView){}; in IncomingPacket() 84 std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet, 86 virtual void SendLinkLayerPacket(model::packets::LinkLayerPacketView packet,
|
D | sniffer.cc | 42 void Sniffer::IncomingPacket(model::packets::LinkLayerPacketView packet) { in IncomingPacket() 53 model::packets::PacketTypeText(packet.GetType()).c_str()); in IncomingPacket()
|
D | link_layer_socket_device.h | 46 model::packets::LinkLayerPacketView packet) override; 58 std::vector<model::packets::LinkLayerPacketView> packet_queue_;
|
D | device.cc | 59 std::shared_ptr<model::packets::LinkLayerPacketBuilder> to_send, in SendLinkLayerPacket() 66 void Device::SendLinkLayerPacket(model::packets::LinkLayerPacketView to_send, in SendLinkLayerPacket()
|
D | car_kit.cc | 40 [this](std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet, in CarKit() 96 void CarKit::IncomingPacket(model::packets::LinkLayerPacketView packet) { in IncomingPacket()
|
D | link_layer_socket_device.cc | 56 auto packet = model::packets::LinkLayerPacketView::Create(packet_view); in TimerTick() 65 model::packets::LinkLayerPacketView packet) { in IncomingPacket()
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | link_layer_controller.h | 90 void IncomingPacket(model::packets::LinkLayerPacketView incoming); 115 std::shared_ptr<model::packets::LinkLayerPacketBuilder>, Phy::Type)>& 273 std::unique_ptr<model::packets::LinkLayerPacketBuilder> packet); 275 std::unique_ptr<model::packets::LinkLayerPacketBuilder> packet); 276 void IncomingAclPacket(model::packets::LinkLayerPacketView packet); 277 void IncomingDisconnectPacket(model::packets::LinkLayerPacketView packet); 278 void IncomingEncryptConnection(model::packets::LinkLayerPacketView packet); 280 model::packets::LinkLayerPacketView packet); 281 void IncomingInquiryPacket(model::packets::LinkLayerPacketView packet); 283 model::packets::LinkLayerPacketView packet); [all …]
|
D | link_layer_controller.cc | 45 std::unique_ptr<model::packets::LinkLayerPacketBuilder> packet) { in SendLeLinkLayerPacket() 46 std::shared_ptr<model::packets::LinkLayerPacketBuilder> shared_packet = in SendLeLinkLayerPacket() 54 std::unique_ptr<model::packets::LinkLayerPacketBuilder> packet) { in SendLinkLayerPacket() 55 std::shared_ptr<model::packets::LinkLayerPacketBuilder> shared_packet = in SendLinkLayerPacket() 70 SendLinkLayerPacket(model::packets::ReadRemoteLmpFeaturesBuilder::Create( in SendCommandToRemoteByAddress() 72 SendLinkLayerPacket(model::packets::RemoteNameRequestBuilder::Create( in SendCommandToRemoteByAddress() 77 model::packets::ReadRemoteSupportedFeaturesBuilder::Create( in SendCommandToRemoteByAddress() 84 model::packets::ReadRemoteExtendedFeaturesBuilder::Create( in SendCommandToRemoteByAddress() 89 model::packets::ReadRemoteVersionInformationBuilder::Create( in SendCommandToRemoteByAddress() 93 SendLinkLayerPacket(model::packets::ReadClockOffsetBuilder::Create( in SendCommandToRemoteByAddress() [all …]
|
D | le_advertiser.cc | 25 model::packets::AdvertisementType type, in Initialize() 41 model::packets::AdvertisementType type, in InitializeExtended() 57 type_ = model::packets::AdvertisementType::ADV_IND; in Clear() 99 std::unique_ptr<model::packets::LeAdvertisementBuilder> 115 return model::packets::LeAdvertisementBuilder::Create( in GetAdvertisement() 117 static_cast<model::packets::AddressType>(address_.GetAddressType()), in GetAdvertisement() 121 std::unique_ptr<model::packets::LeScanResponseBuilder> 141 return model::packets::LeScanResponseBuilder::Create( in GetScanResponse() 143 static_cast<model::packets::AddressType>(address_.GetAddressType()), in GetScanResponse() 144 model::packets::AdvertisementType::SCAN_RESPONSE, scan_response_); in GetScanResponse()
|
D | le_advertiser.h | 38 model::packets::AdvertisementType type, 46 model::packets::AdvertisementType type, 53 std::unique_ptr<model::packets::LeAdvertisementBuilder> GetAdvertisement( 56 std::unique_ptr<model::packets::LeScanResponseBuilder> GetScanResponse( 77 model::packets::AdvertisementType type_{};
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | phy_layer_factory.h | 41 const std::function<void(model::packets::LinkLayerPacketView)>& 55 std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet, 57 virtual void Send(model::packets::LinkLayerPacketView packet, uint32_t id); 69 const std::function<void(model::packets::LinkLayerPacketView)>& 75 std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet) override; 76 void Send(model::packets::LinkLayerPacketView packet) override; 77 void Receive(model::packets::LinkLayerPacketView packet) override;
|
D | phy_layer.h | 27 const std::function<void(model::packets::LinkLayerPacketView)>& in PhyLayer() 36 std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet) = 0; 37 virtual void Send(model::packets::LinkLayerPacketView packet) = 0; 39 virtual void Receive(model::packets::LinkLayerPacketView packet) = 0; 65 const std::function<void(model::packets::LinkLayerPacketView)>
|
D | phy_layer_factory.cc | 34 const std::function<void(model::packets::LinkLayerPacketView)>& in GetPhyLayer() 60 const std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet, in Send() 70 model::packets::LinkLayerPacketView::Create(packet_view); in Send() 76 void PhyLayerFactory::Send(model::packets::LinkLayerPacketView packet, in Send() 113 const std::function<void(model::packets::LinkLayerPacketView)>& in PhyLayerImpl() 123 const std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet) { in Send() 127 void PhyLayerImpl::Send(model::packets::LinkLayerPacketView packet) { in Send() 139 void PhyLayerImpl::Receive(model::packets::LinkLayerPacketView packet) { in Receive()
|
/system/bt/gd/l2cap/classic/cert/ |
D | l2cap_performance_test.py | 38 def _basic_mode_tx(self, mtu, packets): argument 46 for _ in range(packets): 49 L2capMatchers.Data(b'a' * mtu), at_least_times=packets, timeout=timedelta(seconds=60)) 76 def _basic_mode_rx(self, mtu, packets): argument 83 for _ in range(packets): 86 … L2capMatchers.PacketPayloadRawData(data), at_least_times=packets, timeout=timedelta(seconds=60)) 92 def _ertm_mode_tx(self, mtu, packets, tx_window_size=10): argument 97 packets = packets // tx_window_size * tx_window_size 110 for i in range(packets): 123 def _ertm_mode_rx(self, mtu, packets, tx_window_size=10): argument [all …]
|
/system/bt/packet/tests/fuzzers/ |
D | Android.bp | 23 "lib-bt-packets", 53 "lib-bt-packets", 83 "lib-bt-packets", 113 "lib-bt-packets", 143 "lib-bt-packets", 173 "lib-bt-packets", 203 "lib-bt-packets", 233 "lib-bt-packets", 263 "lib-bt-packets", 293 "lib-bt-packets", [all …]
|
/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/profile/avrcp/ |
D | Android.bp | 20 "lib-bt-packets", 49 "lib-bt-packets", 85 "lib-bt-packets",
|
/system/netd/bpf_progs/ |
D | offload.c | 99 uint64_t packets = 1; in do_forward() local 105 packets = (payload + mss - 1) / mss; in do_forward() 106 bytes = tcp_overhead * packets + payload; in do_forward() 150 __sync_fetch_and_add(&stat_v->rxPackets, packets); in do_forward()
|
/system/bt/packet/avrcp/ |
D | Android.bp | 2 name: "lib-bt-packets-avrcp", 33 "lib-bt-packets-base",
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | link_layer_socket_device_test.cc | 40 using test_vendor_lib::packets::CommandBuilder; 41 using test_vendor_lib::packets::CommandView; 42 using test_vendor_lib::packets::LinkLayerPacketBuilder; 43 using test_vendor_lib::packets::LinkLayerPacketView; 44 using test_vendor_lib::packets::PacketView; 45 using test_vendor_lib::packets::View;
|