Home
last modified time | relevance | path

Searched refs:hostAddress (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkUtils.java109 public static InetAddress intToInetAddress(int hostAddress) { in intToInetAddress() argument
110 byte[] addressBytes = { (byte)(0xff & hostAddress), in intToInetAddress()
111 (byte)(0xff & (hostAddress >> 8)), in intToInetAddress()
112 (byte)(0xff & (hostAddress >> 16)), in intToInetAddress()
113 (byte)(0xff & (hostAddress >> 24)) }; in intToInetAddress()
DConnectivityManager.java480 public boolean requestRouteToHost(int networkType, int hostAddress) { in requestRouteToHost() argument
481 InetAddress inetAddress = NetworkUtils.intToInetAddress(hostAddress); in requestRouteToHost()
500 public boolean requestRouteToHostAddress(int networkType, InetAddress hostAddress) { in requestRouteToHostAddress() argument
501 byte[] address = hostAddress.getAddress(); in requestRouteToHostAddress()
DIConnectivityManager.aidl64 boolean requestRouteToHost(int networkType, int hostAddress); in requestRouteToHost() argument
66 boolean requestRouteToHostAddress(int networkType, in byte[] hostAddress); in requestRouteToHostAddress() argument
/frameworks/base/services/java/com/android/server/
DConnectivityService.java1103 public boolean requestRouteToHost(int networkType, int hostAddress) { in requestRouteToHost() argument
1104 InetAddress inetAddress = NetworkUtils.intToInetAddress(hostAddress); in requestRouteToHost()
1122 public boolean requestRouteToHostAddress(int networkType, byte[] hostAddress) { in requestRouteToHostAddress() argument
1142 InetAddress addr = InetAddress.getByAddress(hostAddress); in requestRouteToHostAddress()