Home
last modified time | relevance | path

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

/frameworks/libs/net/common/src_frameworkcommon/com/android/net/module/util/
DInet4AddressUtils.java37 public static Inet4Address intToInet4AddressHTL(int hostAddress) { in intToInet4AddressHTL() argument
38 return intToInet4AddressHTH(Integer.reverseBytes(hostAddress)); in intToInet4AddressHTL()
45 public static Inet4Address intToInet4AddressHTH(int hostAddress) { in intToInet4AddressHTH() argument
46 byte[] addressBytes = { (byte) (0xff & (hostAddress >> 24)), in intToInet4AddressHTH()
47 (byte) (0xff & (hostAddress >> 16)), in intToInet4AddressHTH()
48 (byte) (0xff & (hostAddress >> 8)), in intToInet4AddressHTH()
49 (byte) (0xff & hostAddress) }; in intToInet4AddressHTH()
/frameworks/base/core/java/android/net/
DNetworkUtils.java182 public static InetAddress intToInetAddress(int hostAddress) { in intToInetAddress() argument
183 return Inet4AddressUtils.intToInet4AddressHTL(hostAddress); in intToInetAddress()
DIConnectivityManager.aidl82 boolean requestRouteToHostAddress(int networkType, in byte[] hostAddress); in requestRouteToHostAddress() argument
DConnectivityManager.java2020 public boolean requestRouteToHost(int networkType, int hostAddress) { in requestRouteToHost() argument
2021 return requestRouteToHostAddress(networkType, NetworkUtils.intToInetAddress(hostAddress)); in requestRouteToHost()
2044 public boolean requestRouteToHostAddress(int networkType, InetAddress hostAddress) { in requestRouteToHostAddress() argument
2047 return mService.requestRouteToHostAddress(networkType, hostAddress.getAddress()); in requestRouteToHostAddress()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1838 public boolean requestRouteToHostAddress(int networkType, byte[] hostAddress) { in requestRouteToHostAddress() argument
1849 addr = InetAddress.getByAddress(hostAddress); in requestRouteToHostAddress()