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.java52 NetworkUtils.numericToInetAddress(ADDRV4), 32)); in testEqualsSameOrder()
54 NetworkUtils.numericToInetAddress(ADDRV6), 128)); in testEqualsSameOrder()
56 source.addDns(NetworkUtils.numericToInetAddress(DNS1)); in testEqualsSameOrder()
57 source.addDns(NetworkUtils.numericToInetAddress(DNS2)); in testEqualsSameOrder()
59 source.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(GATEWAY1))); in testEqualsSameOrder()
60 source.addRoute(new RouteInfo(NetworkUtils.numericToInetAddress(GATEWAY2))); in testEqualsSameOrder()
67 NetworkUtils.numericToInetAddress(ADDRV4), 32)); in testEqualsSameOrder()
69 NetworkUtils.numericToInetAddress(ADDRV6), 128)); in testEqualsSameOrder()
70 target.addDns(NetworkUtils.numericToInetAddress(DNS1)); in testEqualsSameOrder()
71 target.addDns(NetworkUtils.numericToInetAddress(DNS2)); in testEqualsSameOrder()
[all …]
/frameworks/base/core/java/android/net/
DDhcpInfoInternal.java62 InetAddress inetAddress = NetworkUtils.numericToInetAddress(addr); in convertToInt()
81 InetAddress inetAddress = NetworkUtils.numericToInetAddress(ipAddress); in makeDhcpInfo()
96 return new LinkAddress(NetworkUtils.numericToInetAddress(ipAddress), prefixLength); in makeLinkAddress()
107 p.addDns(NetworkUtils.numericToInetAddress(dns1)); in makeLinkProperties()
112 p.addDns(NetworkUtils.numericToInetAddress(dns2)); in makeLinkProperties()
DNetworkUtils.java168 public static InetAddress numericToInetAddress(String addrString) in numericToInetAddress() method in NetworkUtils
229 return numericToInetAddress(String.format("%s:%s:%s:%s:%s:%s:%s:%s", in hexToInet6Address()
DDnsPinger.java305 return NetworkUtils.numericToInetAddress(dns); in getDefaultDns()
DProxy.java236 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDataCallState.java141 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties()
164 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties()
179 ia = NetworkUtils.numericToInetAddress(dnsAddr); in setLinkProperties()
203 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties()
/frameworks/base/core/java/android/server/
DBluetoothPanProfileHandler.java382 addr.equals(NetworkUtils.numericToInetAddress("0.0.0.0")) || in enableTethering()
383 addr.equals(NetworkUtils.numericToInetAddress("::0"))) { in enableTethering()
384 addr = NetworkUtils.numericToInetAddress(address); in enableTethering()
/frameworks/base/services/java/com/android/server/
DNetworkManagementService.java387 addr = NetworkUtils.numericToInetAddress(st.nextToken(" ")); in getInterfaceConfig()
806 cmd += " " + NetworkUtils.numericToInetAddress(s).getHostAddress(); in setDnsForwarders()
874 NetworkUtils.numericToInetAddress(localAddr).getHostAddress(), in attachPppd()
875 NetworkUtils.numericToInetAddress(remoteAddr).getHostAddress(), in attachPppd()
876 NetworkUtils.numericToInetAddress(dns1Addr).getHostAddress(), in attachPppd()
877 NetworkUtils.numericToInetAddress(dns2Addr).getHostAddress())); in attachPppd()
1383 InetAddress a = NetworkUtils.numericToInetAddress(s); in setDnsServersForInterface()
DConnectivityService.java340 mDefaultDns = NetworkUtils.numericToInetAddress(dns); in ConnectivityService()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfigStore.java768 NetworkUtils.numericToInetAddress(in.readUTF()), in.readInt()); in readIpAndProxyConfigurations()
775 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations()
779 NetworkUtils.numericToInetAddress(in.readUTF()), in readIpAndProxyConfigurations()
783 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations()
789 NetworkUtils.numericToInetAddress(in.readUTF())); in readIpAndProxyConfigurations()
DWifiStateMachine.java1107 ifcg.addr = new LinkAddress(NetworkUtils.numericToInetAddress( in startTethering()
1140 ifcg.addr = new LinkAddress(NetworkUtils.numericToInetAddress( in stopTethering()
1655 InetAddress addr = NetworkUtils.numericToInetAddress(dhcpInfoInternal.ipAddress); in handleSuccessfulIpConfiguration()
/frameworks/base/core/java/com/android/internal/net/
DDomainNameValidator.java70 NetworkUtils.numericToInetAddress(domain).getHostAddress()); in isIpAddress()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pService.java1027 ifcg.addr = new LinkAddress(NetworkUtils.numericToInetAddress( in startDhcpServer()
1226 mWifiP2pInfo.groupOwnerAddress = NetworkUtils.numericToInetAddress(serverAddress); in setWifiP2pInfoOnGroupFormation()
/frameworks/base/services/java/com/android/server/connectivity/
DTethering.java527 InetAddress addr = NetworkUtils.numericToInetAddress(USB_NEAR_IFACE_ADDR); in configureUsbIface()