Home
last modified time | relevance | path

Searched refs:payloadList (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkePayload.java178 List<T> payloadList = new LinkedList<>(); in getPayloadListForTypeInProvidedList() local
182 payloadList.add(payloadClass.cast(payload)); in getPayloadListForTypeInProvidedList()
186 return payloadList; in getPayloadListForTypeInProvidedList()
206 List<T> payloadList = in getPayloadForTypeInProvidedList() local
208 return payloadList.isEmpty() ? null : payloadList.get(0); in getPayloadForTypeInProvidedList()
DIkeMessage.java88 public IkeMessage(IkeHeader header, List<IkePayload> payloadList) { in IkeMessage() argument
90 ikePayloadList = payloadList; in IkeMessage()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java371 List<IkePayload> payloadList = in makeDummyReceivedIkeInitRespPacket() local
383 payloadList.add(sourceNatPayload); in makeDummyReceivedIkeInitRespPacket()
385 initiatorSpi, responderSpi, eType, isResp, fromIkeInit, payloadList); in makeDummyReceivedIkeInitRespPacket()
394 List<IkePayload> payloadList) in makeDummyUnencryptedReceivedIkePacket() argument
405 payloadList); in makeDummyUnencryptedReceivedIkePacket()
422 List<IkePayload> payloadList = in makeDummyEncryptedReceivedIkePacket() local
425 ikeSaRecord, eType, isResp, payloadList); in makeDummyEncryptedReceivedIkePacket()
432 List<IkePayload> payloadList) in makeDummyEncryptedReceivedIkePacketWithPayloadList() argument
441 payloadList, in makeDummyEncryptedReceivedIkePacketWithPayloadList()
450 List<IkePayload> payloadList, in makeDummyEncryptedReceivedIkePacketWithPayloadList() argument
[all …]
DChildSessionStateMachineTest.java1724 List<IkePayload> payloadList = new LinkedList<>(); in testValidateExpectKeExistCase() local
1725 payloadList.add( in testValidateExpectKeExistCase()
1729 payloadList, true /*isResp*/, mMockNegotiatedProposal); in testValidateExpectKeExistCase()
1731 payloadList, false /*isResp*/, mMockNegotiatedProposal); in testValidateExpectKeExistCase()
1737 List<IkePayload> payloadList = new LinkedList<>(); in testValidateExpectNoKeExistCase() local
1740 payloadList, true /*isResp*/, mMockNegotiatedProposal); in testValidateExpectNoKeExistCase()
1742 payloadList, false /*isResp*/, mMockNegotiatedProposal); in testValidateExpectNoKeExistCase()
1750 List<IkePayload> payloadList = new LinkedList<>(); in testThrowWhenKeMissing() local
1754 payloadList, true /*isResp*/, mMockNegotiatedProposal); in testThrowWhenKeMissing()
1761 payloadList, false /*isResp*/, mMockNegotiatedProposal); in testThrowWhenKeMissing()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java841 public final List<IkePayload> payloadList; field in IkeSessionStateMachine.ChildOutboundData
847 List<IkePayload> payloadList, in ChildOutboundData() argument
851 this.payloadList = payloadList; in ChildOutboundData()
878 List<IkePayload> payloadList, in onOutboundPayloadsReady() argument
882 new ChildOutboundData(exchangeType, isResp, payloadList, childSession)); in onOutboundPayloadsReady()
2069 List<IkePayload> payloadList = in handleRequestIkeMessage() local
2088 IkeMessage responseIkeMessage = new IkeMessage(ikeHeader, payloadList); in handleRequestIkeMessage()
2211 List<IkePayload> outboundPayloads = outboundData.payloadList; in processStateMessage()
2807 List<IkePayload> payloadList = in buildIkeInitReq() local
2818 payloadList.add( in buildIkeInitReq()
[all …]
DChildSessionStateMachine.java316 List<IkePayload> payloadList, in onOutboundPayloadsReady() argument
447 List<IkePayload> payloadList) { in receiveRequest() argument
450 new ReceivedRequest(exchangeSubtype, exchangeType, payloadList)); in receiveRequest()
463 public void receiveResponse(@ExchangeType int exchangeType, List<IkePayload> payloadList) { in receiveResponse() argument
466 CMD_HANDLE_RECEIVED_RESPONSE, new ReceivedResponse(exchangeType, payloadList)); in receiveResponse()
471 int spi = registerProvisionalChildAndGetSpi(payloadList); in receiveResponse()
474 new ReceivedCreateResponse(exchangeType, payloadList, spi)); in receiveResponse()
1966 List<IkePayload> payloadList = in getInitChildCreateReqPayloads() local
1976 return payloadList; in getInitChildCreateReqPayloads()
2055 List<IkePayload> payloadList = new ArrayList<>(5); in getChildCreatePayloads() local
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/exceptions/
DUnsupportedCriticalPayloadException.java47 public UnsupportedCriticalPayloadException(List<Integer> payloadList) { in UnsupportedCriticalPayloadException() argument
50 integerToByteArray(payloadList.get(0), EXPECTED_ERROR_DATA_LEN)); in UnsupportedCriticalPayloadException()
51 payloadTypeList = payloadList; in UnsupportedCriticalPayloadException()