Home
last modified time | relevance | path

Searched refs:getByName (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/tests/net/java/android/net/ipmemorystore/
DParcelableTests.java46 builder.setAssignedV4Address((Inet4Address) Inet4Address.getByName("1.2.3.4")); in testNetworkAttributesParceling()
55 builder.setAssignedV4Address((Inet4Address) Inet4Address.getByName("6.7.8.9")); in testNetworkAttributesParceling()
59 InetAddress.getByName("ACA1:652B:0911:DE8F:1200:115E:913B:AA2A"), in testNetworkAttributesParceling()
60 InetAddress.getByName("6.7.8.9"))); in testNetworkAttributesParceling()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java156 lp.addDnsServer(InetAddress.getByName("3.3.3.3")); in testTrackedValidationUpdates()
157 lp.addDnsServer(InetAddress.getByName("4.4.4.4")); in testTrackedValidationUpdates()
178 assertEquals(Arrays.asList(InetAddress.getByName("4.4.4.4")), in testTrackedValidationUpdates()
183 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("192.0.2.4"), in testTrackedValidationUpdates()
186 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("2001:db8:1::1"), in testTrackedValidationUpdates()
232 lp.addDnsServer(InetAddress.getByName("3.3.3.3")); in testIgnoreUntrackedValidationUpdates()
340 lp.addDnsServer(InetAddress.getByName("3.3.3.3")); in testSendDnsConfiguration()
341 lp.addDnsServer(InetAddress.getByName("4.4.4.4")); in testSendDnsConfiguration()
/frameworks/base/core/java/android/app/admin/
DConnectEvent.java58 return InetAddress.getByName(mIpAddress); in getInetAddress()
DDnsEvent.java80 inetAddresses.add(InetAddress.getByName(ipAddress)); in getInetAddresses()
/frameworks/base/tests/net/java/android/net/
DIpSecManagerTest.java67 GOOGLE_DNS_4 = InetAddress.getByName("8.8.8.8");
68 VTI_LOCAL_ADDRESS = InetAddress.getByName("8.8.4.4");
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java4033 InetAddress myIPv4 = InetAddress.getByName("192.0.2.129"); in testPacketKeepalives()
4034 InetAddress notMyIPv4 = InetAddress.getByName("192.0.2.35"); in testPacketKeepalives()
4035 InetAddress myIPv6 = InetAddress.getByName("2001:db8::1"); in testPacketKeepalives()
4036 InetAddress dstIPv4 = InetAddress.getByName("8.8.8.8"); in testPacketKeepalives()
4037 InetAddress dstIPv6 = InetAddress.getByName("2001:4860:4860::8888"); in testPacketKeepalives()
4046 lp.addRoute(new RouteInfo(InetAddress.getByName("fe80::1234"))); in testPacketKeepalives()
4047 lp.addRoute(new RouteInfo(InetAddress.getByName("192.0.2.254"))); in testPacketKeepalives()
4168 final InetAddress myIPv4 = InetAddress.getByName("192.0.2.129"); in doTestNattSocketKeepalivesWithExecutor()
4169 final InetAddress notMyIPv4 = InetAddress.getByName("192.0.2.35"); in doTestNattSocketKeepalivesWithExecutor()
4170 final InetAddress myIPv6 = InetAddress.getByName("2001:db8::1"); in doTestNattSocketKeepalivesWithExecutor()
[all …]
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java371 mAudioStream = new AudioStream(InetAddress.getByName( in transferToNewSession()
638 mAudioStream = new AudioStream(InetAddress.getByName(
709 mAudioStream = new AudioStream(InetAddress.getByName(
1048 stream.associate(InetAddress.getByName(address),
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareNetworkInfo.java132 ni = NetworkInterface.getByName(interfaceName);
/frameworks/base/tests/net/common/java/android/net/
DDhcpInfoTest.java47 return inet4AddressToIntHTL((Inet4Address) InetAddress.getByName(ipString)); in ipToInteger()
DLinkAddressTest.java121 List<InterfaceAddress> addrs = NetworkInterface.getByName("lo").getInterfaceAddresses(); in testConstructors()
/frameworks/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java361 NetworkInterface nif = NetworkInterface.getByName(iface.getInterfaceName()); in getMTU()
541 NetworkInterface nif = NetworkInterface.getByName(iface); in assertInterfaceHasIpAddress()
556 assertNotNull(NetworkInterface.getByName(iface.getInterfaceName())); in createTestInterface()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java321 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv4Gateway), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking()
332 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv6Gw1), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking()
346 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv6Gw2), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking()
363 stacked.addRoute(new RouteInfo(null, InetAddress.getByName("192.0.2.254"), null, in testSetUpstreamLinkPropertiesWorking()
365 stacked.addRoute(new RouteInfo(null, InetAddress.getByName("fe80::bad:f00"), null, in testSetUpstreamLinkPropertiesWorking()
/frameworks/base/core/java/android/net/
DNetwork.java156 public InetAddress getByName(String host) throws UnknownHostException { in getByName() method in Network
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java343 return InetAddress.getByName(ipAddress); in getInetAddress()
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java271 NetworkInterface netIntf = NetworkInterface.getByName(iface);
DNsdService.java497 clientInfo.mResolvedService.setHost(InetAddress.getByName(cooked[4])); in handleNativeEvent()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java300 s.connect(InetAddress.getByName("192.168.1.1"), 80); in determineLocalIp()
457 byte[] d = InetAddress.getByName(address).getAddress(); in isBehindNAT()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java608 NetworkInterface.getByName(nnri.interfaceName)); in onDataPathConfirm()
624 NetworkInterface.getByName(nnri.interfaceName)); in onDataPathConfirm()
1485 ni = NetworkInterface.getByName(nnri.interfaceName); in configureAgentProperties()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java175 return InterfaceParams.getByName(ifName); in getInterfaceParams()
181 return NetworkInterface.getByName(ifName).getIndex(); in getIfindex()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java493 if (null != InterfaceParams.getByName(name)) { in onIpLayerStopped()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java248 NetworkInterface ni = NetworkInterface.getByName(ifname); in getInterfaceIndex()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DXmlConfigTests.java114 .createSocket(InetAddress.getByName("android.com"), 443); in testBasicDomainConfig()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java999 iface = NetworkInterface.getByName(info.getInterface()); in getInterfaceAddress()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java1494 return InetAddress.getByName(inetAddress); in inetAddressFromString()
/frameworks/base/config/
Dboot-image-profile.txt10228 HSPLandroid/net/Network;->getByName(Ljava/lang/String;)Ljava/net/InetAddress;
27196 HSPLjava/net/InetAddress;->getByName(Ljava/lang/String;)Ljava/net/InetAddress;
43415 HSPLjava/net/NetworkInterface;->getByName(Ljava/lang/String;)Ljava/net/NetworkInterface;

12