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/DnsResolver/tests/
Dresolv_integration_test.cpp839 test::DNSResponder dns1(listen_addr1, listen_srv, ns_rcode::ns_r_servfail); in TEST_F() local
842 dns1.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
845 ASSERT_TRUE(dns1.startServer()); in TEST_F()
855 dns1.setDeferredResp(true); in TEST_F()
862 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F()
896 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F()
903 dns1.setDeferredResp(false); in TEST_F()
1066 test::DNSResponder dns1(listen_addr1); in TEST_F() local
1069 StartDns(dns1, {{host_name, ns_type::ns_t_aaaa, "2001:db8::6"}}); in TEST_F()
1089 dns1.clearQueries(); in TEST_F()
[all …]
/packages/modules/Connectivity/tests/common/java/android/net/
DDhcpInfoTest.java54 dhcpInfo.dns1 = ipToInteger(STR_ADDR4); in createDhcpInfoObject()
93 && 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/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.java1358 mDns1View = (TextView) mView.findViewById(R.id.dns1); in showIpConfigFields()
1602 } else if (view.getId() == R.id.dns1) { in getIpConfigFieldsTextWatcher()
DWifiConfigController.java1379 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.java3583 info.dns1 = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) dns);