/system/core/liblog/tests/ |
D | liblog_benchmark.cpp | 203 struct packet { in BM_pmsg_short_aligned() struct 204 android_pmsg_log_header_t pmsg_header; in BM_pmsg_short_aligned() 205 android_log_header_t header; in BM_pmsg_short_aligned() 206 android_log_event_int_t payload; in BM_pmsg_short_aligned() 279 struct packet { in BM_pmsg_short_unaligned1() struct 280 android_pmsg_log_header_t pmsg_header; in BM_pmsg_short_unaligned1() 281 android_log_header_t header; in BM_pmsg_short_unaligned1() 282 android_log_event_int_t payload; in BM_pmsg_short_unaligned1() 355 struct packet { in BM_pmsg_long_aligned() struct 356 android_pmsg_log_header_t pmsg_header; in BM_pmsg_long_aligned() [all …]
|
/system/connectivity/shill/wifi/ |
D | callback80211_metrics_unittest.cc | 159 NetlinkPacket packet(kDisconnectMessage, sizeof(kDisconnectMessage)); in TEST_F() local 168 NetlinkPacket packet(kDeauthenticateMessage, sizeof(kDeauthenticateMessage)); in TEST_F() local 178 NetlinkPacket packet( in TEST_F() local 187 NetlinkPacket packet( in TEST_F() local 197 NetlinkPacket packet(kNewStationMessage, sizeof(kNewStationMessage)); in TEST_F() local 205 NetlinkPacket packet(kGetFamilyMessage, sizeof(kGetFamilyMessage)); in TEST_F() local
|
D | wake_on_wifi_unittest.cc | 1466 NetlinkPacket packet(kResponseNoIPAddresses, sizeof(kResponseNoIPAddresses)); in TEST_F() local 1506 NetlinkPacket packet( in TEST_F() local 1550 NetlinkPacket packet(kResponseWakeOnSSID, sizeof(kResponseWakeOnSSID)); in TEST_F() local 1582 NetlinkPacket packet(kResponseNoIPAddresses, sizeof(kResponseNoIPAddresses)); in TEST_F() local 1660 NetlinkPacket packet(kNewWiphyNlMsg, sizeof(kNewWiphyNlMsg)); in TEST_F() local 1682 MutableNetlinkPacket packet(kNewWiphyNlMsg, sizeof(kNewWiphyNlMsg)); in TEST_F() local 1711 MutableNetlinkPacket packet(kNewWiphyNlMsg, sizeof(kNewWiphyNlMsg)); in TEST_F() local 1739 MutableNetlinkPacket packet(kNewWiphyNlMsg, sizeof(kNewWiphyNlMsg)); in TEST_F() local 2044 NetlinkPacket packet(kWakeReasonSSIDNlMsg, sizeof(kWakeReasonSSIDNlMsg)); in TEST_F() local 3052 NetlinkPacket packet( in TEST_F() local [all …]
|
/system/bt/hci/src/ |
D | hci_packet_factory.c | 49 BT_HDR *packet = make_command(HCI_HOST_BUFFER_SIZE, parameter_size, &stream); in make_host_buffer_size() local 73 BT_HDR *packet = make_command(HCI_READ_LOCAL_EXT_FEATURES, parameter_size, &stream); in make_read_local_extended_features() local 82 BT_HDR *packet = make_command(HCI_WRITE_SIMPLE_PAIRING_MODE, parameter_size, &stream); in make_write_simple_pairing_mode() local 91 BT_HDR *packet = make_command(HCI_WRITE_SECURE_CONNS_SUPPORT, parameter_size, &stream); in make_write_secure_connections_host_support() local 100 BT_HDR *packet = make_command(HCI_SET_EVENT_MASK, parameter_size, &stream); in make_set_event_mask() local 109 BT_HDR *packet = make_command(HCI_WRITE_LE_HOST_SUPPORT, parameter_size, &stream); in make_ble_write_host_support() local 147 BT_HDR *packet = make_command(HCI_BLE_SET_EVENT_MASK, parameter_size, &stream); in make_ble_set_event_mask() local 160 BT_HDR *packet = make_packet(HCI_COMMAND_PREAMBLE_SIZE + parameter_size); in make_command() local
|
D | btsnoop_mem.c | 30 void btsnoop_mem_capture(const BT_HDR *packet) { in btsnoop_mem_capture()
|
D | packet_fragmenter.c | 66 static void fragment_and_dispatch(BT_HDR *packet) { in fragment_and_dispatch() 127 static void reassemble_and_dispatch(UNUSED_ATTR BT_HDR *packet) { in reassemble_and_dispatch()
|
D | hci_layer.c | 497 BT_HDR *packet = (BT_HDR *)fixed_queue_dequeue(queue); in event_packet_ready() local 505 static void transmit_fragment(BT_HDR *packet, bool send_transmit_finished) { in transmit_fragment() 516 static void fragmenter_transmit_finished(BT_HDR *packet, bool all_fragments_sent) { in fragmenter_transmit_finished() 656 static bool filter_incoming_event(BT_HDR *packet) { in filter_incoming_event() 723 static void dispatch_reassembled(BT_HDR *packet) { in dispatch_reassembled()
|
/system/extras/tests/net_test/ |
D | packets.py | 48 def _SetPacketTos(packet, tos): argument 87 def RST(version, srcaddr, dstaddr, packet): argument 97 def SYNACK(version, srcaddr, dstaddr, packet): argument 106 def ACK(version, srcaddr, dstaddr, packet, payload=""): argument 120 def FIN(version, srcaddr, dstaddr, packet): argument 131 def GRE(version, srcaddr, dstaddr, proto, packet): argument 139 def ICMPPortUnreachable(version, srcaddr, dstaddr, packet): argument 151 def ICMPPacketTooBig(version, srcaddr, dstaddr, packet): argument 171 def ICMPReply(version, srcaddr, dstaddr, packet): argument
|
D | tcp_test.py | 60 def _ReceiveAndExpectResponse(self, netid, packet, reply, msg): argument 66 def ReceivePacketOn(self, netid, packet): argument
|
D | ping6_test.py | 60 def ChecksumValid(self, packet): argument 94 def SendTimeExceeded(self, version, packet): argument 156 def SwapAddresses(self, packet): argument 161 def SendPacket(self, packet): argument
|
/system/bt/tools/hci/ |
D | main.c | 71 uint8_t packet[] = { 0x1A, 0x0C, 0x01, 0x00 }; in set_discoverable() local 90 uint8_t packet[251] = { 0x13, 0x0C, 248 }; in set_name() local 118 uint8_t packet[] = { 0x24, 0xFC, 0x01, 0x00 }; in set_pcm_loopback() local 144 uint8_t packet[] = { 0x1C, 0xFC, 0x05, 0x00, 0x02, 0x00, 0x00, 0x00 }; in set_sco_route() local 170 static bool write_hci_command(hci_packet_t type, const void *packet, size_t length) { in write_hci_command()
|
/system/bt/hci/test/ |
D | packet_fragmenter_test.cpp | 73 BT_HDR *packet = (BT_HDR *)osi_malloc(size + sizeof(BT_HDR)); in manufacture_packet_for_fragmentation() local 89 static void expect_packet_fragmented(uint16_t event, int max_acl_data_size, BT_HDR *packet, const c… in expect_packet_fragmented() 142 BT_HDR *packet = (BT_HDR *)osi_malloc(length_to_send + 4 + sizeof(BT_HDR)); in manufacture_packet_and_then_reassemble() local 164 BT_HDR *packet = (BT_HDR *)osi_malloc(data_length + sizeof(BT_HDR)); in manufacture_packet_and_then_reassemble() local 175 static void expect_packet_reassembled(uint16_t event, BT_HDR *packet, const char *expected_data) { in expect_packet_reassembled()
|
/system/connectivity/shill/net/ |
D | generic_netlink_message.cc | 75 bool GenericNetlinkMessage::InitAndStripHeader(NetlinkPacket* packet) { in InitAndStripHeader() 110 NetlinkPacket* packet, NetlinkMessage::MessageContext context) { in InitFromPacket() 140 const NetlinkPacket& packet) { in CreateMessage()
|
D | netlink_message.cc | 74 bool NetlinkMessage::InitAndStripHeader(NetlinkPacket* packet) { in InitAndStripHeader() 83 bool NetlinkMessage::InitFromPacket(NetlinkPacket* packet, in InitFromPacket() 118 void NetlinkMessage::PrintPacket(int log_level, const NetlinkPacket& packet) { in PrintPacket() 172 bool ErrorAckMessage::InitFromPacket(NetlinkPacket* packet, in InitFromPacket() 284 NetlinkPacket* packet, NetlinkMessage::MessageContext context) const { in CreateMessage()
|
D | rtnl_message_unittest.cc | 387 void TestParseLink(const ByteString& packet, in TestParseLink() 429 void TestParseAddress(const ByteString& packet, in TestParseAddress() 453 void TestParseRoute(const ByteString& packet, in TestParseRoute() 517 void TestParseRdnss(const ByteString& packet, in TestParseRdnss() 548 void TestParseNeighbor(const ByteString& packet, in TestParseNeighbor()
|
D | netlink_packet_unittest.cc | 112 NetlinkPacket packet(data, sizeof(data)); in TEST_F() local
|
D | nl80211_message.cc | 92 bool Nl80211Message::InitFromPacket(NetlinkPacket* packet, in InitFromPacket() 607 NetlinkMessage* Nl80211Message::CreateMessage(const NetlinkPacket& packet) { in CreateMessage() 718 const Nl80211Message& message, const NetlinkPacket& packet) { in CollectDebugData()
|
/system/connectivity/shill/ |
D | third_party_vpn_adaptor_stub.h | 34 void EmitPacketReceived(const std::vector<uint8_t>& packet) override {} in EmitPacketReceived()
|
D | arp_client_test_helper.cc | 47 bool ArpClientTestHelper::SimulateReceivePacket(ArpPacket* packet, in SimulateReceivePacket()
|
D | arp_client_unittest.cc | 116 void ArpClientTest::SetupValidPacket(ArpPacket* packet) { in SetupValidPacket() 239 ArpPacket packet; in TEST_F() local 260 ArpPacket packet; in TEST_F() local
|
D | arp_packet.cc | 67 bool ArpPacket::Parse(const ByteString& packet) { in Parse()
|
D | passive_link_monitor.cc | 109 ArpPacket packet; in ReceiveRequest() local
|
D | arp_client.cc | 117 bool ArpClient::ReceivePacket(ArpPacket* packet, ByteString* sender) const { in ReceivePacket()
|
/system/bt/stack/l2cap/ |
D | l2cap_client.c | 175 bool l2cap_client_write(l2cap_client_t *client, buffer_t *packet) { in l2cap_client_write() 344 static void read_ready_cb(uint16_t local_channel_id, BT_HDR *packet) { in read_ready_cb() 368 static void fragment_packet(l2cap_client_t *client, buffer_t *packet) { in fragment_packet() 404 BT_HDR *packet = (BT_HDR *)list_front(client->outbound_fragments); in dispatch_fragments() local
|
/system/connectivity/shill/shims/ |
D | netfilter_queue_processor.cc | 253 Packet packet; in InputQueueCallback() local 276 Packet packet; in OutputQueueCallback() local 359 const Packet& packet, time_t now) { in IsIncomingPacketAllowed() 402 const Packet& packet, time_t now) { in LogOutgoingPacket()
|