/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkePayloadFactory.java | 60 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
|
D | IkeSaPayload.java | 76 IkeSaPayload(boolean critical, boolean isResp, byte[] payloadBody) throws IkeProtocolException { in IkeSaPayload() argument 91 if (isResp && proposalList.size() != 1) { in IkeSaPayload() 96 isSaResponse = isResp; in IkeSaPayload() 114 boolean isResp, in IkeSaPayload() argument 120 this(isResp, spiSize, localAddress); in IkeSaPayload() 122 if (saProposals.length < 1 || isResp && (saProposals.length > 1)) { in IkeSaPayload() 143 boolean isResp, in IkeSaPayload() argument 150 this(isResp, spiSize, localAddress); in IkeSaPayload() 163 private IkeSaPayload(boolean isResp, byte spiSize, InetAddress localAddress) in IkeSaPayload() argument 168 isSaResponse = isResp; in IkeSaPayload() [all …]
|
D | IkeHeader.java | 110 boolean isResp, in IkeHeader() argument 117 isResponseMsg = isResp; in IkeHeader()
|
D | IkeMessage.java | 194 @PayloadType int firstPayloadType, boolean isResp, byte[] unencryptedPayloads) in decodePayloadList() argument 211 IkePayloadFactory.getIkePayload(currentPayloadType, isResp, inputBuffer); in decodePayloadList()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeTestUtils.java | 43 @IkePayload.PayloadType int payloadType, boolean isResp, String payloadHexString) in hexStringToIkePayload() argument 48 IkePayloadFactory.getIkePayload(payloadType, isResp, ByteBuffer.wrap(payloadBytes)); in hexStringToIkePayload()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachineTest.java | 500 boolean isResp, in makeDummyUnencryptedReceivedIkePacket() argument 509 isResp, in makeDummyUnencryptedReceivedIkePacket() 526 boolean isResp, in makeDummyEncryptedReceivedIkePacket() argument 531 hexStrListToIkePayloadList(payloadTypeList, payloadHexStringList, isResp); in makeDummyEncryptedReceivedIkePacket() 533 ikeSaRecord, eType, isResp, payloadList); in makeDummyEncryptedReceivedIkePacket() 539 boolean isResp, in makeDummyEncryptedReceivedIkePacketWithPayloadList() argument 545 isResp, in makeDummyEncryptedReceivedIkePacketWithPayloadList() 546 isResp in makeDummyEncryptedReceivedIkePacketWithPayloadList() 556 boolean isResp, in makeDummyEncryptedReceivedIkePacketWithPayloadList() argument 567 isResp, in makeDummyEncryptedReceivedIkePacketWithPayloadList() [all …]
|
D | ChildSessionStateMachineTest.java | 854 private void verifyOutboundDeletePayload(int expectedSpi, boolean isResp) { in verifyOutboundDeletePayload() argument 858 eq(isResp), in verifyOutboundDeletePayload() 1073 private void verifyOutboundRekeySaPayload(List<IkePayload> outboundPayloads, boolean isResp) { in verifyOutboundRekeySaPayload() argument 1077 assertEquals(isResp, saPayload.isSaResponse); in verifyOutboundRekeySaPayload() 2211 private void verifyOutboundRekeyKePayload(boolean isResp) { in verifyOutboundRekeyKePayload() argument 2215 eq(isResp), in verifyOutboundRekeyKePayload()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | SaRecord.java | 872 public DecodeResultPartial getCollectedFragments(boolean isResp) { in getCollectedFragments() argument 873 return isResp ? mCollectedRespFragments : mCollectedReqFragments; in getCollectedFragments() 885 DecodeResultPartial updatedFragments, boolean isResp) { in updateCollectedFragments() argument 886 if (isResp) { in updateCollectedFragments() 894 public void resetCollectedFragments(boolean isResp) { in resetCollectedFragments() argument 895 updateCollectedFragments(null, isResp); in resetCollectedFragments()
|
D | ChildSessionStateMachine.java | 328 boolean isResp, in onOutboundPayloadsReady() argument 1329 protected void sendDeleteChild(ChildSaRecord childSaRecord, boolean isResp) { in sendDeleteChild() argument 1335 isResp, in sendDeleteChild() 2609 boolean isResp, in validatePayloadAndExchangeType() argument 2660 if (isResp in validatePayloadAndExchangeType() 2677 if (isResp in validatePayloadAndExchangeType() 2723 boolean isResp, in validateKePayloads() argument 2740 if (isResp) { in validateKePayloads() 2748 } else if (!expectKePayload && kePayload != null && isResp) { in validateKePayloads()
|
D | IkeSessionStateMachine.java | 1127 public final boolean isResp; field in IkeSessionStateMachine.ChildOutboundData 1133 boolean isResp, in ChildOutboundData() argument 1137 this.isResp = isResp; in ChildOutboundData() 1164 boolean isResp, in onOutboundPayloadsReady() argument 1169 new ChildOutboundData(exchangeType, isResp, payloadList, childSession)); in onOutboundPayloadsReady() 2739 if (outboundData.isResp) { in processStateMessage()
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | IkeTunUtils.java | 269 boolean isResp = ((flagsByte & RSP_FLAG_MASK) != 0); in isExpectedSpiAndMsgId() 270 if (expectedResp != isResp) { in isExpectedSpiAndMsgId()
|