Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpResultsParcelableUtilTest.java46 private DhcpResults mDhcpResults; field in DhcpResultsParcelableUtilTest
50 mDhcpResults = new DhcpResults(); in setUp()
51 mDhcpResults.ipAddress = new LinkAddress(parseNumericAddress("192.168.42.19"), 25); in setUp()
52 mDhcpResults.gateway = parseNumericAddress("192.168.42.42"); in setUp()
53 mDhcpResults.dnsServers.add(parseNumericAddress("8.8.8.8")); in setUp()
54 mDhcpResults.dnsServers.add(parseNumericAddress("192.168.43.43")); in setUp()
55 mDhcpResults.domains = "example.com"; in setUp()
56 mDhcpResults.serverAddress = (Inet4Address) parseNumericAddress("192.168.44.44"); in setUp()
57 mDhcpResults.vendorInfo = "TEST_VENDOR_INFO"; in setUp()
58 mDhcpResults.leaseDuration = 3600; in setUp()
[all …]
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java524 private DhcpResults mDhcpResults; field in IpClient
1179 mDhcpResults = null; in resetLinkProperties()
1421 if (mDhcpResults != null) { in assembleLinkProperties()
1423 mDhcpResults.toStaticIpConfiguration().getRoutes(mInterfaceName); in assembleLinkProperties()
1427 addAllReachableDnsServers(newLp, mDhcpResults.dnsServers); in assembleLinkProperties()
1428 newLp.setDomains(mDhcpResults.domains); in assembleLinkProperties()
1430 if (mDhcpResults.mtu != 0) { in assembleLinkProperties()
1431 newLp.setMtu(mDhcpResults.mtu); in assembleLinkProperties()
1434 if (mDhcpResults.serverAddress != null) { in assembleLinkProperties()
1435 mShim.setDhcpServerAddress(newLp, mDhcpResults.serverAddress); in assembleLinkProperties()
[all …]