/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() 68 return NetworkUtils.inetAddressToInt(inetAddress); in convertToInt() 85 InetAddress inetAddress = NetworkUtils.numericToInetAddress(ipAddress); in makeDhcpInfo() 86 info.netmask = NetworkUtils.prefixLengthToNetmaskInt(prefixLength); 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 | DhcpStateMachine.java | 30 import android.net.NetworkUtils; 266 if (!NetworkUtils.stopDhcp(mInterfaceName)) { in processMessage() 307 if (!NetworkUtils.stopDhcp(mInterfaceName)) { in processMessage() 340 success = NetworkUtils.runDhcp(mInterfaceName, dhcpInfoInternal); in runDhcp() 344 success = NetworkUtils.runDhcpRenew(mInterfaceName, dhcpInfoInternal); in runDhcp() 374 NetworkUtils.getDhcpError()); in runDhcp() 375 NetworkUtils.stopDhcp(mInterfaceName); in runDhcp()
|
D | EthernetDataTracker.java | 136 NetworkUtils.stopDhcp(mIface); in disconnect() 170 if (!NetworkUtils.runDhcp(mIface, dhcpInfoInternal)) { in runDhcp() 171 Log.e(TAG, "DHCP request error:" + NetworkUtils.getDhcpError()); in runDhcp() 254 NetworkUtils.stopDhcp(mIface); in teardown()
|
D | RouteInfo.java | 68 mDestination = new LinkAddress(NetworkUtils.getNetworkPart(destination.getAddress(), in RouteInfo() 227 InetAddress dstNet = NetworkUtils.getNetworkPart(destination, in matches() 246 if (NetworkUtils.addressTypeMatches(route.mDestination.getAddress(), dest)) { in selectBestRoute()
|
D | DhcpInfo.java | 69 buf.append(NetworkUtils.intToInetAddress(addr).getHostAddress()); in putAddress()
|
D | NetworkUtils.java | 32 public class NetworkUtils { class
|
D | ConnectivityManager.java | 507 InetAddress inetAddress = NetworkUtils.intToInetAddress(hostAddress); in requestRouteToHost()
|
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 | 22 import android.net.NetworkUtils; 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/bluetooth/ |
D | BluetoothTetheringDataTracker.java | 27 import android.net.NetworkUtils; 271 if (!NetworkUtils.runDhcp(mIface, dhcpInfoInternal)) { in startReverseTether() 272 Log.e(TAG, "DHCP request error:" + NetworkUtils.getDhcpError()); in startReverseTether() 292 NetworkUtils.stopDhcp(iface); in stopReverseTether()
|
/frameworks/base/services/java/com/android/server/ |
D | NetworkManagementService.java | 43 import android.net.NetworkUtils; 451 addr = NetworkUtils.numericToInetAddress(st.nextToken()); in getInterfaceConfig() 651 NetworkUtils.intToInetAddress((int)Long.parseLong(dest, 16)); in getRoutes() 653 NetworkUtils.netmaskIntToPrefixLength( in getRoutes() 659 NetworkUtils.intToInetAddress((int)Long.parseLong(gate, 16)); in getRoutes() 688 InetAddress destAddr = NetworkUtils.hexToInet6Address(dest); in getRoutes() 691 InetAddress gateAddr = NetworkUtils.hexToInet6Address(gate); in getRoutes() 821 cmd.appendArg(NetworkUtils.numericToInetAddress(s).getHostAddress()); in setDnsForwarders() 855 InetAddress addr = NetworkUtils.getNetworkPart( in modifyNat() 905 NetworkUtils.numericToInetAddress(localAddr).getHostAddress(), in attachPppd() [all …]
|
D | ConnectivityService.java | 51 import android.net.NetworkUtils; 354 mDefaultDns = NetworkUtils.numericToInetAddress(dns); in ConnectivityService() 1264 InetAddress inetAddress = NetworkUtils.intToInetAddress(hostAddress); in requestRouteToHost() 1941 int resetMask = doReset ? NetworkUtils.RESET_ALL_ADDRESSES : 0; in handleConnectivityChange() 1967 resetMask |= NetworkUtils.RESET_IPV4_ADDRESSES; in handleConnectivityChange() 1970 resetMask |= NetworkUtils.RESET_IPV6_ADDRESSES; in handleConnectivityChange() 1986 resetMask = NetworkUtils.RESET_ALL_ADDRESSES; in handleConnectivityChange() 2015 NetworkUtils.resetConnections(iface, resetMask); in handleConnectivityChange() 2019 if ((resetMask & NetworkUtils.RESET_IPV4_ADDRESSES) != 0) { in handleConnectivityChange() 2309 mNetd.setDnsServersForInterface(iface, NetworkUtils.makeStrings(dnses)); in updateDns() [all …]
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 20 import android.net.NetworkUtils; 111 return NetworkUtils.intToInetAddress(ipv4Address).getHostAddress(); in formatIpAddress()
|
/frameworks/base/core/java/android/server/ |
D | BluetoothPanProfileHandler.java | 32 import android.net.NetworkUtils; 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/wifi/java/android/net/wifi/ |
D | WifiInfo.java | 22 import android.net.NetworkUtils; 220 return NetworkUtils.inetAddressToInt(mIpAddress); in getIpAddress()
|
D | WifiConfigStore.java | 24 import android.net.NetworkUtils; 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 | 58 import android.net.NetworkUtils; 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/services/java/com/android/server/connectivity/ |
D | Tethering.java | 37 import android.net.NetworkUtils; 548 InetAddress addr = NetworkUtils.numericToInetAddress(USB_NEAR_IFACE_ADDR); in configureUsbIface() 1348 dnsServers = NetworkUtils.makeStrings(v4Dnses); in chooseUpstreamType()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmDataConnectionTracker.java | 34 import android.net.NetworkUtils; 957 NetworkUtils.trimV4AddrZeros( in createApnList() 961 NetworkUtils.trimV4AddrZeros( in createApnList() 964 NetworkUtils.trimV4AddrZeros( in createApnList() 1265 if (NetworkUtils.addressTypeMatches(removed.getAddress(), in onDataStateChanged()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pService.java | 42 import android.net.NetworkUtils; 1401 ifcg.setLinkAddress(new LinkAddress(NetworkUtils.numericToInetAddress( in startDhcpServer() 1531 mWifiP2pInfo.groupOwnerAddress = NetworkUtils.numericToInetAddress(serverAddress); in setWifiP2pInfoOnGroupFormation()
|
/frameworks/base/ |
D | preloaded-classes | 525 android.net.NetworkUtils
|