Home
last modified time | relevance | path

Searched refs:dns1 (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DDhcpInfo.java29 public int dns1; field in DhcpInfo
45 dns1 = source.dns1; in DhcpInfo()
58 str.append(" dns1 "); putAddress(str, dns1); in toString()
80 dest.writeInt(dns1); in writeToParcel()
94 info.dns1 = in.readInt();
/packages/modules/Connectivity/tests/common/java/android/net/
DDhcpInfoTest.java53 dhcpInfo.dns1 = ipToInteger(STR_ADDR4); in createDhcpInfoObject()
92 && left.dns1 == right.dns1 in dhcpInfoEquals()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DAdvancedOptionsFlowUtil.java143 String dns1 = flowInfo.get(AdvancedOptionsFlowInfo.DNS1); in processIpSettings() local
144 if (!TextUtils.isEmpty(dns1)) { in processIpSettings()
146 dnsServers.add(InetAddresses.parseNumericAddress(dns1)); in processIpSettings()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp856 test::DNSResponder dns1(listen_addr1, listen_srv, ns_rcode::ns_r_servfail); in TEST_F() local
859 dns1.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
862 ASSERT_TRUE(dns1.startServer()); in TEST_F()
873 dns1.setDeferredResp(true); in TEST_F()
883 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F()
889 EXPECT_TRUE(PollForCondition([&]() { return GetNumQueries(dns1, host_name_deferred); })); in TEST_F()
916 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F()
923 dns1.setDeferredResp(false); in TEST_F()
1258 test::DNSResponder dns1(listen_addr1); in TEST_F() local
1261 StartDns(dns1, {{host_name, ns_type::ns_t_aaaa, "2001:db8::6"}}); in TEST_F()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java106 InetAddress dns1 = InetAddresses.parseNumericAddress("75.208.7.1"); in createProvisionedLinkProperties() local
111 lp4.addDnsServer(dns1); in createProvisionedLinkProperties()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java1450 mDns1View = (TextView) mView.findViewById(R.id.dns1); in showIpConfigFields()
1695 } else if (view.getId() == R.id.dns1) { in getIpConfigFieldsTextWatcher()
DWifiConfigController.java1411 mDns1View = (TextView) mView.findViewById(R.id.dns1); in showIpConfigFields()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt167 field public int dns1;
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java5130 info.dns1 = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) dns);