Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java67 public final List<Proposal> proposalList; field in IkeSaPayload
80 proposalList = new LinkedList<>(); in IkeSaPayload()
83 proposalList.add(proposal); in IkeSaPayload()
86 if (proposalList.isEmpty()) { in IkeSaPayload()
91 if (isResp && proposalList.size() != 1) { in IkeSaPayload()
98 boolean firstIsIkeProposal = (proposalList.get(0).protocolId == PROTOCOL_ID_IKE); in IkeSaPayload()
99 for (int i = 1; i < proposalList.size(); i++) { in IkeSaPayload()
100 boolean isIkeProposal = (proposalList.get(i).protocolId == PROTOCOL_ID_IKE); in IkeSaPayload()
128 proposalList.add( in IkeSaPayload()
152 proposalList.add( in IkeSaPayload()
[all …]
DIkeMessage.java440 if (saPayload.proposalList.get(0).protocolId == IkePayload.PROTOCOL_ID_IKE) { in getIkeExchangeSubType()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java664 assertEquals(PROPOSAL_NUMBER_LIST.length, payload.proposalList.size());
665 for (int i = 0; i < payload.proposalList.size(); i++) {
666 Proposal proposal = payload.proposalList.get(i);
711 assertEquals(1, saPayload.proposalList.size());
713 IkeProposal proposal = (IkeProposal) saPayload.proposalList.get(0);
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);
747 assertEquals(PROPOSAL_NUMBER_LIST.length, saPayload.proposalList.size());
750 for (int i = 0; i < saPayload.proposalList.size(); i++) {
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java607 int remoteGenSpi = (int) (saPayload.proposalList.get(0).spi); in registerProvisionalChildAndGetSpi()
2353 ((ChildProposal) saPayload.proposalList.get(0)) in getChildCreatePayloads()
DIkeSessionStateMachine.java6185 if (saPayload.proposalList.size() == 0) { in getCreateIkeSaPayloads()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java1078 assertEquals(1, saPayload.proposalList.size()); in verifyOutboundRekeySaPayload()
1081 (IkeSaPayload.ChildProposal) saPayload.proposalList.get(0); in verifyOutboundRekeySaPayload()
DIkeSessionStateMachineTest.java4018 assertEquals(1, saPayload.proposalList.size()); in testRekeyIkeLocalCreateSendsRequest()
4021 (IkeSaPayload.IkeProposal) saPayload.proposalList.get(0); in testRekeyIkeLocalCreateSendsRequest()