Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSkfPayload.java40 public final int fragmentNum; field in IkeSkfPayload
80 fragmentNum = Short.toUnsignedInt(inputBuffer.getShort()); in IkeSkfPayload()
83 if (fragmentNum < 1 || totalFragments < 1 || fragmentNum > totalFragments) { in IkeSkfPayload()
86 + fragmentNum in IkeSkfPayload()
122 fragmentNum = fragNum; in IkeSkfPayload()
130 fragmentNum = fragNum; in IkeSkfPayload()
151 .putShort((short) fragmentNum) in encodeToByteBuffer()
DIkeMessage.java656 + ((IkeSkfPayload) pair.first).fragmentNum in decode()
800 if (collectedFragments.collectedFragsList[skf.fragmentNum - 1] != null) { in processIkeFragment()
890 boolean isFirstFragment = 1 == skfPayload.fragmentNum; in DecodeResultPartial()
907 this.collectedFragsList[skfPayload.fragmentNum - 1] = skfPayload.getUnencryptedData(); in DecodeResultPartial()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSkfPayloadTest.java130 assertEquals(FRAGMENT_NUM, payload.fragmentNum); in testDecode()