Home
last modified time | relevance | path

Searched refs:getAllByName (Results 1 – 17 of 17) sorted by relevance

/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java128 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/
DDnsUtils.java62 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/
DDnsUtilsTest.kt75 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/
DNetwork.java144 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/
DIkeSessionTestBase.java150 .getAllByName(REMOTE_HOSTNAME); in resetDefaultNetwork()
153 .getAllByName(REMOTE_ADDRESS.getHostAddress()); in resetDefaultNetwork()
DIkeSessionStateMachineTest.java1482 }).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/
DDnsTest.java79 addrs = InetAddress.getAllByName("www.google.com"); in testDnsWorks()
105 addrs = InetAddress.getAllByName("ipv6.google.com"); in testDnsWorks()
DSSLCertificateSocketFactoryTest.java68 addresses = InetAddress.getAllByName(TEST_HOST); in setUp()
DConnectivityManagerTest.java1329 final InetAddress[] allAddrs = InetAddress.getAllByName(hostname); in getAddrByName()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java112 InetAddress[] inetAddresses = network.getAllByName(host); in open()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsRequest.java300 for (final InetAddress addr : InetAddress.getAllByName(host)) { in requestRoute()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1482 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/
DEpdgSelector.java144 ipList = network.getAllByName(domainName); in getIP()
/packages/modules/DnsResolver/
Dstats.proto381 * invoking native APIs such as getaddrinfo() or Java APIs such as Network#getAllByName().
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java395 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/
Dcurrent.txt280 method public java.net.InetAddress[] getAllByName(String) throws java.net.UnknownHostException;
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java5704 allRemoteAddresses = mNetwork.getAllByName(hostname); in resolveAndSetAvailableRemoteAddresses()