Searched defs:checkIpAddress (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
H A DDhcpPacketTest.java214 private void checkIpAddress(String expected, Inet4Address clientIp, Inet4Address yourIp, method in class:DhcpPacketTest
216 checkIpAddress(expected, DHCP_MESSAGE_TYPE_OFFER, clientIp, yourIp, netmaskBytes);
217 checkIpAddress(expected, DHCP_MESSAGE_TYPE_ACK, clientIp, yourIp, netmaskBytes);
220 private void checkIpAddress(String expected, byte type, method in class:DhcpPacketTest
246 checkIpAddress(null, ANY, ANY, slash24Netmask);
249 checkIpAddress("192.0.2.1/24", example2, example1, slash24Netmask);
250 checkIpAddress("192.0.2.43/11", example2, ANY, slash11Netmask);
251 checkIpAddress("192.0.2.43/11", ANY, example2, slash11Netmask);
254 checkIpAddress(null, example2, ANY, invalidNetmask);
257 checkIpAddress("192.
[all...]

Completed in 210 milliseconds