Searched refs:makeTestConntrackEvent (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | ConntrackMonitorTest.java | 199 private ConntrackEvent makeTestConntrackEvent(short msgType, int status, int timeoutSec) { in makeTestConntrackEvent() method in ConntrackMonitorTest 219 final ConntrackEvent expectedEvent = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, in testConntrackEventNew() 227 final ConntrackEvent event1 = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, 1234 /* status */, in testConntrackEventEquals() 229 final ConntrackEvent event2 = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, 1234 /* status */, in testConntrackEventEquals() 236 final ConntrackEvent e = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, 1234 /* status */, in testConntrackEventNotEquals() 262 final ConntrackEvent event = makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, in testToString() 329 makeTestConntrackEvent(IPCTNL_MSG_CT_DELETE, 0x39e /* status */, in testConntrackEventDelete()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 1372 private ConntrackEvent makeTestConntrackEvent(short msgType, int proto) { in makeTestConntrackEvent() method in BpfCoordinatorTest 1462 mConsumer.accept(makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, IPPROTO_TCP)); in testSetDataLimitOnRule4Change() 1471 mConsumer.accept(makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, IPPROTO_UDP)); in testSetDataLimitOnRule4Change() 1480 mConsumer.accept(makeTestConntrackEvent(IPCTNL_MSG_CT_DELETE, IPPROTO_UDP)); in testSetDataLimitOnRule4Change() 1489 mConsumer.accept(makeTestConntrackEvent(IPCTNL_MSG_CT_DELETE, IPPROTO_TCP)); in testSetDataLimitOnRule4Change() 1522 mConsumer.accept(makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, IPPROTO_TCP)); in testAddDevMapRule4() 1529 mConsumer.accept(makeTestConntrackEvent(IPCTNL_MSG_CT_NEW, IPPROTO_UDP)); in testAddDevMapRule4()
|