/packages/modules/NetworkStack/src/com/android/networkstack/util/ |
D | DnsUtils.java | 62 public static InetAddress[] getAllByName(@NonNull final DnsResolver dnsResolver, in getAllByName() method in DnsUtils 70 getAllByName(dnsResolver, network, host, TYPE_AAAA, FLAG_NO_CACHE_LOOKUP, in getAllByName() 78 getAllByName(dnsResolver, network, host, TYPE_A, FLAG_NO_CACHE_LOOKUP, in getAllByName() 98 public static InetAddress[] getAllByName(@NonNull final DnsResolver dnsResolver, in getAllByName() method in DnsUtils
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/util/ |
D | DnsUtilsTest.kt | 75 DnsUtils.getAllByName(mockResolver, fakeNetwork, name, type, FLAG_EMPTY, DEFAULT_TIMEOUT_MS, in verifyGetAllByName() 88 DnsUtils.getAllByName(mockResolver, fakeNetwork, name, type, in verifyGetAllByNameFails()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | Network.java | 144 public InetAddress[] getAllByName(String host) throws UnknownHostException { in getAllByName() method in Network 204 InetAddress[] hostAddresses = getAllByName(host); in connectToHost() 366 Dns dnsLookup = hostname -> Arrays.asList(getAllByName(hostname)); in openConnection()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionTestBase.java | 179 .getAllByName(REMOTE_HOSTNAME); in resetDefaultNetwork() 182 .getAllByName(REMOTE_ADDRESS.getHostAddress()); in resetDefaultNetwork() 247 .getAllByName(REMOTE_HOSTNAME); in setupRemoteAddressForNetwork()
|
D | IkeSessionStateMachineTest.java | 1603 }).when(network).getAllByName(REMOTE_HOSTNAME); in setupDnsResolutionForNetwork() 1647 verify(mMockDefaultNetwork, times(expectedDnsLookups)).getAllByName(REMOTE_HOSTNAME); in setupAndVerifyDnsResolutionForIkeSession() 6740 verify(underlyingNetwork, atLeastOnce()).getAllByName(REMOTE_HOSTNAME); in verifyNetworkAndLocalAddressUpdated() 7362 verify(newNetwork, times(expectedDnsLookups)).getAllByName(REMOTE_HOSTNAME); in setupAndVerifyDnsLookupsOnSetNetwork()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DnsTest.java | 78 addrs = InetAddress.getAllByName("www.google.com"); in testDnsWorks() 104 addrs = InetAddress.getAllByName("ipv6.google.com"); in testDnsWorks()
|
D | SSLCertificateSocketFactoryTest.java | 68 addresses = InetAddress.getAllByName(TEST_HOST); in setUp()
|
D | NetworkStatsManagerTest.java | 334 network.getAllByName(mUrl.getHost()); in waitForHostResolution()
|
D | ConnectivityManagerTest.java | 1718 final InetAddress[] allAddrs = InetAddress.getAllByName(hostname); in getAddrByName()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeConnectionControllerTest.java | 1290 doThrow(testException).when(mockNetwork).getAllByName(anyString()); in testCatchUnexpectedExceptionInNetworkUpdate() 1316 doThrow(testException).when(mockNetwork).getAllByName(anyString()); in testThrowInNetworkUpdate() 1734 verify(mMockDefaultNetwork).getAllByName(anyString()); in verifyDnsLookupWithCachedIpv6Address() 1736 verify(mMockDefaultNetwork, never()).getAllByName(anyString()); in verifyDnsLookupWithCachedIpv6Address()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | MailTransport.java | 112 InetAddress[] inetAddresses = network.getAllByName(host); in open()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | WifiBackhaulMonitor.java | 334 InetAddress[] inetAddress = InetAddress.getAllByName(rttPingServer); in getHostAddresses()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsRequest.java | 300 for (final InetAddress addr : InetAddress.getAllByName(host)) { in requestRoute()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | WifiBackhaulMonitorTest.java | 155 lenient().when(InetAddress.getAllByName(anyString())).thenReturn(inetAddresses); in mockDefaults()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1733 final InetAddress[] ips = DnsUtils.getAllByName(mDependencies.getDnsResolver(), in resolveStrictModeHostname() 1771 final InetAddress[] ips = mNetwork.getAllByName(host); in sendPrivateDnsProbe() 2315 public InetAddress[] getAllByName(String host) throws UnknownHostException { in getAllByName() method in NetworkMonitor.OneAddressPerFamilyNetwork 2316 final List<InetAddress> addrs = Arrays.asList(super.getAllByName(host)); in getAllByName() 2952 return DnsUtils.getAllByName(mDependencies.getDnsResolver(), mCleartextDnsNetwork, host, in sendDnsProbeWithTimeout()
|
/packages/modules/DnsResolver/ |
D | stats.proto | 384 * invoking native APIs such as getaddrinfo() or Java APIs such as Network#getAllByName().
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeConnectionController.java | 958 allRemoteAddresses = mNetwork.getAllByName(mRemoteHostname); in resolveAndSetAvailableRemoteAddresses()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 488 private InetAddress[] getAllByName(Network mockNetwork, String hostname) in getAllByName() method in NetworkMonitorTest.FakeDns 531 return getAllByName((Network) invocation.getMock(), invocation.getArgument(0)); in startMocking() 532 }).when(mNetwork).getAllByName(any()); in startMocking()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 1132 final InetAddress[] allAddrs = InetAddress.getAllByName(hostname); in getV4AddrByName()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 297 method public java.net.InetAddress[] getAllByName(String) throws java.net.UnknownHostException;
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 7924 cellLp.setDnsServers(List.of(InetAddress.getAllByName("8.8.8.8")));
|