Home
last modified time | relevance | path

Searched refs:fragNum (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSkfPayload.java111 int fragNum, in IkeSkfPayload() argument
116 encodeSkfHeader(fragNum, totalFrags), in IkeSkfPayload()
122 fragmentNum = fragNum; in IkeSkfPayload()
128 IkeSkfPayload(IkeEncryptedPayloadBody encryptedPayloadBody, int fragNum, int totalFrags) { in IkeSkfPayload() argument
130 fragmentNum = fragNum; in IkeSkfPayload()
135 static byte[] encodeSkfHeader(int fragNum, int totalFrags) { in encodeSkfHeader() argument
137 buffer.putShort((short) fragNum).putShort((short) totalFrags); in encodeSkfHeader()
DIkeMessage.java647 int fragNum = i + 1; // 1-based in encryptAndEncode() local
660 fragNum, in encryptAndEncode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeTestUtils.java66 byte[] unencryptedData, int fragNum, int totalFrags) throws Exception { in makeDummySkfPayload() argument
69 return new IkeSkfPayload(mockEncryptedBody, fragNum, totalFrags); in makeDummySkfPayload()
DIkeMessageTest.java272 private byte[] makeFragmentBytes(int fragNum, int totalFragments) { in makeFragmentBytes() argument
277 byteBuffer.putShort((short) fragNum).putShort((short) totalFragments); in makeFragmentBytes()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeTunUtils.java303 int fragNum = Short.toUnsignedInt(buffer.getShort()); in isExpectedFragNum() local
304 return expectedFragNum == fragNum; in isExpectedFragNum()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java3880 int fragNum = 1; in testCreateIkeLocalIkeAuthHandlesFirstFrag() local
3883 IkeTestUtils.makeDummySkfPayload(unencryptedData, fragNum, totalFragments); in testCreateIkeLocalIkeAuthHandlesFirstFrag()
3906 assertArrayEquals(unencryptedData, resultPartial.collectedFragsList[fragNum - 1]); in testCreateIkeLocalIkeAuthHandlesFirstFrag()
4405 int fragNum = 1; in testRekeyIkeLocalDeleteWithRequestFragOnNewSa() local
4408 IkeTestUtils.makeDummySkfPayload(unencryptedData, fragNum, totalFragments); in testRekeyIkeLocalDeleteWithRequestFragOnNewSa()
4430 assertArrayEquals(unencryptedData, resultPartial.collectedFragsList[fragNum - 1]); in testRekeyIkeLocalDeleteWithRequestFragOnNewSa()