Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeHeader.java80 @ExchangeType public final int exchangeType; field in IkeHeader
116 exchangeType = eType; in IkeHeader()
149 exchangeType = Byte.toUnsignedInt(buffer.get()); in IkeHeader()
168 exchangeType, in makeSkfHeaderFromSkHeader()
206 if (exchangeType < EXCHANGE_TYPE_IKE_SA_INIT in validateInboundHeader()
207 || exchangeType > EXCHANGE_TYPE_INFORMATIONAL) { in validateInboundHeader()
222 .put((byte) exchangeType); in encodeToByteBuffer()
237 String exchangeStr = EXCHANGE_TYPE_TO_STRING.get(exchangeType); in getBasicInfoString()
238 if (exchangeStr == null) exchangeStr = "Unknown exchange (" + exchangeType + ")"; in getBasicInfoString()
DIkeMessage.java334 && ikeHeader.exchangeType == IkeHeader.EXCHANGE_TYPE_INFORMATIONAL in isDpdRequest()
746 if (fragIkeHeader.exchangeType != collectedFragments.ikeHeader.exchangeType) { in validateFragmentHeader()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java314 @ExchangeType int exchangeType, in onOutboundPayloadsReady()
446 @ExchangeType int exchangeType, 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()
474 new ReceivedCreateResponse(exchangeType, payloadList, spi)); in receiveResponse()
542 @ExchangeType public final int exchangeType; field in ChildSessionStateMachine.ReceivedRequest
550 exchangeType = eType; in ReceivedRequest()
560 @ExchangeType public final int exchangeType; field in ChildSessionStateMachine.ReceivedResponse
564 exchangeType = eType; in ReceivedResponse()
[all …]
DIkeSessionStateMachine.java839 @ExchangeType public final int exchangeType; field in IkeSessionStateMachine.ChildOutboundData
845 @ExchangeType int exchangeType, in ChildOutboundData()
849 this.exchangeType = exchangeType; in ChildOutboundData()
876 @ExchangeType int exchangeType, in onOutboundPayloadsReady()
882 new ChildOutboundData(exchangeType, isResp, payloadList, childSession)); in onOutboundPayloadsReady()
1300 switch (ikeHeader.exchangeType) { in getIkeExchangeSubType()
1361 + ikeHeader.exchangeType); in getIkeExchangeSubType()
1439 @ExchangeType int exchangeType, in buildEncryptedNotificationMessage() argument
1447 exchangeType, in buildEncryptedNotificationMessage()
2008 if (resp.ikeHeader.exchangeType != IkeHeader.EXCHANGE_TYPE_INFORMATIONAL) { in validateIkeDeleteResp()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java1389 assertEquals(IkeHeader.EXCHANGE_TYPE_IKE_SA_INIT, ikeHeader.exchangeType); in disableTestCreateIkeLocalIkeInit()
1600 assertEquals(IkeHeader.EXCHANGE_TYPE_CREATE_CHILD_SA, ikeHeader.exchangeType); in testCreateAdditionalChild()
1755 assertEquals(IkeHeader.EXCHANGE_TYPE_INFORMATIONAL, ikeHeader.exchangeType); in verifyOutInfoMsgHeaderAndGetPayloads()
2085 assertEquals(IkeHeader.EXCHANGE_TYPE_IKE_AUTH, ikeHeader.exchangeType); in verifyAuthReqAndGetMsg()
2389 && msg.ikeHeader.exchangeType in verifyEmptyInformationalSent()
2759 assertEquals(IkeHeader.EXCHANGE_TYPE_IKE_AUTH, ikeHeader.exchangeType); in testCreateIkeLocalIkeAuthInEapHandlesOutboundResponse()
3046 assertEquals(IkeHeader.EXCHANGE_TYPE_CREATE_CHILD_SA, ikeHeader.exchangeType); in testRekeyIkeLocalCreateSendsRequest()
3322 assertEquals(IkeHeader.EXCHANGE_TYPE_INFORMATIONAL, ikeHeader.exchangeType); in testRekeyIkeLocalDeleteSendsRequest()
3498 assertEquals(IkeHeader.EXCHANGE_TYPE_CREATE_CHILD_SA, rekeyCreateRespHeader.exchangeType); in testRekeyIkeRemoteCreate()
3583 assertEquals(IkeHeader.EXCHANGE_TYPE_INFORMATIONAL, rekeyDeleteRespHeader.exchangeType); in testRekeyIkeRemoteDelete()
[all …]
DChildSessionStateMachineTest.java1435 private void verifyOutboundErrorNotify(int exchangeType, int errorCode) { in verifyOutboundErrorNotify() argument
1438 eq(exchangeType), in verifyOutboundErrorNotify()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeHeaderTest.java89 assertEquals(IKE_EXCHANGE_TYPE, header.exchangeType); in testDecodeIkeHeader()