Home
last modified time | relevance | path

Searched refs:getDnsServers (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DStaticIpConfigurationTest.java243 assertTrue(s.dnsServers.equals(s.getDnsServers())); in testBuilder()
244 assertEquals(1, s.getDnsServers().size()); in testBuilder()
245 assertEquals(DNS1, s.getDnsServers().get(0)); in testBuilder()
254 assertEquals(1, s.getDnsServers().size()); in testAddDnsServers()
255 assertEquals(DNS1, s.getDnsServers().get(0)); in testAddDnsServers()
259 assertEquals(3, s.getDnsServers().size()); in testAddDnsServers()
260 assertEquals(DNS2, s.getDnsServers().get(1)); in testAddDnsServers()
261 assertEquals(DNS3, s.getDnsServers().get(2)); in testAddDnsServers()
DLinkPropertiesTest.java86 assertEquals(0, lp.getDnsServers().size()); in checkEmpty()
970 assertEquals(2, lp.getDnsServers().size()); in testDnsServers()
971 assertEquals(DNS1, lp.getDnsServers().get(0)); in testDnsServers()
972 assertEquals(DNS2, lp.getDnsServers().get(1)); in testDnsServers()
975 assertEquals(1, lp.getDnsServers().size()); in testDnsServers()
976 assertEquals(DNS2, lp.getDnsServers().get(0)); in testDnsServers()
979 assertEquals(2, lp.getDnsServers().size()); in testDnsServers()
980 assertEquals(DNS2, lp.getDnsServers().get(0)); in testDnsServers()
981 assertEquals(DNS6, lp.getDnsServers().get(1)); in testDnsServers()
/frameworks/base/core/java/android/net/
DDhcpResults.java89 dnsServers.addAll(source.getDnsServers()); in DhcpResults()
258 public List<InetAddress> getDnsServers() { in getDnsServers() method in DhcpResults
DLinkProperties.java413 public @NonNull List<InetAddress> getDnsServers() { in getDnsServers() method in LinkProperties
1293 Collection<InetAddress> targetDnses = target.getDnsServers(); in isIdenticalDnses()
1503 return new CompareResult<>(mDnses, target != null ? target.getDnsServers() : null); in compareDnses()
DStaticIpConfiguration.java111 public @NonNull List<InetAddress> getDnsServers() { in getDnsServers() method in StaticIpConfiguration
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsManager.java330 paramsParcel.servers = NetworkUtils.makeStrings(lp.getDnsServers()); in setDnsConfigurationForNetwork()
372 if (isDefaultNetwork) setDefaultDnsSystemProperties(lp.getDnsServers()); in setDnsConfigurationForNetwork()
DNetworkDiagnostics.java201 for (InetAddress nameserver : mLinkProperties.getDnsServers()) { in NetworkDiagnostics()
DTethering.java1250 final Collection<InetAddress> dnses = lp.getDnsServers(); in setDnsForwarders()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java236 for (InetAddress dnsServer : lp.getDnsServers()) { in getIPv6OnlyLinkProperties()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java683 assertEquals(response.getDnsAddresses().size(), linkProperties.getDnsServers().size()); in testSetLinkProperties()
687 linkProperties.getDnsServers().get(i).getHostAddress())); in testSetLinkProperties()
DDcTrackerTest.java596 assertEquals(1, linkProperties.getDnsServers().size()); in verifyDataConnected()
597 assertEquals(FAKE_DNS, linkProperties.getDnsServers().get(0).getHostAddress()); in verifyDataConnected()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5685 final Collection<InetAddress> dnses = newLp.getDnsServers(); in updateDnses()
6135 mDnsManager.setDefaultDnsSystemProperties(newNetwork.linkProperties.getDnsServers()); in makeDefault()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java5311 assertEquals(dnsServers.size(), lp.getDnsServers().size()); in checkDnsServers()
5312 assertTrue(lp.getDnsServers().containsAll(dnsServers)); in checkDnsServers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1490 for (InetAddress dns : linkProperties.getDnsServers()) { in setupDataCall()
/frameworks/base/api/
Dtest-current.txt1431 method @NonNull public java.util.List<java.net.InetAddress> getDnsServers();
Dsystem-current.txt4199 method @NonNull public java.util.List<java.net.InetAddress> getDnsServers();
Dcurrent.txt28652 method @NonNull public java.util.List<java.net.InetAddress> getDnsServers();
/frameworks/base/config/
Dboot-image-profile.txt10122 HSPLandroid/net/LinkProperties;->getDnsServers()Ljava/util/List;
42229 HSPLandroid/net/StaticIpConfiguration;->getDnsServers()Ljava/util/List;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17017 method public java.util.List<java.net.InetAddress> getDnsServers();