Searched refs:intToInet4AddressHTL (Results 1 – 4 of 4) sorted by relevance
25 import static com.android.net.module.util.Inet4AddressUtils.intToInet4AddressHTL;60 assertEquals(ipv4Address("0.0.0.0"), intToInet4AddressHTL(0)); in testIntToInet4AddressHTL()61 assertEquals(ipv4Address("255.128.0.0"), intToInet4AddressHTL(0x000080ff)); in testIntToInet4AddressHTL()62 assertEquals(ipv4Address("10.255.128.0"), intToInet4AddressHTL(0x0080ff0a)); in testIntToInet4AddressHTL()63 assertEquals(ipv4Address("10.255.254.0"), intToInet4AddressHTL(0x00feff0a)); in testIntToInet4AddressHTL()64 assertEquals(ipv4Address("192.168.255.254"), intToInet4AddressHTL(0xfeffa8c0)); in testIntToInet4AddressHTL()65 assertEquals(ipv4Address("192.168.255.255"), intToInet4AddressHTL(0xffffa8c0)); in testIntToInet4AddressHTL()
37 public static Inet4Address intToInet4AddressHTL(int hostAddress) { in intToInet4AddressHTL() method in Inet4AddressUtils
182 return Inet4AddressUtils.intToInet4AddressHTL(hostAddress); in intToInetAddress()