Searched refs:v4addr (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterface.java | 516 String iface, String v4addr, String v4gateway, ArrayList<String> v6gws) { in setUpstreamParameters() argument 518 v4addr = (v4addr != null) ? v4addr : NO_IPV4_ADDRESS; in setUpstreamParameters() 523 iface, v4addr, v4gateway, String.join(",", v6gws)); in setUpstreamParameters() 528 iface, v4addr, v4gateway, v6gws, in setUpstreamParameters()
|
D | OffloadController.java | 668 String v4addr = null; in pushUpstreamParameters() local 673 v4addr = ip.getHostAddress(); in pushUpstreamParameters() 692 iface, v4addr, v4gateway, (v6gateways.isEmpty() ? null : v6gateways)); in pushUpstreamParameters()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterfaceTest.java | 191 final String v4addr = "192.168.10.1"; in testSetUpstreamParameters() local 195 mOffloadHw.setUpstreamParameters(RMNET0, v4addr, v4gateway, v6gws); in testSetUpstreamParameters() 196 verify(mIOffloadControl).setUpstreamParameters(eq(RMNET0), eq(v4addr), eq(v4gateway), in testSetUpstreamParameters()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_unit_test.cpp | 479 constexpr char v4addr[] = "1.2.3.4"; in TEST_F() local 546 dns.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F() 556 {AF_INET, v4addr, event_ipv4}, in TEST_F() 1184 constexpr char v4addr[] = "1.2.3.4"; in TEST_F() local 1231 dns.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F() 1241 {AF_INET, v4addr, event_ipv4}, in TEST_F()
|
D | resolv_integration_test.cpp | 3411 struct in_addr v4addr; in TEST_F() local 3438 inet_pton(AF_INET, "1.2.3.4", &v4addr); in TEST_F() 3439 result = gethostbyaddr(&v4addr, sizeof(v4addr), AF_INET); in TEST_F() 3569 in_addr v4addr; in TEST_F() local 3570 ASSERT_TRUE(inet_pton(AF_INET, address, &v4addr)); in TEST_F() 3571 hostent* result = gethostbyaddr(&v4addr, sizeof(v4addr), AF_INET); in TEST_F()
|
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 1270 struct in_addr v4addr = {.s_addr = v6addr.s6_addr32[3]}; in doDns64ReverseLookup() local 1271 resolv_gethostbyaddr(&v4addr, sizeof(v4addr), AF_INET, hbuf, buf, buflen, &mNetContext, hpp, in doDns64ReverseLookup()
|