Searched refs:inet4AddressToIntHTL (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | Inet4AddressUtilsTest.java | 23 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/ |
D | DhcpInfoTest.java | 19 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/ |
D | Inet4AddressUtils.java | 82 public static int inet4AddressToIntHTL(Inet4Address inetAddr) { in inet4AddressToIntHTL() method in Inet4AddressUtils
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkUtils.java | 196 return Inet4AddressUtils.inet4AddressToIntHTL(inetAddr); in inetAddressToInt()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 22 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/ |
D | WifiInfo.java | 1465 result = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) mIpAddress); in getIpAddress()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 5117 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);
|
D | ClientModeImpl.java | 3979 int newAddress = Inet4AddressUtils.inet4AddressToIntHTL(addr); in handleIPv4Success()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 26 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()
|