Home
last modified time | relevance | path

Searched refs:DhcpOfferPacket (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
H A DDhcpPacketTest.java370 assertTrue(offerPacket instanceof DhcpOfferPacket); // Implicitly checks it's non-null. in testOffer1()
404 assertTrue(offerPacket instanceof DhcpOfferPacket); // Implicitly checks it's non-null. in testOffer2()
440 assertTrue(offerPacket instanceof DhcpOfferPacket); // Implicitly checks it's non-null. in runCapportOptionTest()
487 assertTrue(offerPacket instanceof DhcpOfferPacket); // Implicitly checks it's non-null. in testCapportOption_Invalid()
526 assertTrue(offerPacket instanceof DhcpOfferPacket); in runIPv6OnlyPreferredOption()
741 assertTrue(offerPacket instanceof DhcpOfferPacket); // Implicitly checks it's non-null. in checkMtu()
928 assertTrue(offerPacket instanceof DhcpOfferPacket); in testPadAndOverloadedOptionsOffer()
961 assertTrue(offerPacket instanceof DhcpOfferPacket); in testBug2111()
996 assertTrue(offerPacket instanceof DhcpOfferPacket); in testBug2136()
1033 assertTrue(offerPacket instanceof DhcpOfferPacket); in testUdpServerAnySourcePort()
[all …]
H A DDhcpServerTest.java248 final DhcpOfferPacket packet = assertOffer(getPacket()); in testDiscover()
441 final DhcpOfferPacket packet = assertOffer(getPacket()); in testChangePrefixOnDecline()
489 private static DhcpOfferPacket assertOffer(@Nullable DhcpPacket packet) { in assertOffer()
490 assertTrue(packet instanceof DhcpOfferPacket); in assertOffer()
491 return (DhcpOfferPacket) packet; in assertOffer()
/aosp12/packages/modules/NetworkStack/src/android/net/dhcp/
H A DDhcpOfferPacket.java25 public class DhcpOfferPacket extends DhcpPacket { class
34 DhcpOfferPacket(int transId, short secs, boolean broadcast, Inet4Address serverAddress, in DhcpOfferPacket() method in DhcpOfferPacket
H A DDhcpPacket.java1319 newPacket = new DhcpOfferPacket( in decodeFullPacket()
1515 DhcpPacket pkt = new DhcpOfferPacket( in buildOfferPacket()
H A DDhcpClient.java1285 if (packet instanceof DhcpOfferPacket) { in receiveOfferOrAckPacket()
/aosp12/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
H A DEthernetTetheringTest.java49 import android.net.dhcp.DhcpOfferPacket;
533 if (offerPacket instanceof DhcpOfferPacket) break; in runDhcp()
535 if (!(offerPacket instanceof DhcpOfferPacket)) { in runDhcp()