History log of /frameworks/base/core/tests/coretests/src/android/net/netlink/NetlinkSocketTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
abd3142dcae02026689b939c363329b822b7cc0a 15-May-2015 Erik Kline <ek@google.com> Close netlink socket when shutting down IpReachabilityMonitor

This forces the NetlinkSocketObserver thread to exit quickly, rather
than lingering until the next random netlink neighbor multicast message
arrives.

Additionally, add a small unittest to verify that multiple calls to
NetlinkSocket#close() are safe.

Change-Id: I101730fad7eee72f9c6e8a7e7bd10c634f2ceab4
/frameworks/base/core/tests/coretests/src/android/net/netlink/NetlinkSocketTest.java
6193aa3305bc2aa5b7f0a983f4b08c99065cfb82 19-Jan-2015 Erik Kline <ek@google.com> Add basic netlink library code.

Add netlink socket helpers and parsing code for basic netlink messages.
Additionally, support from some neighbor discovery -specific messages
is included.

Bug: 18581716
Change-Id: Ib2aa924222b63cdbebf09a8bf8ff35ee24269fc5
/frameworks/base/core/tests/coretests/src/android/net/netlink/NetlinkSocketTest.java