Home
last modified time | relevance | path

Searched refs:netmask (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/net/
DDhcpInfo.java28 public int netmask; field in DhcpInfo
44 netmask = source.netmask; in DhcpInfo()
57 str.append(" netmask "); putAddress(str, netmask); in toString()
79 dest.writeInt(netmask); in writeToParcel()
93 info.netmask = in.readInt();
DNetworkUtils.java213 public static int netmaskIntToPrefixLength(int netmask) { in netmaskIntToPrefixLength() argument
214 return Integer.bitCount(netmask); in netmaskIntToPrefixLength()
227 public static int netmaskToPrefixLength(Inet4Address netmask) { in netmaskToPrefixLength() argument
229 return Inet4AddressUtils.netmaskToPrefixLength(netmask); in netmaskToPrefixLength()
/frameworks/base/tests/net/common/java/android/net/
DDhcpInfoTest.java54 dhcpInfo.netmask = ipToInteger(STR_ADDR3); in createDhcpInfoObject()
93 && left.netmask == right.netmask in dhcpInfoEquals()
/frameworks/base/core/java/android/net/shared/
DInet4AddressUtils.java118 public static int netmaskToPrefixLength(Inet4Address netmask) { in netmaskToPrefixLength() argument
120 int i = inet4AddressToIntHTH(netmask); in netmaskToPrefixLength()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DInet4AddressUtils.java118 public static int netmaskToPrefixLength(Inet4Address netmask) { in netmaskToPrefixLength() argument
120 int i = inet4AddressToIntHTH(netmask); in netmaskToPrefixLength()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt16992 field public int netmask;
/frameworks/base/non-updatable-api/
Dcurrent.txt28738 field public int netmask;
/frameworks/base/api/
Dcurrent.txt28868 field public int netmask;