Searched refs:TEST_SERVER_ADDR (Results 1 – 4 of 4) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServingParamsTest.java | 60 private static final Inet4Address TEST_SERVER_ADDR = parseAddr("192.168.0.2"); field in DhcpServingParamsTest 62 private static final LinkAddress TEST_LINKADDR = new LinkAddress(TEST_SERVER_ADDR, 20); 112 assertContains(params.excludedAddrs, TEST_SERVER_ADDR); in testBuild_Immutable() 161 mBuilder.setServerAddr(new LinkAddress(TEST_SERVER_ADDR, 15)).build(); in testBuild_PrefixTooLarge() 167 .setServerAddr(new LinkAddress(TEST_SERVER_ADDR, 31)) in testBuild_PrefixTooSmall() 183 parcel.serverAddr = inet4AddressToIntHTH(TEST_SERVER_ADDR); in testFromParcelableObject()
|
D | DhcpServerTest.java | 86 private static final Inet4Address TEST_SERVER_ADDR = parseAddr("192.168.0.2"); field in DhcpServerTest 89 TEST_SERVER_ADDR, TEST_PREFIX_LENGTH); 294 request.mServerIdentifier = TEST_SERVER_ADDR; in makeRequestSelectingPacket() 342 TEST_SERVER_ADDR, TEST_CLIENT_ADDR, in testRelease() 369 TEST_CLIENT_ADDR /* requestedIp */, TEST_SERVER_ADDR /* serverIdentifier */); in runOnReceivedDeclinePacket() 463 assertMatchesLease(packet, TEST_SERVER_ADDR, TEST_CLIENT_ADDR, hostname); in assertMatchesTestLease()
|
D | DhcpLeaseRepositoryTest.java | 74 private static final Inet4Address TEST_SERVER_ADDR = parseAddr4("192.168.42.241"); field in DhcpLeaseRepositoryTest 87 private static final IpPrefix TEST_IP_PREFIX = new IpPrefix(TEST_SERVER_ADDR, 22); 92 TEST_SERVER_ADDR, TEST_DEF_ROUTER, TEST_RESERVED_ADDR))); 155 mRepo.updateParams(new IpPrefix(TEST_SERVER_ADDR, 28), TEST_EXCL_SET, TEST_LEASE_TIME_MS, in testAddressExhaustion() 202 mRepo.updateParams(new IpPrefix(TEST_SERVER_ADDR, 28), newReserved, TEST_LEASE_TIME_MS, in testUpdateParams_LeaseCleanup() 544 mRepo.updateParams(new IpPrefix(TEST_SERVER_ADDR, 28), TEST_EXCL_SET, TEST_LEASE_TIME_MS, in testMarkLeaseDeclined_UsedIfOutOfAddresses()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/util/ |
D | TetheringUtilsTest.java | 60 private static final LinkAddress TEST_SERVER_ADDR = new LinkAddress("192.168.43.1/24"); field in TetheringUtilsTest 74 request.localIPv4Address = TEST_SERVER_ADDR; in makeTetheringRequestParcel()
|