Home
last modified time | relevance | path

Searched refs:inet4AddressToIntHTL (Results 1 – 5 of 5) sorted by relevance

/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DInet4AddressUtilsTest.java23 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()
/frameworks/base/tests/net/common/java/android/net/
DDhcpInfoTest.java19 import static android.net.shared.Inet4AddressUtils.inet4AddressToIntHTL;
47 return inet4AddressToIntHTL((Inet4Address) InetAddress.getByName(ipString)); in ipToInteger()
/frameworks/base/core/java/android/net/shared/
DInet4AddressUtils.java82 public static int inet4AddressToIntHTL(Inet4Address inetAddr) { in inet4AddressToIntHTL() method in Inet4AddressUtils
/frameworks/libs/net/common/framework/com/android/net/module/util/
DInet4AddressUtils.java82 public static int inet4AddressToIntHTL(Inet4Address inetAddr) { in inet4AddressToIntHTL() method in Inet4AddressUtils
/frameworks/base/core/java/android/net/
DNetworkUtils.java193 return Inet4AddressUtils.inet4AddressToIntHTL(inetAddr); in inetAddressToInt()