Home
last modified time | relevance | path

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

/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
H A DDhcpServerTest.java241 final DhcpDiscoverPacket discover = new DhcpDiscoverPacket(TEST_TRANSACTION_ID, in testDiscover()
260 final DhcpDiscoverPacket discover = new DhcpDiscoverPacket(TEST_TRANSACTION_ID, in testDiscover_RapidCommit()
279 final DhcpDiscoverPacket discover = new DhcpDiscoverPacket(TEST_TRANSACTION_ID, in testDiscover_OutOfAddresses()
435 final DhcpDiscoverPacket discover = new DhcpDiscoverPacket(TEST_TRANSACTION_ID, in testChangePrefixOnDecline()
H A DDhcpPacketTest.java815 assertTrue(discoverPacket instanceof DhcpDiscoverPacket); in testExplicitClientId()
/aosp12/packages/modules/NetworkStack/src/android/net/dhcp/
H A DDhcpDiscoverPacket.java25 public class DhcpDiscoverPacket extends DhcpPacket { class
34 DhcpDiscoverPacket(int transId, short secs, Inet4Address relayIp, byte[] clientMac, in DhcpDiscoverPacket() method in DhcpDiscoverPacket
H A DDhcpServer.java507 if (packet instanceof DhcpDiscoverPacket) { in processPacket()
508 processDiscover((DhcpDiscoverPacket) packet); in processPacket()
529 private void processDiscover(@NonNull DhcpDiscoverPacket packet) in processDiscover()
H A DDhcpPacket.java1315 newPacket = new DhcpDiscoverPacket(transactionId, secs, relayIp, clientMac, in decodeFullPacket()
1485 DhcpPacket pkt = new DhcpDiscoverPacket(transactionId, secs, INADDR_ANY /* relayIp */, in buildDiscoverPacket()
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
H A DIpClientIntegrationTestCommon.java107 import android.net.dhcp.DhcpDiscoverPacket;
885 if (packet instanceof DhcpDiscoverPacket) {
1039 assertTrue(packet instanceof DhcpDiscoverPacket);
1227 assertTrue(packet instanceof DhcpDiscoverPacket);
1312 assertTrue(packet instanceof DhcpDiscoverPacket);
1318 assertTrue(packet instanceof DhcpDiscoverPacket);
1331 assertTrue(packet instanceof DhcpDiscoverPacket);
1342 assertTrue(packet instanceof DhcpDiscoverPacket);
1351 assertTrue(packet instanceof DhcpDiscoverPacket);
2775 assertTrue(packet instanceof DhcpDiscoverPacket);
[all …]
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DNetworkValidationTest.kt34 import android.net.dhcp.DhcpDiscoverPacket
167 DhcpDiscoverPacket::class.java, TEST_TIMEOUT_MS, DHCP_MESSAGE_TYPE_DISCOVER)