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.java66 public final List<Proposal> proposalList; field in IkeSaPayload
79 proposalList = new LinkedList<>(); in IkeSaPayload()
82 proposalList.add(proposal); in IkeSaPayload()
85 if (proposalList.isEmpty()) { in IkeSaPayload()
90 if (isResp && proposalList.size() != 1) { in IkeSaPayload()
97 boolean firstIsIkeProposal = (proposalList.get(0).protocolId == PROTOCOL_ID_IKE); in IkeSaPayload()
98 for (int i = 1; i < proposalList.size(); i++) { in IkeSaPayload()
99 boolean isIkeProposal = (proposalList.get(i).protocolId == PROTOCOL_ID_IKE); in IkeSaPayload()
127 proposalList.add( in IkeSaPayload()
151 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.java563 int remoteGenSpi = (int) (saPayload.proposalList.get(0).spi); in registerProvisionalChildAndGetSpi()
2164 ((ChildProposal) saPayload.proposalList.get(0)) in getChildCreatePayloads()
DIkeSessionStateMachine.java1548 if (saPayload.proposalList.get(0).protocolId == IkePayload.PROTOCOL_ID_IKE) { in getIkeExchangeSubType()
5585 if (saPayload.proposalList.size() == 0) { in getCreateIkeSaPayloads()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java993 assertEquals(1, saPayload.proposalList.size()); in verifyOutboundRekeySaPayload()
996 (IkeSaPayload.ChildProposal) saPayload.proposalList.get(0); in verifyOutboundRekeySaPayload()
DIkeSessionStateMachineTest.java3624 assertEquals(1, saPayload.proposalList.size()); in testRekeyIkeLocalCreateSendsRequest()
3627 (IkeSaPayload.IkeProposal) saPayload.proposalList.get(0); in testRekeyIkeLocalCreateSendsRequest()