Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DInet4AddressUtilsTest.java23 import static com.android.net.module.util.Inet4AddressUtils.inet4AddressToIntHTL;
52 assertEquals(0, inet4AddressToIntHTL(ipv4Address("0.0.0.0"))); in testInet4AddressToIntHTL()
53 assertEquals(0x000080ff, inet4AddressToIntHTL(ipv4Address("255.128.0.0"))); in testInet4AddressToIntHTL()
54 assertEquals(0x0080ff0a, inet4AddressToIntHTL(ipv4Address("10.255.128.0"))); in testInet4AddressToIntHTL()
55 assertEquals(0x00feff0a, inet4AddressToIntHTL(ipv4Address("10.255.254.0"))); in testInet4AddressToIntHTL()
56 assertEquals(0xfeffa8c0, inet4AddressToIntHTL(ipv4Address("192.168.255.254"))); in testInet4AddressToIntHTL()
57 assertEquals(0xffffa8c0, inet4AddressToIntHTL(ipv4Address("192.168.255.255"))); in testInet4AddressToIntHTL()
/packages/modules/Connectivity/tests/common/java/android/net/
DDhcpInfoTest.java19 import static com.android.net.module.util.Inet4AddressUtils.inet4AddressToIntHTL;
45 return inet4AddressToIntHTL((Inet4Address) InetAddress.getByName(ipString)); in ipToInteger()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DInet4AddressUtils.java82 public static int inet4AddressToIntHTL(Inet4Address inetAddr) { in inet4AddressToIntHTL() method in Inet4AddressUtils
/packages/modules/Connectivity/framework/src/android/net/
DNetworkUtils.java196 return Inet4AddressUtils.inet4AddressToIntHTL(inetAddr); in inetAddressToInt()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java22 import static com.android.net.module.util.Inet4AddressUtils.inet4AddressToIntHTL;
6877 inet4AddressToIntHTL((Inet4Address) ipAddressGo), in configureEapolIpAddressAllocationParamsIfEnabled()
6878 inet4AddressToIntHTL((Inet4Address) subnetMask), in configureEapolIpAddressAllocationParamsIfEnabled()
6879 inet4AddressToIntHTL((Inet4Address) ipAddressRangeStart), in configureEapolIpAddressAllocationParamsIfEnabled()
6880 inet4AddressToIntHTL((Inet4Address) ipAddressRangeEnd))) { in configureEapolIpAddressAllocationParamsIfEnabled()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java1465 result = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) mIpAddress); in getIpAddress()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java5117 info.ipAddress = Inet4AddressUtils.inet4AddressToIntHTL(
5122 info.gateway = Inet4AddressUtils.inet4AddressToIntHTL(
5130 info.dns1 = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) dns);
5132 info.dns2 = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) dns);
5142 Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) serverInetAddress);
DClientModeImpl.java3979 int newAddress = Inet4AddressUtils.inet4AddressToIntHTL(addr); in handleIPv4Success()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java26 import static com.android.net.module.util.Inet4AddressUtils.inet4AddressToIntHTL;
7924 eq(inet4AddressToIntHTL((Inet4Address) ipAddressGo)), in checkConfigureEapolIpAddressAllocationParams()
7925 eq(inet4AddressToIntHTL((Inet4Address) subnetMask)), in checkConfigureEapolIpAddressAllocationParams()
7926 eq(inet4AddressToIntHTL((Inet4Address) ipAddressRangeStart)), in checkConfigureEapolIpAddressAllocationParams()
7927 eq(inet4AddressToIntHTL((Inet4Address) ipAddressRangeEnd))); in checkConfigureEapolIpAddressAllocationParams()