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/ |
D | IkeSaPayloadTest.java | 706 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/ |
D | ChildSessionStateMachineTest.java | 1074 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 …]
|
D | IkeSessionStateMachineTest.java | 1342 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/ |
D | ChildSessionStateMachine.java | 599 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()
|
D | IkeSessionStateMachine.java | 6183 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/ |
D | IkeMessage.java | 431 IkeSaPayload saPayload = in getIkeExchangeSubType() local 433 if (saPayload == null) { in getIkeExchangeSubType() 440 if (saPayload.proposalList.get(0).protocolId == IkePayload.PROTOCOL_ID_IKE) { in getIkeExchangeSubType()
|