Searched refs:inet4AddressToIntHTL (Results 1 – 7 of 7) sorted by relevance
23 import static com.android.net.module.util.Inet4AddressUtils.inet4AddressToIntHTL;50 assertEquals(0, inet4AddressToIntHTL(ipv4Address("0.0.0.0"))); in testInet4AddressToIntHTL()51 assertEquals(0x000080ff, inet4AddressToIntHTL(ipv4Address("255.128.0.0"))); in testInet4AddressToIntHTL()52 assertEquals(0x0080ff0a, inet4AddressToIntHTL(ipv4Address("10.255.128.0"))); in testInet4AddressToIntHTL()53 assertEquals(0x00feff0a, inet4AddressToIntHTL(ipv4Address("10.255.254.0"))); in testInet4AddressToIntHTL()54 assertEquals(0xfeffa8c0, inet4AddressToIntHTL(ipv4Address("192.168.255.254"))); in testInet4AddressToIntHTL()55 assertEquals(0xffffa8c0, inet4AddressToIntHTL(ipv4Address("192.168.255.255"))); in testInet4AddressToIntHTL()
19 import static com.android.net.module.util.Inet4AddressUtils.inet4AddressToIntHTL;46 return inet4AddressToIntHTL((Inet4Address) InetAddress.getByName(ipString)); in ipToInteger()
82 public static int inet4AddressToIntHTL(Inet4Address inetAddr) { in inet4AddressToIntHTL() method in Inet4AddressUtils
194 return Inet4AddressUtils.inet4AddressToIntHTL(inetAddr); in inetAddressToInt()
836 result = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) mIpAddress); in getIpAddress()
2963 info.ipAddress = Inet4AddressUtils.inet4AddressToIntHTL(2968 info.gateway = Inet4AddressUtils.inet4AddressToIntHTL(2976 info.dns1 = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) dns);2978 info.dns2 = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) dns);2988 Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) serverInetAddress);
3100 int newAddress = Inet4AddressUtils.inet4AddressToIntHTL(addr);