Home
last modified time | relevance | path

Searched refs:inet4AddressToIntHTL (Results 1 – 7 of 7) 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 com.android.net.module.util.Inet4AddressUtils.inet4AddressToIntHTL;
46 return inet4AddressToIntHTL((Inet4Address) InetAddress.getByName(ipString)); in ipToInteger()
/frameworks/libs/net/common/src_frameworkcommon/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.java194 return Inet4AddressUtils.inet4AddressToIntHTL(inetAddr); in inetAddressToInt()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java836 result = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) mIpAddress); in getIpAddress()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2963 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);
DClientModeImpl.java3100 int newAddress = Inet4AddressUtils.inet4AddressToIntHTL(addr);