Home
last modified time | relevance | path

Searched refs:mDnsServers (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServingParams.java202 private Set<Inet4Address> mDnsServers; field in DhcpServingParams.Builder
257 this.mDnsServers = dnsServers; in setDnsServers()
369 if (mDnsServers == null) { in build()
401 excl.addAll(mDnsServers); in build()
405 Collections.unmodifiableSet(new HashSet<>(mDnsServers)), in build()
DDhcpOfferPacket.java44 if (mDnsServers != null) { in toString()
45 for (Inet4Address dnsServer: mDnsServers) { in toString()
DDhcpPacket.java178 protected List<Inet4Address> mDnsServers; field in DhcpPacket
785 addTlv(buf, DHCP_DNS_SERVER, mDnsServers); in addCommonServerTlvs()
1278 newPacket.mDnsServers = dnsServers; in decodeFullPacket()
1361 results.dnsServers.addAll(mDnsServers); in toDhcpResults()
1415 pkt.mDnsServers = dnsServers; in buildOfferPacket()
1443 pkt.mDnsServers = dnsServers; in buildAckPacket()
DDhcpAckPacket.java45 for (Inet4Address dnsServer: mDnsServers) { in toString()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java76 private TextView mDnsServers; field in ConfigDialog
117 mDnsServers = (TextView) mView.findViewById(R.id.dns_servers); in onCreate()
144 mDnsServers.setText(mProfile.dnsServers); in onCreate()
176 mDnsServers.addTextChangedListener(this); in onCreate()
352 return mSearchDomains.getText().length() > 0 || mDnsServers.getText().length() > 0 || in isAdvancedOptionsEnabled()
435 && (!validateAddresses(mDnsServers.getText().toString(), false) in validate()
577 profile.dnsServers = mDnsServers.getText().toString().trim(); in getProfile()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DConfigDialog.java70 private TextView mDnsServers; field in ConfigDialog
111 mDnsServers = (TextView) mView.findViewById(R.id.dns_servers); in onCreate()
137 mDnsServers.setText(mProfile.dnsServers); in onCreate()
169 mDnsServers.addTextChangedListener(this); in onCreate()
394 !validateAddresses(mDnsServers.getText().toString(), false) || in validate()
490 profile.dnsServers = mDnsServers.getText().toString().trim(); in getProfile()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp5252 std::vector<std::unique_ptr<test::DNSResponder>> mDnsServers; member in ResolverMultinetworkTest::ScopedNetwork
5338 const int index = mDnsServers.size(); in addDns()
5361 auto& dnsPtr = mDnsServers.emplace_back(std::make_unique<test::DNSResponder>(dst2)); in addDns()