Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java558 DecodeResultPartial resultPartial = makeDecodeResultForFragOne(null /*collectedFragments*/); in testConstructDecodePartialFirstFragArriveFirst() local
560 assertEquals(PAYLOAD_TYPE_AUTH, resultPartial.firstPayloadType); in testConstructDecodePartialFirstFragArriveFirst()
561 assertArrayEquals(mIkeFragPacketOne, resultPartial.firstFragBytes); in testConstructDecodePartialFirstFragArriveFirst()
562 assertEquals(mFragOneHeader, resultPartial.ikeHeader); in testConstructDecodePartialFirstFragArriveFirst()
564 assertEquals(TOTAL_FRAGMENTS, resultPartial.collectedFragsList.length); in testConstructDecodePartialFirstFragArriveFirst()
567 resultPartial.collectedFragsList[FRAGMENT_NUM_ONE - 1]); in testConstructDecodePartialFirstFragArriveFirst()
568 assertFalse(resultPartial.isAllFragmentsReceived()); in testConstructDecodePartialFirstFragArriveFirst()
573 DecodeResultPartial resultPartial = makeDecodeResultForFragTwo(null /*collectedFragments*/); in testConstructDecodePartialSecondFragArriveFirst() local
575 assertEquals(PAYLOAD_TYPE_NO_NEXT, resultPartial.firstPayloadType); in testConstructDecodePartialSecondFragArriveFirst()
576 assertNull(resultPartial.firstFragBytes); in testConstructDecodePartialSecondFragArriveFirst()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java2940 DecodeResultPartial resultPartial = in testCreateIkeLocalIkeAuthHandlesFirstFrag() local
2942 assertEquals(PAYLOAD_TYPE_AUTH, resultPartial.firstPayloadType); in testCreateIkeLocalIkeAuthHandlesFirstFrag()
2943 assertEquals(totalFragments, resultPartial.collectedFragsList.length); in testCreateIkeLocalIkeAuthHandlesFirstFrag()
2944 assertArrayEquals(unencryptedData, resultPartial.collectedFragsList[fragNum - 1]); in testCreateIkeLocalIkeAuthHandlesFirstFrag()
2945 assertFalse(resultPartial.isAllFragmentsReceived()); in testCreateIkeLocalIkeAuthHandlesFirstFrag()
3441 DecodeResultPartial resultPartial = in testRekeyIkeLocalDeleteWithRequestFragOnNewSa() local
3443 assertEquals(PAYLOAD_TYPE_SA, resultPartial.firstPayloadType); in testRekeyIkeLocalDeleteWithRequestFragOnNewSa()
3444 assertEquals(totalFragments, resultPartial.collectedFragsList.length); in testRekeyIkeLocalDeleteWithRequestFragOnNewSa()
3445 assertArrayEquals(unencryptedData, resultPartial.collectedFragsList[fragNum - 1]); in testRekeyIkeLocalDeleteWithRequestFragOnNewSa()
3446 assertFalse(resultPartial.isAllFragmentsReceived()); in testRekeyIkeLocalDeleteWithRequestFragOnNewSa()