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("2001:db8::42"), 64); in setUp()
52 mDhcpResults.gateway = parseNumericAddress("192.168.42.42"); in setUp()
53 mDhcpResults.dnsServers.add(parseNumericAddress("2001:db8::43")); 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.java482 private DhcpResults mDhcpResults; field in IpClient
1070 mDhcpResults = null; in resetLinkProperties()
1284 if (mDhcpResults != null) { in assembleLinkProperties()
1286 mDhcpResults.toStaticIpConfiguration().getRoutes(mInterfaceName); in assembleLinkProperties()
1290 addAllReachableDnsServers(newLp, mDhcpResults.dnsServers); in assembleLinkProperties()
1291 newLp.setDomains(mDhcpResults.domains); in assembleLinkProperties()
1293 if (mDhcpResults.mtu != 0) { in assembleLinkProperties()
1294 newLp.setMtu(mDhcpResults.mtu); in assembleLinkProperties()
1297 if (mDhcpResults.serverAddress != null) { in assembleLinkProperties()
1298 mShim.setDhcpServerAddress(newLp, mDhcpResults.serverAddress); in assembleLinkProperties()
[all …]