Home
last modified time | relevance | path

Searched defs:packet (Results 1 – 25 of 26) sorted by relevance

12

/tools/netsim/src/wifi/
Dwifi_facade.cc43 std::vector<uint8_t> packet(buf, buf + size); in HandleWifiCallback() local
115 void HandleWifiRequestCxx(uint32_t chip_id, const rust::Vec<uint8_t> &packet) { in HandleWifiRequestCxx()
125 void HostapdSendCxx(uint32_t chip_id, const rust::Vec<uint8_t> &packet) { in HostapdSendCxx()
135 void LibslirpSendCxx(uint32_t chip_id, const rust::Vec<uint8_t> &packet) { in LibslirpSendCxx()
/tools/netsim/rust/daemon/src/transport/
Dh4.rs65 let mut packet = vec![0u8; preamble_size]; in read_h4_packet() localVariable
156 let packet = read_h4_packet(&mut reader).unwrap(); in test_read_h4_cmd_packet() localVariable
168 let packet = read_h4_packet(&mut reader).unwrap(); in test_read_h4_acl_packet() localVariable
177 let packet = read_h4_packet(&mut reader).unwrap(); in test_read_h4_sco_packet() localVariable
186 let packet = read_h4_packet(&mut reader).unwrap(); in test_read_h4_evt_packet() localVariable
195 let packet = read_h4_packet(&mut reader).unwrap(); in test_read_h4_iso_packet() localVariable
233 let packet = h4_recovery(&mut reader).unwrap(); in test_h4_recovery_with_reset_first() localVariable
242 let packet = h4_recovery(&mut reader).unwrap(); in test_h4_recovery_with_reset_after_many() localVariable
/tools/netsim/src/backend/
Dgrpc_server.cc168 auto packet = in ProcessRequests() local
177 auto packet = ToSharedVec(request.mutable_packet()); in ProcessRequests() local
188 auto packet = ToSharedVec(request.mutable_packet()); in ProcessRequests() local
205 void HandleResponse(uint32_t chip_id, const std::vector<uint8_t> &packet, in HandleResponse()
228 void HandleResponseCxx(uint32_t chip_id, const rust::Vec<rust::u8> &packet, in HandleResponseCxx()
Dpacket_streamer_client.cc39 namespace netsim::packet { namespace
/tools/netsim/src/hci/
Drust_device.cc28 ::model::packets::LinkLayerPacketView packet, rootcanal::Phy::Type type, in ReceiveLinkLayerPacket()
40 const rust::Slice<const uint8_t> packet, int8_t tx_power) const { in SendLinkLayerLePacket() argument
Dhci_packet_transport.cc90 const std::shared_ptr<std::vector<uint8_t>> &packet) { in Request()
151 const std::shared_ptr<std::vector<uint8_t>> &packet) { in handle_bt_request()
169 const rust::Vec<uint8_t> &packet) { in HandleBtRequestCxx()
Dbluetooth_facade.cc84 void Send(std::vector<uint8_t> const &packet, int8_t tx_power, in Send()
377 std::string description, const std::vector<uint8_t> &packet) { in Add()
/tools/netsim/proto/netsim/
Dpacket_streamer.proto53 bytes packet = 3; field
64 bytes packet = 3; field
Dhci_packet.proto58 bytes packet = 2; field
Dstats.proto30 optional bytes packet = 3; field
/tools/test/connectivity/acts_tests/tests/google/net/
DDhcpServerTest.py148 def _handle_arp(self, packet): argument
887 def _get_response(self, packet): argument
897 def _send(self, packet): argument
900 def _assert_type(self, packet, tp): argument
904 def _assert_ack(self, packet): argument
907 def _assert_nak(self, packet): argument
910 def _assert_offer(self, packet): argument
913 def _assert_broadcast(self, packet): argument
919 def _assert_broadcastbit(self, packet, isset=True): argument
924 def _assert_unicast(self, packet, ipAddr=None): argument
[all …]
/tools/netsim/rust/daemon/src/grpc_server/
Dbackend.rs101 let packet: Bytes = request.packet().to_vec().into(); in stream_packets() localVariable
113 let packet: Bytes = request.hci_packet().packet.to_vec().into(); in stream_packets() localVariable
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DPipe.kt53 val packet = queue.take() in next() constant
/tools/netsim/rust/daemon/src/wifi/
Dhwsim_attr_set.rs299 let packet: Vec<u8> = include!("test_packets/hwsim_cmd_frame.csv"); in test_attr_set_parse() localVariable
322 let packet: Vec<u8> = include!("test_packets/hwsim_cmd_frame.csv"); in test_attr_set_attributes() localVariable
335 let packet: Vec<u8> = include!("test_packets/hwsim_cmd_frame.csv"); in test_attr_set_parse_with_frame_transmitter() localVariable
367 let packet: Vec<u8> = include!("test_packets/hwsim_cmd_frame.csv"); in test_hwsim_attr_set_display() localVariable
Dmedium.rs577 let packet: Vec<u8> = include!("test_packets/hwsim_cmd_frame.csv"); in test_netlink_attr() localVariable
598 let packet: Vec<u8> = include!("test_packets/hwsim_cmd_frame_mdns.csv"); in test_is_mdns_packet() localVariable
607 let packet: Vec<u8> = include!("test_packets/hwsim_cmd_tx_info.csv"); in test_build_tx_info_reconstruct() localVariable
617 let packet: Vec<u8> = include!("test_packets/hwsim_cmd_frame.csv"); in test_build_tx_info() localVariable
/tools/netsim/rust/daemon/src/wireless/
Dpacket.rs46 packet: Bytes, field
108 let packet = Bytes::from(packet.as_slice().to_vec()); in handle_response_cxx() localVariable
Dwifi.rs82 let packet = rx.recv().unwrap(); in new() localVariable
/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_sender.py112 def __init__(self, signal, packet, interval, interface, log): argument
166 def send_ntimes(self, packet, ntimes, interval): argument
186 def send_receive_ntimes(self, packet, ntimes, interval): argument
208 def start_sending(self, packet, interval): argument
/tools/netsim/rust/daemon/src/bluetooth/
Dbeacon.rs183 let packet = LeLegacyAdvertisingPduBuilder { in tick() localVariable
217 let packet = LeScanResponseBuilder { in receive_link_layer_packet() localVariable
/tools/tradefederation/core/common_util/com/android/tradefed/invoker/tracing/
DActiveTrace.java240 private synchronized void writeToTrace(TracePacket packet) { in writeToTrace()
/tools/test/connectivity/acts_tests/tests/google/power/wifi/
DPowerWiFimulticastTest.py93 def sendPacketAndMeasure(self, packet): argument
/tools/netsim/rust/daemon/src/captures/
Dcapture.rs171 packet: Bytes, field
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/
Dtransformers.py214 def _process_dropped_count(self, packet): argument
/tools/netsim/rust/proto/src/
Dhci_packet.rs35 pub packet: ::std::vec::Vec<u8>, field
Dpacket_streamer.rs149 pub fn packet(&self) -> &[u8] { in packet() method
495 pub fn packet(&self) -> &[u8] { in packet() method

12