Home
last modified time | relevance | path

Searched refs:intToInet4AddressHTL (Results 1 – 4 of 4) sorted by relevance

/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DInet4AddressUtilsTest.java25 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()
/frameworks/base/core/java/android/net/shared/
DInet4AddressUtils.java37 public static Inet4Address intToInet4AddressHTL(int hostAddress) { in intToInet4AddressHTL() method in Inet4AddressUtils
/frameworks/libs/net/common/framework/com/android/net/module/util/
DInet4AddressUtils.java37 public static Inet4Address intToInet4AddressHTL(int hostAddress) { in intToInet4AddressHTL() method in Inet4AddressUtils
/frameworks/base/core/java/android/net/
DNetworkUtils.java182 return Inet4AddressUtils.intToInet4AddressHTL(hostAddress); in intToInetAddress()