/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | StaticIpConfigurationTest.java | 255 assertTrue(s.dnsServers.equals(s.getDnsServers())); in testBuilder() 256 assertEquals(1, s.getDnsServers().size()); in testBuilder() 257 assertEquals(DNS1, s.getDnsServers().get(0)); in testBuilder() 289 assertEquals(1, s.getDnsServers().size()); in testAddDnsServers() 290 assertEquals(DNS1, s.getDnsServers().get(0)); in testAddDnsServers() 294 assertEquals(3, s.getDnsServers().size()); in testAddDnsServers() 295 assertEquals(DNS2, s.getDnsServers().get(1)); in testAddDnsServers() 296 assertEquals(DNS3, s.getDnsServers().get(2)); in testAddDnsServers()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | AdvancedOptionsFlowInfo.java | 170 && mIpConfiguration.getStaticIpConfiguration().getDnsServers() != null) { in getInitialDns() 172 return mIpConfiguration.getStaticIpConfiguration().getDnsServers().get(index); in getInitialDns()
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | LinkPropertiesUtils.java | 191 final Collection<InetAddress> leftDnses = left.getDnsServers(); in isIdenticalDnses() 192 final Collection<InetAddress> rightDnses = right.getDnsServers(); in isIdenticalDnses()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | LinkPropertiesTest.java | 121 assertEquals(0, lp.getDnsServers().size()); in checkEmpty() 1038 assertEquals(strAddress, unparceled.getDnsServers().get(0).getHostAddress()); in testLinkLocalDnsServerParceling() 1063 assertEquals(2, lp.getDnsServers().size()); in testDnsServers() 1064 assertEquals(DNS1, lp.getDnsServers().get(0)); in testDnsServers() 1065 assertEquals(DNS2, lp.getDnsServers().get(1)); in testDnsServers() 1068 assertEquals(1, lp.getDnsServers().size()); in testDnsServers() 1069 assertEquals(DNS2, lp.getDnsServers().get(0)); in testDnsServers() 1072 assertEquals(2, lp.getDnsServers().size()); in testDnsServers() 1073 assertEquals(DNS2, lp.getDnsServers().get(0)); in testDnsServers() 1074 assertEquals(DNS6, lp.getDnsServers().get(1)); in testDnsServers()
|
/packages/modules/NetworkStack/src/android/net/ |
D | DhcpResults.java | 90 dnsServers.addAll(source.getDnsServers()); in DhcpResults() 295 public List<InetAddress> getDnsServers() { in getDnsServers() method in DhcpResults
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiDnsPreferenceController.java | 48 dnsServers = linkProperties.getDnsServers().stream() in updateState()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1435 assertNotEquals(0, lp.getDnsServers().size()); 2015 assertEquals(0, lp.getDnsServers().size()); 2233 assertEquals(1, lp.getDnsServers().size()); 2234 assertTrue(lp.getDnsServers().contains(InetAddress.getByName(dnsServer))); 2243 assertEquals(2, lp.getDnsServers().size()); 2244 assertTrue(lp.getDnsServers().contains(InetAddress.getByName(dnsServer))); 2245 assertTrue(lp.getDnsServers().contains(InetAddress.getByName(lowlifeDnsServer))); 2256 assertEquals(0, lp.getDnsServers().size()); 2285 assertEquals(1, lp.getDnsServers().size()); 2286 assertEquals(ROUTER_LINK_LOCAL, (Inet6Address) lp.getDnsServers().get(0)); [all …]
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | IPv6TetheringCoordinator.java | 252 for (InetAddress dnsServer : lp.getDnsServers()) { in getIPv6OnlyLinkProperties()
|
D | Tethering.java | 1884 final Collection<InetAddress> dnses = lp.getDnsServers(); in setDnsForwarders()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | StaticIpConfiguration.java | 101 public @NonNull List<InetAddress> getDnsServers() { in getDnsServers() method in StaticIpConfiguration
|
D | LinkProperties.java | 420 public @NonNull List<InetAddress> getDnsServers() { in getDnsServers() method in LinkProperties
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpReachabilityMonitor.java | 407 for (InetAddress dns : mLinkProperties.getDnsServers()) { 434 for (InetAddress dns : lp.getDnsServers()) {
|
D | IpClient.java | 1865 addAllReachableDnsServers(newLp, netlinkLinkProperties.getDnsServers()); in assembleLinkProperties()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | IpConfigStore.java | 111 for (InetAddress inetAddr : staticIpConfiguration.getDnsServers()) { in writeConfig()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | DnsManager.java | 381 paramsParcel.servers = makeStrings(lp.getDnsServers()); in sendDnsConfigurationForNetwork()
|
D | NetworkDiagnostics.java | 230 for (InetAddress nameserver : mLinkProperties.getDnsServers()) { in NetworkDiagnostics()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 341 return lp.getDnsServers().size() == lp.getValidatedPrivateDnsServers().size(); in areAllPrivateDnsServersValidated()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 394 ni.mDnsAddresses = "DNS: " + nLink.getDnsServers().toString(); in getNetworkItem()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController.java | 938 .setDnsServers(staticIpConfiguration.getDnsServers()) in validateIpConfigFields() 1431 Iterator<InetAddress> dnsIterator = staticConfig.getDnsServers().iterator(); in showIpConfigFields()
|
D | WifiConfigController2.java | 952 .setDnsServers(staticIpConfiguration.getDnsServers()) in validateIpConfigFields() 1470 Iterator<InetAddress> dnsIterator = staticConfig.getDnsServers().iterator(); in showIpConfigFields()
|
/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2.java | 855 String dnsServers = mLinkProperties.getDnsServers().stream() in refreshIpLayerInfo()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 1229 String[] dnsServers = new String[staticIpConfiguration.getDnsServers().size()]; in writeStaticIpConfigurationToXml() 1231 for (InetAddress inetAddr : staticIpConfiguration.getDnsServers()) { in writeStaticIpConfigurationToXml()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 398 lp.getDnsServers().stream().map(InetAddress::getHostAddress) in doProvisioningWithDefaultConfiguration()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 250 method @NonNull public java.util.List<java.net.InetAddress> getDnsServers(); 512 method @NonNull public java.util.List<java.net.InetAddress> getDnsServers();
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 5127 for (InetAddress dns : dhcpResults.baseConfiguration.getDnsServers()) {
|