Home
last modified time | relevance | path

Searched refs:collectedFragsList (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java909 if (skf.totalFragments > collectedFragments.collectedFragsList.length) { in processIkeFragment()
919 if (skf.totalFragments < collectedFragments.collectedFragsList.length) { in processIkeFragment()
928 if (collectedFragments.collectedFragsList[skf.fragmentNum - 1] != null) { in processIkeFragment()
1000 public final byte[][] collectedFragsList; field in IkeMessage.DecodeResultPartial
1025 this.collectedFragsList = new byte[skfPayload.totalFragments][]; in DecodeResultPartial()
1032 this.collectedFragsList = collectedFragments.collectedFragsList; in DecodeResultPartial()
1035 this.collectedFragsList[skfPayload.fragmentNum - 1] = skfPayload.getUnencryptedData(); in DecodeResultPartial()
1040 for (byte[] frag : collectedFragsList) { in isAllFragmentsReceived()
1053 for (byte[] frag : collectedFragsList) { in reassembleAllFrags()
1058 for (byte[] frag : collectedFragsList) { in reassembleAllFrags()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java566 assertEquals(TOTAL_FRAGMENTS, resultPartial.collectedFragsList.length); in testConstructDecodePartialFirstFragArriveFirst()
569 resultPartial.collectedFragsList[FRAGMENT_NUM_ONE - 1]); in testConstructDecodePartialFirstFragArriveFirst()
581 assertEquals(TOTAL_FRAGMENTS, resultPartial.collectedFragsList.length); in testConstructDecodePartialSecondFragArriveFirst()
584 resultPartial.collectedFragsList[FRAGMENT_NUM_TWO - 1]); in testConstructDecodePartialSecondFragArriveFirst()
599 assertEquals(TOTAL_FRAGMENTS, resultPartialComplete.collectedFragsList.length); in testConstructDecodeResultPartialWithCollectedFrags()
614 assertEquals(TOTAL_FRAGMENTS, resultPartialIncomplete.collectedFragsList.length); in testReassembleAllFrags()
689 assertEquals(TOTAL_FRAGMENTS, resultPartial.collectedFragsList.length); in testRcvFirstArrivedFrag()
692 resultPartial.collectedFragsList[FRAGMENT_NUM_TWO - 1]); in testRcvFirstArrivedFrag()
794 assertEquals(totalFragments, resultPartial.collectedFragsList.length); in testRcvFragWithLargerTotalFragments()
795 assertArrayEquals(unencryptedData, resultPartial.collectedFragsList[FRAGMENT_NUM_TWO - 1]); in testRcvFragWithLargerTotalFragments()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java3905 assertEquals(totalFragments, resultPartial.collectedFragsList.length); in testCreateIkeLocalIkeAuthHandlesFirstFrag()
3906 assertArrayEquals(unencryptedData, resultPartial.collectedFragsList[fragNum - 1]); in testCreateIkeLocalIkeAuthHandlesFirstFrag()
4429 assertEquals(totalFragments, resultPartial.collectedFragsList.length); in testRekeyIkeLocalDeleteWithRequestFragOnNewSa()
4430 assertArrayEquals(unencryptedData, resultPartial.collectedFragsList[fragNum - 1]); in testRekeyIkeLocalDeleteWithRequestFragOnNewSa()