Searched refs:numericToInetAddress (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/net/ |
D | LinkPropertiesTest.java | 52 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/ |
D | DhcpInfoInternal.java | 66 InetAddress inetAddress = NetworkUtils.numericToInetAddress(addr); in convertToInt() 85 InetAddress inetAddress = NetworkUtils.numericToInetAddress(ipAddress); in makeDhcpInfo() 100 return new LinkAddress(NetworkUtils.numericToInetAddress(ipAddress), prefixLength); in makeLinkAddress() 111 p.addDns(NetworkUtils.numericToInetAddress(dns1)); in makeLinkProperties() 116 p.addDns(NetworkUtils.numericToInetAddress(dns2)); in makeLinkProperties()
|
D | NetworkUtils.java | 168 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()
|
D | DnsPinger.java | 305 return NetworkUtils.numericToInetAddress(dns); in getDefaultDns()
|
D | Proxy.java | 236 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | DataCallState.java | 143 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties() 168 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties() 185 ia = NetworkUtils.numericToInetAddress(dnsAddr); in setLinkProperties() 211 ia = NetworkUtils.numericToInetAddress(addr); in setLinkProperties()
|
/frameworks/base/core/java/android/server/ |
D | BluetoothPanProfileHandler.java | 383 addr.equals(NetworkUtils.numericToInetAddress("0.0.0.0")) || in enableTethering() 384 addr.equals(NetworkUtils.numericToInetAddress("::0"))) { in enableTethering() 385 addr = NetworkUtils.numericToInetAddress(address); in enableTethering()
|
/frameworks/base/services/java/com/android/server/ |
D | NetworkManagementService.java | 451 addr = NetworkUtils.numericToInetAddress(st.nextToken()); in getInterfaceConfig() 821 cmd.appendArg(NetworkUtils.numericToInetAddress(s).getHostAddress()); in setDnsForwarders() 905 NetworkUtils.numericToInetAddress(localAddr).getHostAddress(), in attachPppd() 906 NetworkUtils.numericToInetAddress(remoteAddr).getHostAddress(), in attachPppd() 907 NetworkUtils.numericToInetAddress(dns1Addr).getHostAddress(), in attachPppd() 908 NetworkUtils.numericToInetAddress(dns2Addr).getHostAddress()); in attachPppd() 1277 InetAddress a = NetworkUtils.numericToInetAddress(s); in setDnsServersForInterface()
|
D | ConnectivityService.java | 354 mDefaultDns = NetworkUtils.numericToInetAddress(dns); in ConnectivityService()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfigStore.java | 866 NetworkUtils.numericToInetAddress(in.readUTF()), in.readInt()); in readIpAndProxyConfigurations() 873 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations() 877 NetworkUtils.numericToInetAddress(in.readUTF()), in readIpAndProxyConfigurations() 881 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpAndProxyConfigurations() 887 NetworkUtils.numericToInetAddress(in.readUTF())); in readIpAndProxyConfigurations()
|
D | WifiStateMachine.java | 1212 NetworkUtils.numericToInetAddress("192.168.43.1"), 24)); in startTethering() 1246 new LinkAddress(NetworkUtils.numericToInetAddress("0.0.0.0"), 0)); in stopTethering() 1739 InetAddress addr = NetworkUtils.numericToInetAddress(dhcpInfoInternal.ipAddress); in handleSuccessfulIpConfiguration()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pService.java | 1401 ifcg.setLinkAddress(new LinkAddress(NetworkUtils.numericToInetAddress( in startDhcpServer() 1531 mWifiP2pInfo.groupOwnerAddress = NetworkUtils.numericToInetAddress(serverAddress); in setWifiP2pInfoOnGroupFormation()
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | Tethering.java | 548 InetAddress addr = NetworkUtils.numericToInetAddress(USB_NEAR_IFACE_ADDR); in configureUsbIface()
|