Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java29 import android.net.ip.IpNeighborMonitor.NeighborEvent;
194 private Map<InetAddress, NeighborEvent> mNeighborWatchList = new HashMap<>();
235 (NeighborEvent event) -> {
239 final NeighborEvent prev = mNeighborWatchList.put(event.ip, event);
282 for (Map.Entry<InetAddress, NeighborEvent> entry : mNeighborWatchList.entrySet()) {
308 Map<InetAddress, NeighborEvent> newNeighborWatchList = new HashMap<>();
336 private void handleNeighborLost(NeighborEvent event) {
340 for (Map.Entry<InetAddress, NeighborEvent> entry : mNeighborWatchList.entrySet()) {
344 final NeighborEvent val = entry.getValue();
383 for (Map.Entry<InetAddress, NeighborEvent> entry : mNeighborWatchList.entrySet()) {
[all …]
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DIpNeighborMonitor.java78 public static class NeighborEvent { class in IpNeighborMonitor
86 public NeighborEvent(long elapsedMs, short msgType, int ifindex, InetAddress ip, in NeighborEvent() method in IpNeighborMonitor.NeighborEvent
120 public void accept(NeighborEvent event); in accept()
152 final NeighborEvent event = new NeighborEvent( in processNetlinkMessage()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java47 import android.net.ip.IpNeighborMonitor.NeighborEvent;
275 public void accept(NeighborEvent e) { in accept()
908 NeighborEvent e) { in updateIpv6ForwardingRules()
945 private void updateClientInfoIpv4(NeighborEvent e) { in updateClientInfoIpv4()
969 private void handleNeighborEvent(NeighborEvent e) { in handleNeighborEvent()
1399 handleNeighborEvent((NeighborEvent) message.obj); in processMessage()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java84 import android.net.ip.IpNeighborMonitor.NeighborEvent;
771 mNeighborEventConsumer.accept(new NeighborEvent(0, RTM_NEWNEIGH, ifindex, addr, in recvNewNeigh()
777 mNeighborEventConsumer.accept(new NeighborEvent(0, RTM_DELNEIGH, ifindex, addr, in recvDelNeigh()