Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java75 private static final Inet4Address SERVER_ADDR = v4Address("192.0.2.1");
76 private static final Inet4Address CLIENT_ADDR = v4Address("192.0.2.234");
86 private static final Inet4Address ANY = v4Address("0.0.0.0");
91 private static final Inet4Address v4Address(String addrString) throws IllegalArgumentException { in v4Address() method in DhcpPacketTest
292 Inet4Address example1 = v4Address("192.0.2.1"); in testIpAddress()
293 Inet4Address example2 = v4Address("192.0.2.43"); in testIpAddress()
315 assertEquals(v4Address(gateway), dhcpResults.gateway); in assertDhcpResults()
320 dnsServers.add(v4Address(dnsServerString)); in assertDhcpResults()
325 assertEquals(v4Address(serverAddress), dhcpResults.serverAddress); in assertDhcpResults()