Home
last modified time | relevance | path

Searched refs:mIpNeighborMonitor (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java224 private final IpNeighborMonitor mIpNeighborMonitor;
302 mIpNeighborMonitor = dependencies.makeIpNeighborMonitor(h, mLog,
331 mIpNeighborMonitor.start();
336 mIpNeighborMonitor.stop();
341 if (Looper.myLooper() == mIpNeighborMonitor.getHandler().getLooper()) {
347 mIpNeighborMonitor.getHandler().post(() -> {
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java177 @Mock private IpNeighborMonitor mIpNeighborMonitor; field in IpServerTest
216 doReturn(mIpNeighborMonitor).when(mDependencies).getIpNeighborMonitor(any(), any(), any()); in initStateMachine()
223 verify(mIpNeighborMonitor).start(); in initStateMachine()
229 reset(mNetd, mCallback, mIpNeighborMonitor); in initStateMachine()
318 .thenReturn(mIpNeighborMonitor); in startsOutAvailable()
833 verify(mIpNeighborMonitor).stop(); in stopNeighborMonitoringWhenInterfaceDown()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java314 private final IpNeighborMonitor mIpNeighborMonitor; field in IpServer
349 mIpNeighborMonitor = mDeps.getIpNeighborMonitor(getHandler(), mLog, in IpServer()
354 if (mBpfCoordinator.isUsingBpfOffload() && !mIpNeighborMonitor.start()) { in IpServer()
1520 mIpNeighborMonitor.stop(); in enter()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java451 @Mock private IpNeighborMonitor mIpNeighborMonitor; field in BpfCoordinatorTest
621 doReturn(mIpNeighborMonitor).when(mIpServerDeps).getIpNeighborMonitor(any(), any(), in makeAndStartIpServer()
2989 verify(mIpNeighborMonitor).stop(); in addRemoveIpv6ForwardingRules()
3059 verify(mIpNeighborMonitor, never()).start(); in doesNotStartIpNeighborMonitorIfBpfOffloadDisabled()
DTetheringTest.java282 @Mock private IpNeighborMonitor mIpNeighborMonitor; field in TetheringTest
431 return mIpNeighborMonitor; in getIpNeighborMonitor()