Home
last modified time | relevance | path

Searched refs:saPayload (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java706 IkeSaPayload saPayload =
710 assertTrue(saPayload.isSaResponse);
711 assertEquals(1, saPayload.proposalList.size());
713 IkeProposal proposal = (IkeProposal) saPayload.proposalList.get(0);
723 IkeSaPayload saPayload = IkeSaPayload.createInitialIkeSaPayload(mTwoIkeSaProposalsArray);
725 assertFalse(saPayload.isSaResponse);
726 assertEquals(PROPOSAL_NUMBER_LIST.length, saPayload.proposalList.size());
728 for (int i = 0; i < saPayload.proposalList.size(); i++) {
729 IkeProposal proposal = (IkeProposal) saPayload.proposalList.get(i);
742 IkeSaPayload saPayload =
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java1074 IkeSaPayload saPayload = in verifyOutboundRekeySaPayload() local
1077 assertEquals(isResp, saPayload.isSaResponse); in verifyOutboundRekeySaPayload()
1078 assertEquals(1, saPayload.proposalList.size()); in verifyOutboundRekeySaPayload()
1081 (IkeSaPayload.ChildProposal) saPayload.proposalList.get(0); in verifyOutboundRekeySaPayload()
1124 IkeSaPayload saPayload = in makeInboundRekeyChildPayloads() local
1129 return makeInboundRekeyChildPayloads(remoteSpi, saPayload, isLocalInitRekey); in makeInboundRekeyChildPayloads()
1133 int remoteSpi, IkeSaPayload saPayload, boolean isLocalInitRekey) throws Exception { in makeInboundRekeyChildPayloads() argument
1136 inboundPayloads.add(saPayload); in makeInboundRekeyChildPayloads()
2288 IkeSaPayload saPayload = in verifyRemoteRekeyWithKePayload() local
2295 REMOTE_INIT_NEW_CHILD_SA_SPI_OUT, saPayload, false /*isLocalInitRekey*/); in verifyRemoteRekeyWithKePayload()
[all …]
DIkeSessionStateMachineTest.java1342 IkeSaPayload saPayload = in makeRekeyIkeRequest() local
1348 return makeRekeyIkeRequest(saPayload); in makeRekeyIkeRequest()
1352 IkeSaPayload saPayload = in makeRekeyIkeRequestWithUnacceptableProposal() local
1358 return makeRekeyIkeRequest(saPayload); in makeRekeyIkeRequestWithUnacceptableProposal()
1370 private ReceivedIkePacket makeRekeyIkeRequest(IkeSaPayload saPayload) throws Exception { in makeRekeyIkeRequest() argument
1382 payloadList.add(saPayload); in makeRekeyIkeRequest()
4015 IkeSaPayload saPayload = in testRekeyIkeLocalCreateSendsRequest() local
4017 assertFalse(saPayload.isSaResponse); in testRekeyIkeLocalCreateSendsRequest()
4018 assertEquals(1, saPayload.proposalList.size()); in testRekeyIkeLocalCreateSendsRequest()
4021 (IkeSaPayload.IkeProposal) saPayload.proposalList.get(0); in testRekeyIkeLocalCreateSendsRequest()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java599 IkeSaPayload saPayload = in registerProvisionalChildAndGetSpi() local
603 if (saPayload == null) return SPI_NOT_REGISTERED; in registerProvisionalChildAndGetSpi()
607 int remoteGenSpi = (int) (saPayload.proposalList.get(0).spi); in registerProvisionalChildAndGetSpi()
2335 IkeSaPayload saPayload, in getChildCreatePayloads() argument
2344 payloadList.add(saPayload); in getChildCreatePayloads()
2353 ((ChildProposal) saPayload.proposalList.get(0)) in getChildCreatePayloads()
2472 IkeSaPayload saPayload = in releaseSpiResources() local
2475 if (saPayload != null) { in releaseSpiResources()
2476 saPayload.releaseChildSpiResourcesIfExists(); in releaseSpiResources()
DIkeSessionStateMachine.java6183 int selectedDhGroup, IkeSaPayload saPayload, RandomnessFactory randomFactory) in getCreateIkeSaPayloads() argument
6185 if (saPayload.proposalList.size() == 0) { in getCreateIkeSaPayloads()
6198 payloadList.add(saPayload); in getCreateIkeSaPayloads()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java431 IkeSaPayload saPayload = in getIkeExchangeSubType() local
433 if (saPayload == null) { in getIkeExchangeSubType()
440 if (saPayload.proposalList.get(0).protocolId == IkePayload.PROTOCOL_ID_IKE) { in getIkeExchangeSubType()