Searched refs:saPayload (Results 1 – 5 of 5) sorted by relevance
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSaPayloadTest.java | 697 IkeSaPayload saPayload = 701 assertTrue(saPayload.isSaResponse); 702 assertEquals(1, saPayload.proposalList.size()); 704 IkeProposal proposal = (IkeProposal) saPayload.proposalList.get(0); 714 IkeSaPayload saPayload = IkeSaPayload.createInitialIkeSaPayload(mTwoIkeSaProposalsArray); 716 assertFalse(saPayload.isSaResponse); 717 assertEquals(PROPOSAL_NUMBER_LIST.length, saPayload.proposalList.size()); 719 for (int i = 0; i < saPayload.proposalList.size(); i++) { 720 IkeProposal proposal = (IkeProposal) saPayload.proposalList.get(i); 733 IkeSaPayload saPayload = [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachineTest.java | 898 IkeSaPayload saPayload = in verifyOutboundRekeySaPayload() local 901 assertEquals(isResp, saPayload.isSaResponse); in verifyOutboundRekeySaPayload() 902 assertEquals(1, saPayload.proposalList.size()); in verifyOutboundRekeySaPayload() 905 (IkeSaPayload.ChildProposal) saPayload.proposalList.get(0); in verifyOutboundRekeySaPayload() 950 IkeSaPayload saPayload = in makeInboundRekeyChildPayloads() local 955 return makeInboundRekeyChildPayloads(remoteSpi, saPayload, isLocalInitRekey); in makeInboundRekeyChildPayloads() 959 int remoteSpi, IkeSaPayload saPayload, boolean isLocalInitRekey) throws Exception { in makeInboundRekeyChildPayloads() argument 962 inboundPayloads.add(saPayload); in makeInboundRekeyChildPayloads() 1914 IkeSaPayload saPayload = in testRemoteRekeyWithKePayload() local 1919 REMOTE_INIT_NEW_CHILD_SA_SPI_OUT, saPayload, false /*isLocalInitRekey*/); in testRemoteRekeyWithKePayload()
|
D | IkeSessionStateMachineTest.java | 1047 IkeSaPayload saPayload = in makeRekeyIkeRequest() local 1053 return makeRekeyIkeRequest(saPayload); in makeRekeyIkeRequest() 1057 IkeSaPayload saPayload = in makeRekeyIkeRequestWithUnacceptableProposal() local 1063 return makeRekeyIkeRequest(saPayload); in makeRekeyIkeRequestWithUnacceptableProposal() 1066 private ReceivedIkePacket makeRekeyIkeRequest(IkeSaPayload saPayload) throws Exception { in makeRekeyIkeRequest() argument 1078 payloadList.add(saPayload); in makeRekeyIkeRequest() 3052 IkeSaPayload saPayload = in testRekeyIkeLocalCreateSendsRequest() local 3054 assertFalse(saPayload.isSaResponse); in testRekeyIkeLocalCreateSendsRequest() 3055 assertEquals(1, saPayload.proposalList.size()); in testRekeyIkeLocalCreateSendsRequest() 3058 (IkeSaPayload.IkeProposal) saPayload.proposalList.get(0); in testRekeyIkeLocalCreateSendsRequest()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachine.java | 502 IkeSaPayload saPayload = in registerProvisionalChildAndGetSpi() local 506 if (saPayload == null) return SPI_NOT_REGISTERED; in registerProvisionalChildAndGetSpi() 510 int remoteGenSpi = (int) (saPayload.proposalList.get(0).spi); in registerProvisionalChildAndGetSpi() 2048 IkeSaPayload saPayload, in getChildCreatePayloads() argument 2057 payloadList.add(saPayload); in getChildCreatePayloads() 2066 ((ChildProposal) saPayload.proposalList.get(0)) in getChildCreatePayloads() 2184 IkeSaPayload saPayload = in releaseSpiResources() local 2187 if (saPayload != null) { in releaseSpiResources() 2188 saPayload.releaseChildSpiResourcesIfExists(); in releaseSpiResources()
|
D | IkeSessionStateMachine.java | 1313 IkeSaPayload saPayload = in getIkeExchangeSubType() local 1316 if (saPayload == null) { in getIkeExchangeSubType() 1323 if (saPayload.proposalList.get(0).protocolId == IkePayload.PROTOCOL_ID_IKE) { in getIkeExchangeSubType() 4785 int selectedDhGroup, IkeSaPayload saPayload, RandomnessFactory randomFactory) in getCreateIkeSaPayloads() argument 4787 if (saPayload.proposalList.size() == 0) { in getCreateIkeSaPayloads() 4793 payloadList.add(saPayload); in getCreateIkeSaPayloads()
|