Home
last modified time | relevance | path

Searched refs:DhcpDiscoverPacket (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java242 final DhcpDiscoverPacket discover = new DhcpDiscoverPacket(TEST_TRANSACTION_ID, in testDiscover()
262 final DhcpDiscoverPacket discover = new DhcpDiscoverPacket(TEST_TRANSACTION_ID, in testDiscover_RapidCommit()
281 final DhcpDiscoverPacket discover = new DhcpDiscoverPacket(TEST_TRANSACTION_ID, in testDiscover_OutOfAddresses()
437 final DhcpDiscoverPacket discover = new DhcpDiscoverPacket(TEST_TRANSACTION_ID, in testChangePrefixOnDecline()
DDhcpPacketTest.java816 assertTrue(discoverPacket instanceof DhcpDiscoverPacket); in testExplicitClientId()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpDiscoverPacket.java25 public class DhcpDiscoverPacket extends DhcpPacket { class
34 DhcpDiscoverPacket(int transId, short secs, Inet4Address relayIp, byte[] clientMac, in DhcpDiscoverPacket() method in DhcpDiscoverPacket
DDhcpServer.java522 if (packet instanceof DhcpDiscoverPacket) { in processPacket()
523 processDiscover((DhcpDiscoverPacket) packet); in processPacket()
544 private void processDiscover(@NonNull DhcpDiscoverPacket packet) in processDiscover()
DDhcpPacket.java1348 newPacket = new DhcpDiscoverPacket(transactionId, secs, relayIp, clientMac, in decodeFullPacket()
1519 DhcpPacket pkt = new DhcpDiscoverPacket(transactionId, secs, INADDR_ANY /* relayIp */, in buildDiscoverPacket()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java157 import android.net.dhcp.DhcpDiscoverPacket;
1314 if (packet instanceof DhcpDiscoverPacket) {
1336 if (shouldReplyRapidCommitAck || !(packet instanceof DhcpDiscoverPacket)) {
1491 assertTrue(packet instanceof DhcpDiscoverPacket);
1523 assertTrue(packet instanceof DhcpDiscoverPacket);
1530 assertTrue(packet instanceof DhcpDiscoverPacket);
1681 assertTrue(packet instanceof DhcpDiscoverPacket);
1744 assertTrue(packet instanceof DhcpDiscoverPacket);
1778 assertTrue(packet instanceof DhcpDiscoverPacket);
1784 assertTrue(packet instanceof DhcpDiscoverPacket);
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkValidationTest.kt33 import android.net.dhcp.DhcpDiscoverPacket
166 DhcpDiscoverPacket::class.java, TEST_TIMEOUT_MS, DHCP_MESSAGE_TYPE_DISCOVER) in testCapportApiCallbacks()