Home
last modified time | relevance | path

Searched refs:getPacket (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/
DKeepalivePacketDataUtilTest.java103 final byte[] packet = resultData.getPacket(); in testFromTcpKeepaliveStableParcelable()
203 assertTrue(testData.getPacket().length > 0); in testParseTcpKeepalivePacketData()
204 assertArrayEquals(testData.getPacket(), roundTripData.getPacket()); in testParseTcpKeepalivePacketData()
214 assertTrue(noScaleTestData.getPacket().length > 0); in testParseTcpKeepalivePacketData()
215 assertArrayEquals(noScaleTestData.getPacket(), noScaleRoundTripData.getPacket()); in testParseTcpKeepalivePacketData()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java249 final DhcpOfferPacket packet = assertOffer(getPacket()); in testDiscover()
269 final DhcpAckPacket packet = assertAck(getPacket()); in testDiscover_RapidCommit()
288 final DhcpNakPacket packet = assertNak(getPacket()); in testDiscover_OutOfAddresses()
317 final DhcpAckPacket packet = assertAck(getPacket()); in testRequest_Selecting_Ack()
335 final DhcpNakPacket packet = assertNak(getPacket()); in testRequest_Selecting_Nak()
443 final DhcpOfferPacket packet = assertOffer(getPacket()); in testChangePrefixOnDecline()
496 private DhcpPacket getPacket() throws Exception { in getPacket() method in DhcpServerTest
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsPacketRepeater.java83 MdnsPacket getPacket(int index); in getPacket() method
113 final MdnsPacket packet = request.getPacket(index); in handleMessage()
DMdnsAnnouncer.java68 public MdnsPacket getPacket(int index) { in getPacket() method in MdnsAnnouncer.BaseAnnouncementInfo
DMdnsProber.java70 public MdnsPacket getPacket(int index) { in getPacket() method in MdnsProber.ProbingInfo
DMdnsPacketWriter.java251 public DatagramPacket getPacket(SocketAddress destAddress) throws IOException { in getPacket() method in MdnsPacketWriter
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsPacketWriterTest.kt40 val packet = writer.getPacket( in testNameCompression()
DMdnsRecordRepositoryTest.kt195 val packet = probingInfo.getPacket(0) in makeFlags()
298 val packet = exitAnnouncement.getPacket(0) in testExitAnnouncements()
329 val packet = exitAnnouncement.getPacket(0) in testExitAnnouncements_WithSubtypes()
382 val packet = announcementInfo.getPacket(0) in testOnProbingSucceeded()
1762 val packet = probingInfo.getPacket(0) in testIncludeInetAddressRecordsInProbing()
2186 val packet = probingInfo.getPacket(0) in testRestartProbingForHostname()
2220 val packet = announcementInfo.getPacket(0) in testRestartAnnouncingForHostname()
DMdnsProberTest.kt143 assertEquals(2, probeInfo.getPacket(0).questions.size) in <lambda>()
DMdnsRecordTests.java380 final DatagramPacket packet = writer.getPacket(MULTICAST_IPV4_ADDRESS); in toHex()
DMdnsResponseDecoderTests.java617 final DatagramPacket packet = writer.getPacket(new InetSocketAddress(0 /* port */)); in makeResponsePacket()
/packages/modules/Connectivity/framework/src/android/net/
DKeepalivePacketData.java115 public byte[] getPacket() { in getPacket() method in KeepalivePacketData
DTcpKeepalivePacketData.java175 out.writeByteArray(getPacket()); in writeToParcel()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/util/
DKeepalivePacketDataUtil.java110 final ByteBuffer buffer = ByteBuffer.wrap(data.getPacket()); in parseTcpKeepalivePacketData()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DKeepaliveTracker.java266 + " packetData=" + HexDump.toHexString(mPacket.getPacket()) in toString()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt161 method @NonNull public byte[] getPacket();
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java681 TEST_IFACE_NAME, slot, srcMac, dstMac, kap.getPacket(), in testStartSendingOffloadedPacket()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt423 Landroid/net/KeepalivePacketData;->getPacket()[B
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java1730 packet = packetData.getPacket(); in startWifiIPPacketOffload()