Home
last modified time | relevance | path

Searched refs:netmask (Results 1 – 7 of 7) 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.java214 public static int netmaskIntToPrefixLength(int netmask) { in netmaskIntToPrefixLength() argument
215 return Integer.bitCount(netmask); in netmaskIntToPrefixLength()
228 public static int netmaskToPrefixLength(Inet4Address netmask) { in netmaskToPrefixLength() argument
230 return Inet4AddressUtils.netmaskToPrefixLength(netmask); in netmaskToPrefixLength()
/frameworks/base/tests/net/common/java/android/net/
DDhcpInfoTest.java53 dhcpInfo.netmask = ipToInteger(STR_ADDR3); in createDhcpInfoObject()
92 && left.netmask == right.netmask in dhcpInfoEquals()
/frameworks/libs/net/common/src_frameworkcommon/com/android/net/module/util/
DInet4AddressUtils.java118 public static int netmaskToPrefixLength(Inet4Address netmask) { in netmaskToPrefixLength() argument
120 int i = inet4AddressToIntHTH(netmask); in netmaskToPrefixLength()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt16992 field public int netmask;
/frameworks/base/api/
Dcurrent.txt29969 field public int netmask;