Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DLinkPropertiesTest.java34 private static InetAddress ADDRV4 = NetworkUtils.numericToInetAddress("75.208.6.1");
35 private static InetAddress ADDRV6 = NetworkUtils.numericToInetAddress(
37 private static InetAddress DNS1 = NetworkUtils.numericToInetAddress("75.208.7.1");
38 private static InetAddress DNS2 = NetworkUtils.numericToInetAddress("69.78.7.1");
39 private static InetAddress DNS6 = NetworkUtils.numericToInetAddress("2001:4860:4860::8888");
40 private static InetAddress GATEWAY1 = NetworkUtils.numericToInetAddress("75.208.8.1");
41 private static InetAddress GATEWAY2 = NetworkUtils.numericToInetAddress("69.78.8.1");
42 private static InetAddress GATEWAY61 = NetworkUtils.numericToInetAddress("fe80::6:0000:613");
43 private static InetAddress GATEWAY62 = NetworkUtils.numericToInetAddress("fe80::6:2222");
53 return NetworkUtils.numericToInetAddress(addrString); in Address()
[all …]
DLinkAddressTest.java54 private static final InetAddress V4_ADDRESS = NetworkUtils.numericToInetAddress(V4);
55 private static final InetAddress V6_ADDRESS = NetworkUtils.numericToInetAddress(V6);
111 assertEquals(NetworkUtils.numericToInetAddress("127.0.0.1"), ipv4Loopback.getAddress()); in testConstructors()
114 assertEquals(NetworkUtils.numericToInetAddress("::1"), ipv6Loopback.getAddress()); in testConstructors()
/frameworks/base/core/java/android/net/
DDhcpResults.java148 Inet4Address addr = (Inet4Address) NetworkUtils.numericToInetAddress(addrString); in setIpAddress()
159 gateway = NetworkUtils.numericToInetAddress(addrString); in setGateway()
170 dnsServers.add(NetworkUtils.numericToInetAddress(addrString)); in addDns()
181 serverAddress = (Inet4Address) NetworkUtils.numericToInetAddress(addrString); in setServerAddress()
DNetworkUtils.java194 public static InetAddress numericToInetAddress(String addrString) in numericToInetAddress() method in NetworkUtils
324 return numericToInetAddress(String.format(Locale.US, "%s:%s:%s:%s:%s:%s:%s:%s", in hexToInet6Address()
DProxy.java200 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataCallResponse.java152 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties()
183 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties()
200 ia = NetworkUtils.numericToInetAddress(dnsAddr); in setLinkProperties()
226 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java208 NetworkUtils.numericToInetAddress(in.readUTF()), in.readInt()); in readIpAndProxyConfigurations()
220 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations()
229 NetworkUtils.numericToInetAddress(in.readUTF()), in readIpAndProxyConfigurations()
233 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations()
245 NetworkUtils.numericToInetAddress(in.readUTF())); in readIpAndProxyConfigurations()
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java341 srcAddress = NetworkUtils.numericToInetAddress(srcAddrString); in startNattKeepalive()
342 dstAddress = NetworkUtils.numericToInetAddress(dstAddrString); in startNattKeepalive()
DNetworkDiagnostics.java87 private static final InetAddress TEST_DNS4 = NetworkUtils.numericToInetAddress("8.8.8.8");
88 private static final InetAddress TEST_DNS6 = NetworkUtils.numericToInetAddress(
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1020 addr = NetworkUtils.numericToInetAddress(st.nextToken()); in getInterfaceConfig()
1338 cmd.appendArg(NetworkUtils.numericToInetAddress(s).getHostAddress()); in setDnsForwarders()
1454 NetworkUtils.numericToInetAddress(localAddr).getHostAddress(), in attachPppd()
1455 NetworkUtils.numericToInetAddress(remoteAddr).getHostAddress(), in attachPppd()
1456 NetworkUtils.numericToInetAddress(dns1Addr).getHostAddress(), in attachPppd()
1457 NetworkUtils.numericToInetAddress(dns2Addr).getHostAddress()); in attachPppd()
2032 InetAddress a = NetworkUtils.numericToInetAddress(s); in setDnsServersForNetwork()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachine.java142 InetAddress addr = NetworkUtils.numericToInetAddress(ipAsString); in configureIfaceIp()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java162 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
DDhcpPacketTest.java48 return (Inet4Address) NetworkUtils.numericToInetAddress(addrString); in v4Address()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1950 setWifiP2pInfoOnGroupFormation(NetworkUtils.numericToInetAddress(SERVER_ADDRESS)); in enter()
2324 ifcg.setLinkAddress(new LinkAddress(NetworkUtils.numericToInetAddress( in startDhcpServer()