Home
last modified time | relevance | path

Searched refs:ikePayloadList (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java81 public final List<IkePayload> ikePayloadList; field in IkeMessage
90 ikePayloadList = payloadList; in IkeMessage()
246 for (IkePayload payload : ikePayloadList) { in encodePayloads()
253 if (ikePayloadList.isEmpty()) return new byte[0]; in encodePayloads()
256 for (int i = 0; i < ikePayloadList.size() - 1; i++) { in encodePayloads()
257 ikePayloadList in encodePayloads()
259 .encodeToByteBuffer(ikePayloadList.get(i + 1).payloadType, byteBuffer); in encodePayloads()
261 ikePayloadList in encodePayloads()
262 .get(ikePayloadList.size() - 1) in encodePayloads()
299 payloadType, payloadClass, ikePayloadList); in getPayloadListForType()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java1393 List<IkePayload> payloadList = ikeInitReqMessage.ikePayloadList; in disableTestCreateIkeLocalIkeInit()
1604 assertTrue(createChildRequest.ikePayloadList.isEmpty()); in testCreateAdditionalChild()
1759 return deleteChildMessage.ikePayloadList; in verifyOutInfoMsgHeaderAndGetPayloads()
1969 List<IkePayload> ikePayloadList = verifyOutInfoMsgHeaderAndGetPayloads(true /*isResp*/); in testRemoteCreateChild() local
1970 assertEquals(1, ikePayloadList.size()); in testRemoteCreateChild()
1973 ((IkeNotifyPayload) ikePayloadList.get(0)).notifyType); in testRemoteCreateChild()
2010 List<IkePayload> ikePayloadList = verifyOutInfoMsgHeaderAndGetPayloads(true /*isResp*/); in testHandleRekeyChildReqWithUnrecognizedSpi() local
2011 assertEquals(1, ikePayloadList.size()); in testHandleRekeyChildReqWithUnrecognizedSpi()
2012 IkeNotifyPayload notifyPayload = (IkeNotifyPayload) ikePayloadList.get(0); in testHandleRekeyChildReqWithUnrecognizedSpi()
2037 List<IkePayload> ikePayloadList = verifyOutInfoMsgHeaderAndGetPayloads(true /*isResp*/); in testRcvRemoteDeleteIkeWhenChildProcedureOngoing() local
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java314 assertEquals(EXPECTED_IKE_INIT_PAYLOAD_LIST.length, message.ikePayloadList.size()); in testDecodeIkeMessage()
317 EXPECTED_IKE_INIT_PAYLOAD_LIST[i], message.ikePayloadList.get(i).payloadType); in testDecodeIkeMessage()
332 assertEquals(EXPECTED_IKE_INIT_PAYLOAD_LIST.length - 1, message.ikePayloadList.size()); in testDecodeMessageWithUnsupportedUncriticalPayload()
336 message.ikePayloadList.get(i).payloadType); in testDecodeMessageWithUnsupportedUncriticalPayload()
393 assertEquals(IKE_AUTH_PAYLOAD_SIZE, ikeMessage.ikePayloadList.size()); in testDecodeEncryptedMessage()
724 assertEquals(2, resultOk.ikeMessage.ikePayloadList.size()); in testRcvLastArrivedFrag()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java2014 if (!resp.ikePayloadList.isEmpty()) { in validateIkeDeleteResp()
2404 for (IkePayload payload : ikeMessage.ikePayloadList) { in handleResponseIkeMessage()
2423 payloads.addAll(ikeMessage.ikePayloadList); in handleResponseIkeMessage()
2446 for (IkePayload payload : ikeMessage.ikePayloadList) { in handleInboundDeleteChildRequest()
2518 for (IkePayload payload : ikeMessage.ikePayloadList) { in handleInboundRekeyChildRequest()
2583 payloads.addAll(ikeMessage.ikePayloadList); in handleInboundRekeyChildRequest()
2873 for (IkePayload payload : respMsg.ikePayloadList) { in validateIkeInitResp()
3136 for (IkePayload payload : ikeMessage.ikePayloadList) { in extractChildPayloadsFromMessage()
3370 for (IkePayload payload : authResp.ikePayloadList) { in validateIkeAuthResp()
3600 for (IkePayload payload : ikeMessage.ikePayloadList) { in handleResponseIkeMessage()
[all …]