Home
last modified time | relevance | path

Searched refs:isResp (Results 1 – 10 of 10) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java365 boolean isResp, in makeDummyReceivedIkeInitRespPacket() argument
372 hexStrListToIkePayloadList(payloadTypeList, payloadHexStringList, isResp); in makeDummyReceivedIkeInitRespPacket()
385 initiatorSpi, responderSpi, eType, isResp, fromIkeInit, payloadList); in makeDummyReceivedIkeInitRespPacket()
392 boolean isResp, in makeDummyUnencryptedReceivedIkePacket() argument
401 isResp, in makeDummyUnencryptedReceivedIkePacket()
418 boolean isResp, in makeDummyEncryptedReceivedIkePacket() argument
423 hexStrListToIkePayloadList(payloadTypeList, payloadHexStringList, isResp); in makeDummyEncryptedReceivedIkePacket()
425 ikeSaRecord, eType, isResp, payloadList); in makeDummyEncryptedReceivedIkePacket()
431 boolean isResp, in makeDummyEncryptedReceivedIkePacketWithPayloadList() argument
437 isResp, in makeDummyEncryptedReceivedIkePacketWithPayloadList()
[all …]
DChildSessionStateMachineTest.java726 private void verifyOutboundDeletePayload(int expectedSpi, boolean isResp) { in verifyOutboundDeletePayload() argument
730 eq(isResp), in verifyOutboundDeletePayload()
897 private void verifyOutboundRekeySaPayload(List<IkePayload> outboundPayloads, boolean isResp) { in verifyOutboundRekeySaPayload() argument
901 assertEquals(isResp, saPayload.isSaResponse); in verifyOutboundRekeySaPayload()
1854 private void verifyOutboundRekeyKePayload(boolean isResp) { in verifyOutboundRekeyKePayload() argument
1858 eq(isResp), in verifyOutboundRekeyKePayload()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkePayloadFactory.java60 int payloadType, boolean isCritical, boolean isResp, byte[] payloadBody) in decodeIkePayload() argument
64 return new IkeSaPayload(isCritical, isResp, payloadBody); in decodeIkePayload()
138 int payloadType, boolean isResp, ByteBuffer input) throws IkeProtocolException { in getIkePayload() argument
158 sDecoderInstance.decodeIkePayload(payloadType, isCritical, isResp, payloadBody); in getIkePayload()
232 int payloadType, boolean isCritical, boolean isResp, byte[] payloadBody) in decodeIkePayload() argument
DIkeSaPayload.java74 IkeSaPayload(boolean critical, boolean isResp, byte[] payloadBody) throws IkeProtocolException { in IkeSaPayload() argument
89 if (isResp && proposalList.size() != 1) { in IkeSaPayload()
94 isSaResponse = isResp; in IkeSaPayload()
112 boolean isResp, in IkeSaPayload() argument
118 this(isResp, spiSize, localAddress); in IkeSaPayload()
120 if (saProposals.length < 1 || isResp && (saProposals.length > 1)) { in IkeSaPayload()
141 boolean isResp, in IkeSaPayload() argument
148 this(isResp, spiSize, localAddress); in IkeSaPayload()
161 private IkeSaPayload(boolean isResp, byte spiSize, InetAddress localAddress) in IkeSaPayload() argument
166 isSaResponse = isResp; in IkeSaPayload()
[all …]
DIkeHeader.java110 boolean isResp, in IkeHeader() argument
117 isResponseMsg = isResp; in IkeHeader()
DIkeMessage.java149 @PayloadType int firstPayloadType, boolean isResp, byte[] unencryptedPayloads) in decodePayloadList() argument
166 IkePayloadFactory.getIkePayload(currentPayloadType, isResp, inputBuffer); in decodePayloadList()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java863 public DecodeResultPartial getCollectedFragments(boolean isResp) { in getCollectedFragments() argument
864 return isResp ? mCollectedRespFragments : mCollectedReqFragments; in getCollectedFragments()
876 DecodeResultPartial updatedFragments, boolean isResp) { in updateCollectedFragments() argument
877 if (isResp) { in updateCollectedFragments()
885 public void resetCollectedFragments(boolean isResp) { in resetCollectedFragments() argument
886 updateCollectedFragments(null, isResp); in resetCollectedFragments()
DChildSessionStateMachine.java315 boolean isResp, in onOutboundPayloadsReady() argument
1138 protected void sendDeleteChild(ChildSaRecord childSaRecord, boolean isResp) { in sendDeleteChild() argument
1144 isResp, in sendDeleteChild()
2318 boolean isResp, in validatePayloadAndExchangeType() argument
2369 if (isResp in validatePayloadAndExchangeType()
2386 if (isResp in validatePayloadAndExchangeType()
2432 boolean isResp, in validateKePayloads() argument
2449 if (isResp) { in validateKePayloads()
2457 } else if (!expectKePayload && kePayload != null && isResp) { in validateKePayloads()
DIkeSessionStateMachine.java840 public final boolean isResp; field in IkeSessionStateMachine.ChildOutboundData
846 boolean isResp, in ChildOutboundData() argument
850 this.isResp = isResp; in ChildOutboundData()
877 boolean isResp, in onOutboundPayloadsReady() argument
882 new ChildOutboundData(exchangeType, isResp, payloadList, childSession)); in onOutboundPayloadsReady()
2213 if (outboundData.isResp) { in processStateMessage()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeTestUtils.java43 @IkePayload.PayloadType int payloadType, boolean isResp, String payloadHexString) in hexStringToIkePayload() argument
48 IkePayloadFactory.getIkePayload(payloadType, isResp, ByteBuffer.wrap(payloadBytes)); in hexStringToIkePayload()