/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachineTest.java | 365 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 …]
|
D | ChildSessionStateMachineTest.java | 726 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/ |
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 | 74 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 …]
|
D | IkeHeader.java | 110 boolean isResp, in IkeHeader() argument 117 isResponseMsg = isResp; in IkeHeader()
|
D | IkeMessage.java | 149 @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/ |
D | SaRecord.java | 863 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()
|
D | ChildSessionStateMachine.java | 315 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()
|
D | IkeSessionStateMachine.java | 840 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/ |
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()
|