Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DConntrackMonitorTest.java79 private TestConntrackMonitor mConntrackMonitor; field in ConntrackMonitorTest
129 mConntrackMonitor = m; in setUp()
221 mConntrackMonitor.sendMessage(CT_V4NEW_TCP_BYTES); in testConntrackEventNew()
331 mConntrackMonitor.sendMessage(CT_V4DELETE_TCP_BYTES); in testConntrackEventDelete()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java215 @Mock private ConntrackMonitor mConntrackMonitor; field in BpfCoordinatorTest
267 return mConntrackMonitor;
1238 verify(mConntrackMonitor, never()).start(); in testStartStopConntrackMonitoring()
1242 verify(mConntrackMonitor).start(); in testStartStopConntrackMonitoring()
1243 clearInvocations(mConntrackMonitor); in testStartStopConntrackMonitoring()
1247 verify(mConntrackMonitor).stop(); in testStartStopConntrackMonitoring()
1260 verify(mConntrackMonitor, never()).start(); in testStartStopConntrackMonitoring_R()
1263 verify(mConntrackMonitor, never()).stop(); in testStartStopConntrackMonitoring_R()
1275 verify(mConntrackMonitor).start(); in testStartStopConntrackMonitoringWithTwoDownstreamIfaces()
1276 clearInvocations(mConntrackMonitor); in testStartStopConntrackMonitoringWithTwoDownstreamIfaces()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java149 private final ConntrackMonitor mConntrackMonitor; field in BpfCoordinator
402 mConntrackMonitor = mDeps.getConntrackMonitor(mBpfConntrackEventConsumer); in BpfCoordinator()
505 mConntrackMonitor.start(); in startMonitoring()
524 mConntrackMonitor.stop(); in stopMonitoring()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java184 @Mock private ConntrackMonitor mConntrackMonitor; field in IpServerTest
313 return mConntrackMonitor; in setUp()