Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java363 assertTrue(offerPacket instanceof DhcpOfferPacket); // Implicitly checks it's non-null. in testOffer1()
397 assertTrue(offerPacket instanceof DhcpOfferPacket); // Implicitly checks it's non-null. in testOffer2()
433 assertTrue(offerPacket instanceof DhcpOfferPacket); // Implicitly checks it's non-null. in runCapportOptionTest()
480 assertTrue(offerPacket instanceof DhcpOfferPacket); // Implicitly checks it's non-null. in testCapportOption_Invalid()
687 assertTrue(offerPacket instanceof DhcpOfferPacket); // Implicitly checks it's non-null. in checkMtu()
874 assertTrue(offerPacket instanceof DhcpOfferPacket); in testPadAndOverloadedOptionsOffer()
907 assertTrue(offerPacket instanceof DhcpOfferPacket); in testBug2111()
942 assertTrue(offerPacket instanceof DhcpOfferPacket); in testBug2136()
979 assertTrue(offerPacket instanceof DhcpOfferPacket); in testUdpServerAnySourcePort()
1050 assertTrue(offerPacket instanceof DhcpOfferPacket); in testMultipleRouters()
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()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpOfferPacket.java25 public class DhcpOfferPacket extends DhcpPacket { class
34 DhcpOfferPacket(int transId, short secs, boolean broadcast, Inet4Address serverAddress, in DhcpOfferPacket() method in DhcpOfferPacket
DDhcpPacket.java1237 newPacket = new DhcpOfferPacket( in decodeFullPacket()
1411 DhcpPacket pkt = new DhcpOfferPacket( in buildOfferPacket()
DDhcpClient.java1232 if (packet instanceof DhcpOfferPacket) { in receiveOfferOrAckPacket()