Home
last modified time | relevance | path

Searched refs:childParams (Results 1 – 10 of 10) sorted by relevance

/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DChildSessionParamsTest.java60 private void verifyTunnelModeChildParamsWithDefaultValues(ChildSessionParams childParams) { in verifyTunnelModeChildParamsWithDefaultValues() argument
61 assertTrue(childParams instanceof TunnelModeChildSessionParams); in verifyTunnelModeChildParamsWithDefaultValues()
62 verifyChildParamsWithDefaultValues(childParams); in verifyTunnelModeChildParamsWithDefaultValues()
65 private void verifyTunnelModeChildParamsWithCustomizedValues(ChildSessionParams childParams) { in verifyTunnelModeChildParamsWithCustomizedValues() argument
66 assertTrue(childParams instanceof TunnelModeChildSessionParams); in verifyTunnelModeChildParamsWithCustomizedValues()
67 verifyChildParamsWithCustomizedValues(childParams); in verifyTunnelModeChildParamsWithCustomizedValues()
70 private void verifyTransportModeChildParamsWithDefaultValues(ChildSessionParams childParams) { in verifyTransportModeChildParamsWithDefaultValues() argument
71 assertTrue(childParams instanceof TransportModeChildSessionParams); in verifyTransportModeChildParamsWithDefaultValues()
72 verifyChildParamsWithDefaultValues(childParams); in verifyTransportModeChildParamsWithDefaultValues()
76 ChildSessionParams childParams) { in verifyTransportModeChildParamsWithCustomizedValues() argument
[all …]
DIkeSessionPskTestBase.java87 private IkeSession openIkeSession(InetAddress remoteAddress, ChildSessionParams childParams) { in openIkeSession() argument
88 return openIkeSession(remoteAddress, getIkeSessionParams(remoteAddress), childParams); in openIkeSession()
92 InetAddress remoteAddress, IkeSessionParams ikeParams, ChildSessionParams childParams) { in openIkeSession() argument
96 childParams, in openIkeSession()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DTunnelModeChildSessionParamsTest.java82 private void verifyCommon(TunnelModeChildSessionParams childParams) { in verifyCommon() argument
83 assertArrayEquals(new SaProposal[] {mSaProposal}, childParams.getSaProposalsInternal()); in verifyCommon()
84 assertEquals(NUM_TS, childParams.getInboundTrafficSelectorsInternal().length); in verifyCommon()
85 assertEquals(NUM_TS, childParams.getOutboundTrafficSelectorsInternal().length); in verifyCommon()
86 assertFalse(childParams.isTransportMode()); in verifyCommon()
90 SparseArray expectedAttrCntMap, TunnelModeChildSessionParams childParams) { in verifyAttrTypes() argument
91 ConfigAttribute[] configAttributes = childParams.getConfigurationAttributesInternal(); in verifyAttrTypes()
108 TunnelModeChildSessionParams childParams = in testBuildChildSessionParamsWithoutConfigReq() local
111 verifyCommon(childParams); in testBuildChildSessionParamsWithoutConfigReq()
112 assertEquals(0, childParams.getConfigurationAttributesInternal().length); in testBuildChildSessionParamsWithoutConfigReq()
[all …]
DChildSessionParamsTest.java155 TransportModeChildSessionParams childParams = in testConstructTransportModeChildParamsCopy() local
163 new TransportModeChildSessionParams.Builder(childParams).build(); in testConstructTransportModeChildParamsCopy()
164 assertEquals(childParams, result); in testConstructTransportModeChildParamsCopy()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSessionParams.java322 Builder(@NonNull ChildSessionParams childParams) { in Builder() argument
323 Objects.requireNonNull(childParams, "childParams was null"); in Builder()
325 mInboundTsList.addAll(childParams.getInboundTrafficSelectors()); in Builder()
326 mOutboundTsList.addAll(childParams.getOutboundTrafficSelectors()); in Builder()
327 mSaProposalList.addAll(childParams.getSaProposals()); in Builder()
328 mHardLifetimeSec = childParams.getHardLifetimeSeconds(); in Builder()
329 mSoftLifetimeSec = childParams.getSoftLifetimeSeconds(); in Builder()
DIkeTunnelConnectionParams.java41 @NonNull TunnelModeChildSessionParams childParams) { in IkeTunnelConnectionParams() argument
43 Objects.requireNonNull(childParams, "childParams was null"); in IkeTunnelConnectionParams()
46 mChildParams = childParams; in IkeTunnelConnectionParams()
DTransportModeChildSessionParams.java95 public Builder(@NonNull TransportModeChildSessionParams childParams) { in Builder() argument
96 super(childParams); in Builder()
DTunnelModeChildSessionParams.java228 public Builder(@NonNull TunnelModeChildSessionParams childParams) { in Builder() argument
229 super(childParams); in Builder()
230 mConfigRequestList.addAll(Arrays.asList(childParams.mConfigRequests)); in Builder()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeLocalRequestScheduler.java260 ChildSessionParams childParams, in ChildLocalRequest() argument
263 childSessionParams = childParams; in ChildLocalRequest()
307 int type, ChildSessionCallback childCallback, ChildSessionParams childParams) { in getChildLocalRequest() argument
312 childParams, in getChildLocalRequest()
DIkeSessionStateMachine.java823 ChildSessionParams childParams, ChildSessionCallback callbacks, boolean isFirstChild) { in registerChildSessionCallback() argument
837 childParams, in registerChildSessionCallback()