Searched refs:inet4AddressToIntHTH (Results 1 – 4 of 4) sorted by relevance
22 import static android.net.shared.Inet4AddressUtils.inet4AddressToIntHTH;70 assertEquals(0, inet4AddressToIntHTH(ipv4Address("0.0.0.0"))); in testInet4AddressToIntHTH()71 assertEquals(0xff800000, inet4AddressToIntHTH(ipv4Address("255.128.0.0"))); in testInet4AddressToIntHTH()72 assertEquals(0x0aff8000, inet4AddressToIntHTH(ipv4Address("10.255.128.0"))); in testInet4AddressToIntHTH()73 assertEquals(0x0afffe00, inet4AddressToIntHTH(ipv4Address("10.255.254.0"))); in testInet4AddressToIntHTH()74 assertEquals(0xc0a8fffe, inet4AddressToIntHTH(ipv4Address("192.168.255.254"))); in testInet4AddressToIntHTH()75 assertEquals(0xc0a8ffff, inet4AddressToIntHTH(ipv4Address("192.168.255.255"))); in testInet4AddressToIntHTH()121 final int addrInt = inet4AddressToIntHTH(ipv4Address(addr)); in checkAddressMasking()
67 public static int inet4AddressToIntHTH(Inet4Address inetAddr) in inet4AddressToIntHTH() method in Inet4AddressUtils83 return Integer.reverseBytes(inet4AddressToIntHTH(inetAddr)); in inet4AddressToIntHTL()120 int i = inet4AddressToIntHTH(netmask); in netmaskToPrefixLength()152 final int intBroadcastAddr = inet4AddressToIntHTH(addr) in getBroadcastAddress()
19 import static android.net.shared.Inet4AddressUtils.inet4AddressToIntHTH;48 this.serverAddr = inet4AddressToIntHTH((Inet4Address) serverAddr.getAddress()); in setServerAddr()167 res[i] = inet4AddressToIntHTH(addr); in toIntArray()
10752 HSPLandroid/net/shared/Inet4AddressUtils;->inet4AddressToIntHTH(Ljava/net/Inet4Address;)I