/packages/services/Iwlan/test/com/google/android/iwlan/epdg/ |
D | EpdgSelectorTest.java | 128 when(mMockNetwork.getAllByName(eq(testStaticAddress))) in testStaticMethodPass() 161 when(mMockNetwork.getAllByName(eq(expectedFqdn1))) in testPlmnResolutionMethodWithNoPlmnInCarrierConfig() 192 when(mMockNetwork.getAllByName(eq(expectedFqdn1))) in testPlmnResolutionMethod() 194 when(mMockNetwork.getAllByName(eq(expectedFqdn2))) in testPlmnResolutionMethod() 196 when(mMockNetwork.getAllByName(eq(expectedFqdn3))) in testPlmnResolutionMethod() 202 verify(mMockNetwork).getAllByName(expectedFqdn1); in testPlmnResolutionMethod() 203 verify(mMockNetwork).getAllByName(expectedFqdn2); in testPlmnResolutionMethod() 204 verify(mMockNetwork).getAllByName(expectedFqdn3); in testPlmnResolutionMethod() 219 when(mMockNetwork.getAllByName(eq(addr1))) in testCarrierConfigStaticAddressList() 221 when(mMockNetwork.getAllByName(eq(addr2))) in testCarrierConfigStaticAddressList() [all …]
|
/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 | 150 .getAllByName(REMOTE_HOSTNAME); in resetDefaultNetwork() 153 .getAllByName(REMOTE_ADDRESS.getHostAddress()); in resetDefaultNetwork()
|
D | IkeSessionStateMachineTest.java | 1482 }).when(network).getAllByName(REMOTE_HOSTNAME); in setupDnsResolutionForNetwork() 1508 verify(mMockDefaultNetwork, times(expectedDnsLookups)).getAllByName(REMOTE_HOSTNAME); in setupAndVerifyDnsResolutionForIkeSession() 6012 verify(underlyingNetwork, atLeastOnce()).getAllByName(REMOTE_HOSTNAME); in verifyNetworkAndLocalAddressUpdated() 6597 verify(newNetwork, times(expectedDnsLookups)).getAllByName(REMOTE_HOSTNAME); in setupAndVerifyDnsLookupsOnSetNetwork()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DnsTest.java | 79 addrs = InetAddress.getAllByName("www.google.com"); in testDnsWorks() 105 addrs = InetAddress.getAllByName("ipv6.google.com"); in testDnsWorks()
|
D | SSLCertificateSocketFactoryTest.java | 68 addresses = InetAddress.getAllByName(TEST_HOST); in setUp()
|
D | ConnectivityManagerTest.java | 1329 final InetAddress[] allAddrs = InetAddress.getAllByName(hostname); in getAddrByName()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | MailTransport.java | 112 InetAddress[] inetAddresses = network.getAllByName(host); in open()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsRequest.java | 300 for (final InetAddress addr : InetAddress.getAllByName(host)) { in requestRoute()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1482 final InetAddress[] ips = DnsUtils.getAllByName(mDependencies.getDnsResolver(), in resolveStrictModeHostname() 1529 final InetAddress[] ips = mNetwork.getAllByName(host); in sendPrivateDnsProbe() 1787 public InetAddress[] getAllByName(String host) throws UnknownHostException { in getAllByName() method in NetworkMonitor.OneAddressPerFamilyNetwork 1788 final List<InetAddress> addrs = Arrays.asList(super.getAllByName(host)); in getAllByName() 2409 return DnsUtils.getAllByName(mDependencies.getDnsResolver(), mCleartextDnsNetwork, host, in sendDnsProbeWithTimeout()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgSelector.java | 144 ipList = network.getAllByName(domainName); in getIP()
|
/packages/modules/DnsResolver/ |
D | stats.proto | 381 * invoking native APIs such as getaddrinfo() or Java APIs such as Network#getAllByName().
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 395 private InetAddress[] getAllByName(Object mock, String hostname) in getAllByName() method in NetworkMonitorTest.FakeDns 422 return getAllByName(invocation.getMock(), invocation.getArgument(0)); in startMocking() 423 }).when(mNetwork).getAllByName(any()); in startMocking()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 280 method public java.net.InetAddress[] getAllByName(String) throws java.net.UnknownHostException;
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachine.java | 5704 allRemoteAddresses = mNetwork.getAllByName(hostname); in resolveAndSetAvailableRemoteAddresses()
|