Home
last modified time | relevance | path

Searched refs:expectedPackets (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecManagerTest.java571 int expectedPackets = sendCount; in checkStatsChecker() local
577 expectedPackets *= 2; in checkStatsChecker()
588 expectedPackets += sendCount; in checkStatsChecker()
591 StatsChecker.waitForNumPackets(expectedPackets); in checkStatsChecker()
596 expectedPackets, in checkStatsChecker()
599 expectedPackets); in checkStatsChecker()
604 expectedOuterBytes, expectedPackets, expectedOuterBytes, expectedPackets); in checkStatsChecker()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java4387 private void verifyLastSentRespAllPackets(byte[][] expectedPackets, IkeSaRecord saRecord) { in verifyLastSentRespAllPackets() argument
4388 if (expectedPackets == null) { in verifyLastSentRespAllPackets()
4393 assertEquals(expectedPackets.length, saRecord.getLastSentRespAllPackets().size()); in verifyLastSentRespAllPackets()
4394 for (int i = 0; i < expectedPackets.length; i++) { in verifyLastSentRespAllPackets()
4395 assertArrayEquals(expectedPackets[i], saRecord.getLastSentRespAllPackets().get(i)); in verifyLastSentRespAllPackets()