Home
last modified time | relevance | path

Searched refs:sessionParams (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java127 private void verifyIkeParamsWithSeverIpAndDefaultValues(IkeSessionParams sessionParams) { in verifyIkeParamsWithSeverIpAndDefaultValues() argument
128 verifyIkeSessionParamsCommon(sessionParams); in verifyIkeParamsWithSeverIpAndDefaultValues()
130 assertEquals(REMOTE_IPV4_HOST_ADDRESS, sessionParams.getServerHostname()); in verifyIkeParamsWithSeverIpAndDefaultValues()
131 assertFalse(sessionParams.hasIkeOption(IKE_OPTION_ACCEPT_ANY_REMOTE_ID)); in verifyIkeParamsWithSeverIpAndDefaultValues()
132 assertEquals(IKE_DPD_DELAY_SEC_DEFAULT, sessionParams.getDpdDelaySeconds()); in verifyIkeParamsWithSeverIpAndDefaultValues()
135 sessionParams.getRetransmissionTimeoutsMillis()); in verifyIkeParamsWithSeverIpAndDefaultValues()
138 private void verifyIkeSessionParamsCommon(IkeSessionParams sessionParams) { in verifyIkeSessionParamsCommon() argument
140 new SaProposal[] {mIkeSaProposal}, sessionParams.getSaProposalsInternal()); in verifyIkeSessionParamsCommon()
142 assertEquals(mLocalIdentification, sessionParams.getLocalIdentification()); in verifyIkeSessionParamsCommon()
143 assertEquals(mRemoteIdentification, sessionParams.getRemoteIdentification()); in verifyIkeSessionParamsCommon()
[all …]
DChildSessionParamsTest.java47 ChildSessionParams sessionParams = in testBuild() local
50 assertArrayEquals(new SaProposal[] {mSaProposal}, sessionParams.getSaProposalsInternal()); in testBuild()
53 sessionParams.getInboundTrafficSelectorsInternal()); in testBuild()
56 sessionParams.getOutboundTrafficSelectorsInternal()); in testBuild()
57 assertFalse(sessionParams.isTransportMode()); in testBuild()
75 ChildSessionParams sessionParams = in testBuildTrafficSelectors() local
82 assertEquals(Arrays.asList(mSaProposal), sessionParams.getSaProposals()); in testBuildTrafficSelectors()
83 assertEquals(Arrays.asList(tsInbound), sessionParams.getInboundTrafficSelectors()); in testBuildTrafficSelectors()
84 assertEquals(Arrays.asList(tsOutbound), sessionParams.getOutboundTrafficSelectors()); in testBuildTrafficSelectors()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineFactory.java47 ChildSessionParams sessionParams, in makeChildSessionStateMachine() argument
58 sessionParams, in makeChildSessionStateMachine()
83 ChildSessionParams sessionParams, in makeChildSessionStateMachine() argument
102 ChildSessionParams sessionParams, in makeChildSessionStateMachine() argument
115 sessionParams, in makeChildSessionStateMachine()
DChildSessionStateMachine.java250 ChildSessionParams sessionParams, in ChildSessionStateMachine() argument
262 mChildSessionParams = sessionParams; in ChildSessionStateMachine()