Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java76 private static final Inet4Address SERVER_ADDR = v4Address("192.0.2.1");
77 private static final Inet4Address CLIENT_ADDR = v4Address("192.0.2.234");
87 private static final Inet4Address ANY = v4Address("0.0.0.0");
93 private static final Inet4Address v4Address(String addrString) throws IllegalArgumentException { in v4Address() method in DhcpPacketTest
300 Inet4Address example1 = v4Address("192.0.2.1"); in testIpAddress()
301 Inet4Address example2 = v4Address("192.0.2.43"); in testIpAddress()
323 assertEquals(v4Address(gateway), dhcpResults.gateway); in assertDhcpResults()
328 dnsServers.add(v4Address(dnsServerString)); in assertDhcpResults()
333 assertEquals(v4Address(serverAddress), dhcpResults.serverAddress); in assertDhcpResults()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java1049 final String v4Address = "192.0.2.1"; in testRegisterAndUnregisterServiceInfoCallback() local
1057 List.of(v4Address), in testRegisterAndUnregisterServiceInfoCallback()
1071 List.of(parseNumericAddress(v4Address), parseNumericAddress(v6Address)), in testRegisterAndUnregisterServiceInfoCallback()