Searched refs:hostAddress (Results 1 – 5 of 5) sorted by relevance
37 public static Inet4Address intToInet4AddressHTL(int hostAddress) { in intToInet4AddressHTL() argument38 return intToInet4AddressHTH(Integer.reverseBytes(hostAddress)); in intToInet4AddressHTL()45 public static Inet4Address intToInet4AddressHTH(int hostAddress) { in intToInet4AddressHTH() argument46 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()
182 public static InetAddress intToInetAddress(int hostAddress) { in intToInetAddress() argument183 return Inet4AddressUtils.intToInet4AddressHTL(hostAddress); in intToInetAddress()
82 boolean requestRouteToHostAddress(int networkType, in byte[] hostAddress); in requestRouteToHostAddress() argument
2020 public boolean requestRouteToHost(int networkType, int hostAddress) { in requestRouteToHost() argument2021 return requestRouteToHostAddress(networkType, NetworkUtils.intToInetAddress(hostAddress)); in requestRouteToHost()2044 public boolean requestRouteToHostAddress(int networkType, InetAddress hostAddress) { in requestRouteToHostAddress() argument2047 return mService.requestRouteToHostAddress(networkType, hostAddress.getAddress()); in requestRouteToHostAddress()
1838 public boolean requestRouteToHostAddress(int networkType, byte[] hostAddress) { in requestRouteToHostAddress() argument1849 addr = InetAddress.getByAddress(hostAddress); in requestRouteToHostAddress()