Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java65 public final List<Proposal> proposalList; field in IkeSaPayload
78 proposalList = new LinkedList<>(); in IkeSaPayload()
81 proposalList.add(proposal); in IkeSaPayload()
84 if (proposalList.isEmpty()) { in IkeSaPayload()
89 if (isResp && proposalList.size() != 1) { in IkeSaPayload()
96 boolean firstIsIkeProposal = (proposalList.get(0).protocolId == PROTOCOL_ID_IKE); in IkeSaPayload()
97 for (int i = 1; i < proposalList.size(); i++) { in IkeSaPayload()
98 boolean isIkeProposal = (proposalList.get(i).protocolId == PROTOCOL_ID_IKE); in IkeSaPayload()
126 proposalList.add( in IkeSaPayload()
150 proposalList.add( in IkeSaPayload()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java655 assertEquals(PROPOSAL_NUMBER_LIST.length, payload.proposalList.size());
656 for (int i = 0; i < payload.proposalList.size(); i++) {
657 Proposal proposal = payload.proposalList.get(i);
702 assertEquals(1, saPayload.proposalList.size());
704 IkeProposal proposal = (IkeProposal) saPayload.proposalList.get(0);
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);
738 assertEquals(PROPOSAL_NUMBER_LIST.length, saPayload.proposalList.size());
741 for (int i = 0; i < saPayload.proposalList.size(); i++) {
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java510 int remoteGenSpi = (int) (saPayload.proposalList.get(0).spi); in registerProvisionalChildAndGetSpi()
2066 ((ChildProposal) saPayload.proposalList.get(0)) in getChildCreatePayloads()
DIkeSessionStateMachine.java1323 if (saPayload.proposalList.get(0).protocolId == IkePayload.PROTOCOL_ID_IKE) { in getIkeExchangeSubType()
4787 if (saPayload.proposalList.size() == 0) { in getCreateIkeSaPayloads()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java902 assertEquals(1, saPayload.proposalList.size()); in verifyOutboundRekeySaPayload()
905 (IkeSaPayload.ChildProposal) saPayload.proposalList.get(0); in verifyOutboundRekeySaPayload()
DIkeSessionStateMachineTest.java3055 assertEquals(1, saPayload.proposalList.size()); in testRekeyIkeLocalCreateSendsRequest()
3058 (IkeSaPayload.IkeProposal) saPayload.proposalList.get(0); in testRekeyIkeLocalCreateSendsRequest()