Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServingParamsTest.java56 Arrays.asList(parseAddr("192.168.0.123"), parseAddr("192.168.0.124")));
59 Arrays.asList(parseAddr("192.168.0.126"), parseAddr("192.168.0.127")));
60 private static final Inet4Address TEST_SERVER_ADDR = parseAddr("192.168.0.2");
61 private static final Inet4Address TEST_CLIENT_ADDR = parseAddr("192.168.0.42");
65 Arrays.asList(parseAddr("192.168.0.200"), parseAddr("192.168.0.201")));
98 final Inet4Address addedAddr = parseAddr("192.168.0.223"); in testBuild_Immutable()
168 mBuilder.setDefaultRouters(parseAddr("192.168.0.254")) in testBuild_PrefixTooSmall()
175 mBuilder.setDefaultRouters(parseAddr("192.168.254.254")).build(); in testBuild_RouterNotInPrefix()
248 private static Inet4Address parseAddr(@NonNull String inet4Addr) { in parseAddr() method in DhcpServingParamsTest
DDhcpServerTest.java86 private static final Inet4Address TEST_SERVER_ADDR = parseAddr("192.168.0.2");
91 Arrays.asList(parseAddr("192.168.0.123"), parseAddr("192.168.0.124")));
93 Arrays.asList(parseAddr("192.168.0.126"), parseAddr("192.168.0.127")));
95 Arrays.asList(parseAddr("192.168.0.200"), parseAddr("192.168.0.201")));
103 private static final Inet4Address TEST_CLIENT_ADDR = parseAddr("192.168.0.42");
418 final Inet4Address serverAddr = parseAddr("192.168.51.129"); in testChangePrefixOnDecline()
422 Arrays.asList(parseAddr("192.168.51.200"), parseAddr("192.168.51.201"))); in testChangePrefixOnDecline()
428 final Inet4Address clientAddr = parseAddr("192.168.51.42"); in testChangePrefixOnDecline()
502 private static Inet4Address parseAddr(@Nullable String inet4Addr) { in parseAddr() method in DhcpServerTest