/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | ChildSessionParamsTest.java | 60 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 …]
|
D | IkeSessionPskTestBase.java | 87 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/ |
D | TunnelModeChildSessionParamsTest.java | 82 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 …]
|
D | ChildSessionParamsTest.java | 155 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/ |
D | ChildSessionParams.java | 322 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()
|
D | IkeTunnelConnectionParams.java | 41 @NonNull TunnelModeChildSessionParams childParams) { in IkeTunnelConnectionParams() argument 43 Objects.requireNonNull(childParams, "childParams was null"); in IkeTunnelConnectionParams() 46 mChildParams = childParams; in IkeTunnelConnectionParams()
|
D | TransportModeChildSessionParams.java | 95 public Builder(@NonNull TransportModeChildSessionParams childParams) { in Builder() argument 96 super(childParams); in Builder()
|
D | TunnelModeChildSessionParams.java | 228 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/ |
D | IkeLocalRequestScheduler.java | 260 ChildSessionParams childParams, in ChildLocalRequest() argument 263 childSessionParams = childParams; in ChildLocalRequest() 307 int type, ChildSessionCallback childCallback, ChildSessionParams childParams) { in getChildLocalRequest() argument 312 childParams, in getChildLocalRequest()
|
D | IkeSessionStateMachine.java | 823 ChildSessionParams childParams, ChildSessionCallback callbacks, boolean isFirstChild) { in registerChildSessionCallback() argument 837 childParams, in registerChildSessionCallback()
|