Home
last modified time | relevance | path

Searched refs:numericToInetAddress (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java288 NetworkUtils.numericToInetAddress(in.readUTF()), in.readInt()); in readIpConfigurations()
300 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpConfigurations()
309 NetworkUtils.numericToInetAddress(in.readUTF()), in readIpConfigurations()
313 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpConfigurations()
325 NetworkUtils.numericToInetAddress(in.readUTF())); in readIpConfigurations()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java82 staticIpConfiguration.dnsServers.add(NetworkUtils.numericToInetAddress(DNS_IP_ADDR_1)); in staticIpMultiNetworks()
83 staticIpConfiguration.dnsServers.add(NetworkUtils.numericToInetAddress(DNS_IP_ADDR_2)); in staticIpMultiNetworks()
/frameworks/base/tests/net/common/java/android/net/
DLinkAddressTest.java71 private static final InetAddress V4_ADDRESS = NetworkUtils.numericToInetAddress(V4);
72 private static final InetAddress V6_ADDRESS = NetworkUtils.numericToInetAddress(V6);
134 assertEquals(NetworkUtils.numericToInetAddress("127.0.0.1"), ipv4Loopback.getAddress()); in testConstructors()
137 assertEquals(NetworkUtils.numericToInetAddress("::1"), ipv6Loopback.getAddress()); in testConstructors()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java105 InetAddress addrV4 = NetworkUtils.numericToInetAddress("75.208.6.1"); in createProvisionedLinkProperties()
106 InetAddress dns1 = NetworkUtils.numericToInetAddress("75.208.7.1"); in createProvisionedLinkProperties()
108 InetAddress gateway1 = NetworkUtils.numericToInetAddress("75.208.8.1"); in createProvisionedLinkProperties()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java498 NetworkUtils.numericToInetAddress(linkAddressString), linkPrefixLength); in parseIpConfigurationFromXml()
507 InetAddress gateway = NetworkUtils.numericToInetAddress(gatewayAddressString); in parseIpConfigurationFromXml()
518 NetworkUtils.numericToInetAddress(dnsServerAddressString); in parseIpConfigurationFromXml()
/frameworks/base/core/java/android/net/
DNetworkUtils.java244 public static InetAddress numericToInetAddress(String addrString) in numericToInetAddress() method in NetworkUtils
332 return numericToInetAddress(String.format(Locale.US, "%s:%s:%s:%s:%s:%s:%s:%s", in hexToInet6Address()
DIpSecTransform.java316 NetworkUtils.numericToInetAddress(mConfig.getSourceAddress()), in startNattKeepalive()
318 NetworkUtils.numericToInetAddress(mConfig.getDestinationAddress())); in startNattKeepalive()
DProxy.java207 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java199 NetworkUtils.numericToInetAddress(linkAddress), linkPrefixLength); in generateIpConfig()
205 NetworkUtils.numericToInetAddress(gatewayAddress); in generateIpConfig()
212 NetworkUtils.numericToInetAddress(dnsServerAddress)); in generateIpConfig()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java100 private static final InetAddress TEST_DNS4 = NetworkUtils.numericToInetAddress("8.8.8.8");
101 private static final InetAddress TEST_DNS6 = NetworkUtils.numericToInetAddress(
DKeepaliveTracker.java610 srcAddress = NetworkUtils.numericToInetAddress(srcAddrString); in startNattKeepalive()
611 dstAddress = NetworkUtils.numericToInetAddress(dstAddrString); in startNattKeepalive()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java868 NetworkUtils.numericToInetAddress(linkAddressString), in parseStaticIpConfigurationFromXml()
881 NetworkUtils.numericToInetAddress(gatewayAddressString); in parseStaticIpConfigurationFromXml()
894 NetworkUtils.numericToInetAddress(dnsServerAddressString); in parseStaticIpConfigurationFromXml()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java217 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java1086 InetAddress checkAddr = NetworkUtils.numericToInetAddress(inetAddress); in checkInetAddress()
1470 InetAddress checkAddress = NetworkUtils.numericToInetAddress(inetAddress); in getFamily()
DNetworkManagementService.java791 final InetAddress addr = NetworkUtils.numericToInetAddress(p.ipv4Addr); in fromStableParcel()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java275 NetworkUtils.numericToInetAddress(remoteAddress).getHostAddress(), in getNewSpiResourceId()
DConnectivityServiceTest.java4738 NetworkUtils.numericToInetAddress("192.168.12.1"), lp.getInterfaceName()); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2584 NetworkUtils.numericToInetAddress(SERVER_ADDRESS)); in enter()
3041 ifcg.setLinkAddress(new LinkAddress(NetworkUtils.numericToInetAddress( in startDhcpServer()
/frameworks/base/config/
Dboot-image-profile.txt10505 HSPLandroid/net/NetworkUtils;->numericToInetAddress(Ljava/lang/String;)Ljava/net/InetAddress;