Home
last modified time | relevance | path

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

/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DInet4AddressUtilsTest.java22 import static com.android.net.module.util.Inet4AddressUtils.inet4AddressToIntHTH;
70 assertEquals(0, inet4AddressToIntHTH(ipv4Address("0.0.0.0"))); in testInet4AddressToIntHTH()
71 assertEquals(0xff800000, inet4AddressToIntHTH(ipv4Address("255.128.0.0"))); in testInet4AddressToIntHTH()
72 assertEquals(0x0aff8000, inet4AddressToIntHTH(ipv4Address("10.255.128.0"))); in testInet4AddressToIntHTH()
73 assertEquals(0x0afffe00, inet4AddressToIntHTH(ipv4Address("10.255.254.0"))); in testInet4AddressToIntHTH()
74 assertEquals(0xc0a8fffe, inet4AddressToIntHTH(ipv4Address("192.168.255.254"))); in testInet4AddressToIntHTH()
75 assertEquals(0xc0a8ffff, inet4AddressToIntHTH(ipv4Address("192.168.255.255"))); in testInet4AddressToIntHTH()
121 final int addrInt = inet4AddressToIntHTH(ipv4Address(addr)); in checkAddressMasking()
/frameworks/base/core/java/android/net/shared/
DInet4AddressUtils.java67 public static int inet4AddressToIntHTH(Inet4Address inetAddr) in inet4AddressToIntHTH() method in Inet4AddressUtils
83 return Integer.reverseBytes(inet4AddressToIntHTH(inetAddr)); in inet4AddressToIntHTL()
120 int i = inet4AddressToIntHTH(netmask); in netmaskToPrefixLength()
152 final int intBroadcastAddr = inet4AddressToIntHTH(addr) in getBroadcastAddress()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DInet4AddressUtils.java67 public static int inet4AddressToIntHTH(Inet4Address inetAddr) in inet4AddressToIntHTH() method in Inet4AddressUtils
83 return Integer.reverseBytes(inet4AddressToIntHTH(inetAddr)); in inet4AddressToIntHTL()
120 int i = inet4AddressToIntHTH(netmask); in netmaskToPrefixLength()
152 final int intBroadcastAddr = inet4AddressToIntHTH(addr) in getBroadcastAddress()
/frameworks/base/packages/Tethering/src/android/net/dhcp/
DDhcpServingParamsParcelExt.java19 import static android.net.shared.Inet4AddressUtils.inet4AddressToIntHTH;
50 this.serverAddr = inet4AddressToIntHTH((Inet4Address) serverAddr.getAddress()); in setServerAddr()
172 this.singleClientAddr = clientAddr == null ? 0 : inet4AddressToIntHTH(clientAddr); in setSingleClientAddr()
192 res[i] = inet4AddressToIntHTH(addr); in toIntArray()
/frameworks/base/config/
Dboot-image-profile.txt10752 HSPLandroid/net/shared/Inet4AddressUtils;->inet4AddressToIntHTH(Ljava/net/Inet4Address;)I