Home
last modified time | relevance | path

Searched refs:fragNum (Results 1 – 5 of 5) 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.java504 int fragNum = i + 1; // 1-based in encryptAndEncode() local
517 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.java270 private byte[] makeFragmentBytes(int fragNum, int totalFragments) { in makeFragmentBytes() argument
275 byteBuffer.putShort((short) fragNum).putShort((short) totalFragments); in makeFragmentBytes()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java2918 int fragNum = 1; in testCreateIkeLocalIkeAuthHandlesFirstFrag() local
2921 IkeTestUtils.makeDummySkfPayload(unencryptedData, fragNum, totalFragments); in testCreateIkeLocalIkeAuthHandlesFirstFrag()
2944 assertArrayEquals(unencryptedData, resultPartial.collectedFragsList[fragNum - 1]); in testCreateIkeLocalIkeAuthHandlesFirstFrag()
3420 int fragNum = 1; in testRekeyIkeLocalDeleteWithRequestFragOnNewSa() local
3423 IkeTestUtils.makeDummySkfPayload(unencryptedData, fragNum, totalFragments); in testRekeyIkeLocalDeleteWithRequestFragOnNewSa()
3445 assertArrayEquals(unencryptedData, resultPartial.collectedFragsList[fragNum - 1]); in testRekeyIkeLocalDeleteWithRequestFragOnNewSa()