History log of /frameworks/base/core/tests/coretests/src/android/net/NetworkUtilsTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e5ef28f50974320659e2ecfe3910718a9e60f317 09-Mar-2015 Lorenzo Colitti <lorenzo@google.com> Add two utility methods for IPv4 netmasks.

1. Add a validating method to convert a netmask to a prefix length.
2. Add a function to get the implicit netmask of an IPv4 address.
3. Add a unit test.

Bug: 19704592
Change-Id: Icb9f58d3903ea01df9e3720383c9bd5db6dd8f26
/frameworks/base/core/tests/coretests/src/android/net/NetworkUtilsTest.java