Home
last modified time | relevance | path

Searched refs:ikeParams (Results 1 – 15 of 15) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java210 mIkeParams = config.ikeParams; in IkeConnectionController()
211 mForcePort4500 = config.ikeParams.hasIkeOption(IKE_OPTION_FORCE_PORT_4500); in IkeConnectionController()
212 mRemoteHostname = config.ikeParams.getServerHostname(); in IkeConnectionController()
213 mUseCallerConfiguredNetwork = config.ikeParams.getConfiguredNetwork() != null; in IkeConnectionController()
214 mIpVersion = config.ikeParams.getIpVersion(); in IkeConnectionController()
215 mEncapType = config.ikeParams.getEncapType(); in IkeConnectionController()
216 mDscp = config.ikeParams.getDscp(); in IkeConnectionController()
220 mNetwork = config.ikeParams.getConfiguredNetwork(); in IkeConnectionController()
259 public final IkeSessionParams ikeParams; field in IkeConnectionController.Config
267 IkeSessionParams ikeParams, in Config() argument
[all …]
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionPskTestBase.java53 InetAddress remoteAddress, IkeSessionParams ikeParams) { in openIkeSessionWithTunnelModeChild() argument
54 return openIkeSession(remoteAddress, ikeParams, buildTunnelModeChildSessionParams()); in openIkeSessionWithTunnelModeChild()
92 InetAddress remoteAddress, IkeSessionParams ikeParams, ChildSessionParams childParams) { in openIkeSession() argument
95 ikeParams, in openIkeSession()
DIkeSessionDigitalSignatureTest.java159 IkeSessionParams ikeParams = in openIkeSessionWithRemoteAddress() local
180 ikeParams, in openIkeSessionWithRemoteAddress()
DIkeSessionMschapV2Test.java161 IkeSessionParams ikeParams = in openIkeSessionWithRemoteAddress() local
173 ikeParams, in openIkeSessionWithRemoteAddress()
DIkeSessionLivenessCheckTest.java78 IkeSessionParams ikeParams = in openIkeSessionWithRemoteAddress() local
90 ikeParams, in openIkeSessionWithRemoteAddress()
DIkeSessionRekeyTest.java54 IkeSessionParams ikeParams = in openIkeSessionWithRemoteAddress() local
66 ikeParams, in openIkeSessionWithRemoteAddress()
DIkeSessionMobikeTest.java229 final IkeSessionParams ikeParams = ikeParamsBuilder.build(); in setupAndVerifyIkeSessionWithMobility() local
231 final IkeSession ikeSession = openIkeSessionWithTunnelModeChild(remoteAddress, ikeParams); in setupAndVerifyIkeSessionWithMobility()
DIkeSessionParamsTest.java332 final IkeSessionParams ikeParams = builder.build(); in testAddAndGetIkeOptions() local
334 assertEquals(EXPECTED_IKE_OPTIONS, ikeParams.getIkeOptions()); in testAddAndGetIkeOptions()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeTunnelConnectionParams.java40 @NonNull IkeSessionParams ikeParams, in IkeTunnelConnectionParams()
42 Objects.requireNonNull(ikeParams, "ikeParams was null"); in IkeTunnelConnectionParams()
45 mIkeParams = ikeParams; in IkeTunnelConnectionParams()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/keepalive/
DHardwareKeepaliveImpl.java67 IkeSessionParams ikeParams, in HardwareKeepaliveImpl() argument
78 mKeepaliveOptions = getKeepaliveStartOptions(ikeParams); in HardwareKeepaliveImpl()
107 private static int getKeepaliveStartOptions(IkeSessionParams ikeParams) { in getKeepaliveStartOptions() argument
109 if (ikeParams.hasIkeOption(IKE_OPTION_AUTOMATIC_KEEPALIVE_ON_OFF)) { in getKeepaliveStartOptions()
DIkeNattKeepalive.java99 public final IkeSessionParams ikeParams; field in IkeNattKeepalive.KeepaliveConfig
108 IkeSessionParams ikeParams) { in KeepaliveConfig() argument
115 this.ikeParams = ikeParams; in KeepaliveConfig()
223 nattKeepaliveConfig.ikeParams, in createHardwareKeepaliveImpl()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/keepalive/
DIkeNattKeepaliveTest.java291 keepaliveConfig.ikeParams); in createCopyWithNewUnderpinnedNetwork()
302 keepaliveConfig.ikeParams); in createCopyWithNewUnderlyingNetwork()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java900 private IkeSessionStateMachine makeAndStartIkeSession(IkeSessionParams ikeParams) in makeAndStartIkeSession() argument
902 return makeAndStartIkeSession(ikeParams, LOCAL_ADDRESS, REMOTE_ADDRESS); in makeAndStartIkeSession()
933 IkeSessionParams ikeParams, in makeAndStartIkeSession() argument
943 ikeParams.getConfiguredNetwork())); in makeAndStartIkeSession()
992 ikeParams, in makeAndStartIkeSession()
1008 ikeParams, in makeAndStartIkeSession()
1022 if (ikeParams.getConfiguredNetwork() == null) { in makeAndStartIkeSession()
1636 IkeSessionParams ikeParams = in setupAndVerifyDnsResolutionForIkeSession() local
1643 ikeParams, in setupAndVerifyDnsResolutionForIkeSession()
1686 IkeSessionParams ikeParams = in verifyTestMode() local
[all …]
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java607 private void verifyAttrTypes(SparseArray expectedAttrCntMap, IkeSessionParams ikeParams) { in verifyAttrTypes() argument
608 ConfigAttribute[] configAttributes = ikeParams.getConfigurationAttributesInternal(); in verifyAttrTypes()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java515 IkeSessionParams ikeParams, in IkeSessionStateMachine() argument
523 deps.newIkeContext(looper, context, ikeParams.getConfiguredNetwork()), in IkeSessionStateMachine()
526 if (ikeParams.hasIkeOption(IkeSessionParams.IKE_OPTION_MOBIKE) in IkeSessionStateMachine()
527 || ikeParams.hasIkeOption(IkeSessionParams.IKE_OPTION_REKEY_MOBILITY)) { in IkeSessionStateMachine()
545 mIkeSessionParams = ikeParams; in IkeSessionStateMachine()
628 IkeSessionParams ikeParams, in IkeSessionStateMachine() argument
638 ikeParams, in IkeSessionStateMachine()