Home
last modified time | relevance | path

Searched refs:getImplicitNetmask (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DNetworkUtilsTest.java41 assertEquals(8, NetworkUtils.getImplicitNetmask(IPv4Address("4.2.2.2"))); in testGetImplicitNetmask()
42 assertEquals(8, NetworkUtils.getImplicitNetmask(IPv4Address("10.5.6.7"))); in testGetImplicitNetmask()
43 assertEquals(16, NetworkUtils.getImplicitNetmask(IPv4Address("173.194.72.105"))); in testGetImplicitNetmask()
44 assertEquals(16, NetworkUtils.getImplicitNetmask(IPv4Address("172.23.68.145"))); in testGetImplicitNetmask()
45 assertEquals(24, NetworkUtils.getImplicitNetmask(IPv4Address("192.0.2.1"))); in testGetImplicitNetmask()
46 assertEquals(24, NetworkUtils.getImplicitNetmask(IPv4Address("192.168.5.1"))); in testGetImplicitNetmask()
47 assertEquals(32, NetworkUtils.getImplicitNetmask(IPv4Address("224.0.0.1"))); in testGetImplicitNetmask()
48 assertEquals(32, NetworkUtils.getImplicitNetmask(IPv4Address("255.6.7.8"))); in testGetImplicitNetmask()
/frameworks/base/core/java/android/net/
DNetworkUtils.java281 public static int getImplicitNetmask(Inet4Address address) { in getImplicitNetmask() method in NetworkUtils
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java1132 prefixLength = NetworkUtils.getImplicitNetmask(ipAddress); in toDhcpResults()
/frameworks/base/config/
Dhiddenapi-vendor-list.txt294 Landroid/net/NetworkUtils;->getImplicitNetmask(Ljava/net/Inet4Address;)I