Home
last modified time | relevance | path

Searched refs:SERVER_ADDR (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"); field in DhcpPacketTest
81 SERVER_ADDR, PREFIX_LENGTH);
144 fillInPacket(encap, CLIENT_ADDR, SERVER_ADDR, in buildPacket()
1208 SERVER_ADDR, INADDR_ANY /* relayIp */, CLIENT_ADDR /* yourIp */, in checkBuildOfferPacket()
1210 BROADCAST_ADDR /* bcAddr */, Collections.singletonList(SERVER_ADDR) /* gateways */, in checkBuildOfferPacket()
1211 Collections.singletonList(SERVER_ADDR) /* dnsServers */, in checkBuildOfferPacket()
1212 SERVER_ADDR /* dhcpServerIdentifier */, null /* domainName */, hostname, in checkBuildOfferPacket()
1227 bos.write(SERVER_ADDR.getAddress()); in checkBuildOfferPacket()
1245 bos.write(SERVER_ADDR.getAddress()); in checkBuildOfferPacket()
1265 bos.write(SERVER_ADDR.getAddress()); in checkBuildOfferPacket()
[all …]
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java428 private static final Inet4Address SERVER_ADDR = ipv4Addr("192.168.1.100"); field in IpClientIntegrationTestCommon
435 SERVER_ADDR, PREFIX_LENGTH);
1108 false /* broadcast */, SERVER_ADDR, INADDR_ANY /* relayIp */,
1111 Collections.singletonList(SERVER_ADDR) /* gateways */,
1112 Collections.singletonList(SERVER_ADDR) /* dnsServers */,
1113 SERVER_ADDR /* dhcpServerIdentifier */, domainName, HOSTNAME,
1130 false /* broadcast */, SERVER_ADDR, INADDR_ANY /* relayIp */,
1133 Collections.singletonList(SERVER_ADDR) /* gateways */,
1134 Collections.singletonList(SERVER_ADDR) /* dnsServers */,
1135 SERVER_ADDR /* dhcpServerIdentifier */, domainName, HOSTNAME,
[all …]