Searched refs:intToInet4AddressHTH (Results 1 – 3 of 3) sorted by relevance
24 import static android.net.shared.Inet4AddressUtils.intToInet4AddressHTH;80 assertEquals(ipv4Address("0.0.0.0"), intToInet4AddressHTH(0)); in testIntToInet4AddressHTH()81 assertEquals(ipv4Address("255.128.0.0"), intToInet4AddressHTH(0xff800000)); in testIntToInet4AddressHTH()82 assertEquals(ipv4Address("10.255.128.0"), intToInet4AddressHTH(0x0aff8000)); in testIntToInet4AddressHTH()83 assertEquals(ipv4Address("10.255.254.0"), intToInet4AddressHTH(0x0afffe00)); in testIntToInet4AddressHTH()84 assertEquals(ipv4Address("192.168.255.254"), intToInet4AddressHTH(0xc0a8fffe)); in testIntToInet4AddressHTH()85 assertEquals(ipv4Address("192.168.255.255"), intToInet4AddressHTH(0xc0a8ffff)); in testIntToInet4AddressHTH()122 assertEquals(ipv4Address(expectedAddr), intToInet4AddressHTH(prefix & addrInt)); in checkAddressMasking()
38 return intToInet4AddressHTH(Integer.reverseBytes(hostAddress)); in intToInet4AddressHTL()45 public static Inet4Address intToInet4AddressHTH(int hostAddress) { in intToInet4AddressHTH() method in Inet4AddressUtils154 return intToInet4AddressHTH(intBroadcastAddr); in getBroadcastAddress()164 return intToInet4AddressHTH(prefixLengthToV4NetmaskIntHTH(prefixLength)); in getPrefixMaskAsInet4Address()
29 import static android.net.shared.Inet4AddressUtils.intToInet4AddressHTH;434 assertTrue(expectedPrefix.contains(intToInet4AddressHTH(params.serverAddr))); in assertDhcpStarted()