/frameworks/base/tests/net/common/java/android/net/ |
D | StaticIpConfigurationTest.java | 243 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()
|
D | LinkPropertiesTest.java | 86 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/ |
D | DhcpResults.java | 89 dnsServers.addAll(source.getDnsServers()); in DhcpResults() 258 public List<InetAddress> getDnsServers() { in getDnsServers() method in DhcpResults
|
D | LinkProperties.java | 413 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()
|
D | StaticIpConfiguration.java | 111 public @NonNull List<InetAddress> getDnsServers() { in getDnsServers() method in StaticIpConfiguration
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DnsManager.java | 330 paramsParcel.servers = NetworkUtils.makeStrings(lp.getDnsServers()); in setDnsConfigurationForNetwork() 372 if (isDefaultNetwork) setDefaultDnsSystemProperties(lp.getDnsServers()); in setDnsConfigurationForNetwork()
|
D | NetworkDiagnostics.java | 201 for (InetAddress nameserver : mLinkProperties.getDnsServers()) { in NetworkDiagnostics()
|
D | Tethering.java | 1250 final Collection<InetAddress> dnses = lp.getDnsServers(); in setDnsForwarders()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | IPv6TetheringCoordinator.java | 236 for (InetAddress dnsServer : lp.getDnsServers()) { in getIPv6OnlyLinkProperties()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataConnectionTest.java | 683 assertEquals(response.getDnsAddresses().size(), linkProperties.getDnsServers().size()); in testSetLinkProperties() 687 linkProperties.getDnsServers().get(i).getHostAddress())); in testSetLinkProperties()
|
D | DcTrackerTest.java | 596 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/ |
D | ConnectivityService.java | 5685 final Collection<InetAddress> dnses = newLp.getDnsServers(); in updateDnses() 6135 mDnsManager.setDefaultDnsSystemProperties(newNetwork.linkProperties.getDnsServers()); in makeDefault()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 5311 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/ |
D | RIL.java | 1490 for (InetAddress dns : linkProperties.getDnsServers()) { in setupDataCall()
|
/frameworks/base/api/ |
D | test-current.txt | 1431 method @NonNull public java.util.List<java.net.InetAddress> getDnsServers();
|
D | system-current.txt | 4199 method @NonNull public java.util.List<java.net.InetAddress> getDnsServers();
|
D | current.txt | 28652 method @NonNull public java.util.List<java.net.InetAddress> getDnsServers();
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 10122 HSPLandroid/net/LinkProperties;->getDnsServers()Ljava/util/List; 42229 HSPLandroid/net/StaticIpConfiguration;->getDnsServers()Ljava/util/List;
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 17017 method public java.util.List<java.net.InetAddress> getDnsServers();
|