Home
last modified time | relevance | path

Searched refs:IkeSessionParams (Results 1 – 20 of 20) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java19 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_DPD_DELAY_SEC_DEFAULT;
20 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_HARD_LIFETIME_SEC_DEFAULT;
21 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_HARD_LIFETIME_SEC_MAXIMUM;
22 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_HARD_LIFETIME_SEC_MINIMUM;
23 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_ACCEPT_ANY_REMOTE_ID;
24 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_EAP_ONLY_AUTH;
25 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_RETRANS_TIMEOUT_MS_LIST_DEFAULT;
26 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_SOFT_LIFETIME_SEC_DEFAULT;
27 import static android.net.ipsec.test.ike.IkeSessionParams.IkeAuthConfig;
28 import static android.net.ipsec.test.ike.IkeSessionParams.IkeAuthDigitalSignLocalConfig;
[all …]
DIkeSessionTest.java19 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_MOBIKE;
50 private IkeSessionParams mIkeSessionParams;
71 private IkeSessionParams buildIkeSessionParams() throws Exception { in buildIkeSessionParams()
75 private IkeSessionParams.Builder buildIkeSessionParamsBase() throws Exception { in buildIkeSessionParamsBase()
76 return new IkeSessionParams.Builder(mMockConnectManager) in buildIkeSessionParamsBase()
DIkeTunnelConnectionParamsTest.java26 private static final IkeSessionParams IKE_PARAMS =
27 new IkeSessionParams.Builder()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionParamsTest.java19 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_ACCEPT_ANY_REMOTE_ID;
20 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_EAP_ONLY_AUTH;
21 import static android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig;
22 import static android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignLocalConfig;
23 import static android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignRemoteConfig;
24 import static android.net.ipsec.ike.IkeSessionParams.IkeAuthEapConfig;
25 import static android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig;
42 import android.net.ipsec.ike.IkeSessionParams;
43 import android.net.ipsec.ike.IkeSessionParams.ConfigRequestIpv4PcscfServer;
44 import android.net.ipsec.ike.IkeSessionParams.ConfigRequestIpv6PcscfServer;
[all …]
DIkeSessionPskTestBase.java25 import android.net.ipsec.ike.IkeSessionParams;
53 InetAddress remoteAddress, IkeSessionParams ikeParams) { in openIkeSessionWithTunnelModeChild()
61 protected IkeSessionParams.Builder createIkeParamsBuilderBase(InetAddress remoteAddress) { in createIkeParamsBuilderBase()
68 protected IkeSessionParams.Builder createIkeParamsBuilderBase( in createIkeParamsBuilderBase()
70 final IkeSessionParams.Builder builder = in createIkeParamsBuilderBase()
71 new IkeSessionParams.Builder(sContext) in createIkeParamsBuilderBase()
85 protected abstract IkeSessionParams getIkeSessionParams(InetAddress remoteAddress); in getIkeSessionParams()
92 InetAddress remoteAddress, IkeSessionParams ikeParams, ChildSessionParams childParams) { in openIkeSession()
DIkeSessionMobikeTest.java38 import android.net.ipsec.ike.IkeSessionParams;
132 protected IkeSessionParams getIkeSessionParams(InetAddress remoteAddress) { in getIkeSessionParams()
134 .addIkeOption(IkeSessionParams.IKE_OPTION_MOBIKE) in getIkeSessionParams()
188 final IkeSessionParams ikeParams = in setupAndVerifyIkeSessionWithOptionMobike()
190 .addIkeOption(IkeSessionParams.IKE_OPTION_MOBIKE) in setupAndVerifyIkeSessionWithOptionMobike()
DIkeSessionMschapV2Test.java24 import android.net.ipsec.ike.IkeSessionParams;
149 IkeSessionParams ikeParams = in openIkeSessionWithRemoteAddress()
150 new IkeSessionParams.Builder(sContext) in openIkeSessionWithRemoteAddress()
DIkeSessionDigitalSignatureTest.java23 import android.net.ipsec.ike.IkeSessionParams;
151 IkeSessionParams ikeParams = in openIkeSessionWithRemoteAddress()
152 new IkeSessionParams.Builder(sContext) in openIkeSessionWithRemoteAddress()
DIkeSessionRekeyTest.java26 import android.net.ipsec.ike.IkeSessionParams;
54 IkeSessionParams ikeParams = in openIkeSessionWithRemoteAddress()
55 new IkeSessionParams.Builder(sContext) in openIkeSessionWithRemoteAddress()
DIkeSessionPskTest.java34 import android.net.ipsec.ike.IkeSessionParams;
91 protected IkeSessionParams getIkeSessionParams(InetAddress remoteAddress) { in getIkeSessionParams()
202 final IkeSessionParams params = in testIkeSessionSetupAndChildSessionSetupWithAesCmac()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgTunnelManagerTest.java39 import android.net.ipsec.ike.IkeSessionParams;
311 any(IkeSessionParams.class), in testRekeyAndNattTimerFromCarrierConfig()
329 ArgumentCaptor<IkeSessionParams> ikeSessionParamsCaptor = in testRekeyAndNattTimerFromCarrierConfig()
330 ArgumentCaptor.forClass(IkeSessionParams.class); in testRekeyAndNattTimerFromCarrierConfig()
342 IkeSessionParams ikeSessionParams = ikeSessionParamsCaptor.getValue(); in testRekeyAndNattTimerFromCarrierConfig()
377 any(IkeSessionParams.class), in testSetRetransmissionTimeoutsFromCarrierConfig()
395 ArgumentCaptor<IkeSessionParams> ikeSessionParamsCaptor = in testSetRetransmissionTimeoutsFromCarrierConfig()
396 ArgumentCaptor.forClass(IkeSessionParams.class); in testSetRetransmissionTimeoutsFromCarrierConfig()
406 IkeSessionParams ikeSessionParams = ikeSessionParamsCaptor.getValue(); in testSetRetransmissionTimeoutsFromCarrierConfig()
434 any(IkeSessionParams.class), in testSetDpdDelayFromCarrierConfig()
[all …]
/packages/modules/IPsec/api/
Dcurrent.txt151 …on(@NonNull android.content.Context, @NonNull android.net.ipsec.ike.IkeSessionParams, @NonNull and…
193 public final class IkeSessionParams {
197 … method @NonNull public android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig getLocalAuthConfig();
201 … method @NonNull public android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig getRemoteAuthConfig();
213 public static final class IkeSessionParams.Builder {
214 ctor public IkeSessionParams.Builder();
215 ctor public IkeSessionParams.Builder(@NonNull android.net.ipsec.ike.IkeSessionParams);
216 method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addIkeOption(int);
217 …method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addIkeSaProposal(@NonNull an…
218 method @NonNull public android.net.ipsec.ike.IkeSessionParams build();
[all …]
Dsystem-current.txt63 public final class IkeSessionParams {
64 …method @NonNull public java.util.List<android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest> get…
70 public static final class IkeSessionParams.Builder {
71 ctor @Deprecated public IkeSessionParams.Builder(@NonNull android.content.Context);
72 …method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addPcscfServerRequest(@NonNu…
73 … method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addPcscfServerRequest(int);
74 …method @Deprecated @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addSaProposal(@N…
75 …method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setDscp(@IntRange(from=0x0, …
76 …method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setIke3gppExtension(@NonNull…
79 …public static interface IkeSessionParams.ConfigRequestIpv4PcscfServer extends android.net.ipsec.ik…
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeTunnelConnectionParams.java31 private final IkeSessionParams mIkeParams;
41 @NonNull IkeSessionParams ikeParams, in IkeTunnelConnectionParams()
52 public IkeSessionParams getIkeSessionParams() { in getIkeSessionParams()
DIkeSessionParams.java71 public final class IkeSessionParams { class
249 private IkeSessionParams( in IkeSessionParams() method in IkeSessionParams
317 public static IkeSessionParams fromPersistableBundle(@NonNull PersistableBundle in) { in fromPersistableBundle()
320 IkeSessionParams.Builder builder = new IkeSessionParams.Builder(); in fromPersistableBundle()
638 if (!(o instanceof IkeSessionParams)) { in equals()
642 IkeSessionParams other = (IkeSessionParams) o; in equals()
1247 public Builder(@NonNull IkeSessionParams ikeSessionParams) { in Builder()
1814 public IkeSessionParams build() { in build()
1861 return new IkeSessionParams( in build()
DIkeSession.java84 @NonNull IkeSessionParams ikeSessionParams, in IkeSession()
104 IkeSessionParams ikeSessionParams, in IkeSession()
126 IkeSessionParams ikeSessionParams, in IkeSession()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java20 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_EAP_ONLY_AUTH;
21 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_FORCE_PORT_4500;
22 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_MOBIKE;
83 import android.net.ipsec.ike.IkeSessionParams;
84 import android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig;
85 import android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignLocalConfig;
86 import android.net.ipsec.ike.IkeSessionParams.IkeAuthDigitalSignRemoteConfig;
87 import android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig;
371 @VisibleForTesting final IkeSessionParams mIkeSessionParams;
552 IkeSessionParams ikeParams, in IkeSessionStateMachine()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayload.java22 import android.net.ipsec.ike.IkeSessionParams;
23 import android.net.ipsec.ike.IkeSessionParams.ConfigRequestIpv4PcscfServer;
24 import android.net.ipsec.ike.IkeSessionParams.ConfigRequestIpv6PcscfServer;
25 import android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest;
483 implements IkeSessionParams.IkeConfigRequest {
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java45 import android.net.ipsec.ike.IkeSessionParams;
762 @NonNull IkeSessionParams ikeSessionParams, in createIkeSession()
875 private IkeSessionParams buildIkeSessionParams( in buildIkeSessionParams()
906 IkeSessionParams.Builder builder = in buildIkeSessionParams()
907 new IkeSessionParams.Builder(mContext) in buildIkeSessionParams()
918 .addIkeOption(IkeSessionParams.IKE_OPTION_ACCEPT_ANY_REMOTE_ID) in buildIkeSessionParams()
919 .addIkeOption(IkeSessionParams.IKE_OPTION_MOBIKE) in buildIkeSessionParams()
926 builder.addIkeOption(IkeSessionParams.IKE_OPTION_EAP_ONLY_AUTH); in buildIkeSessionParams()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java20 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_EAP_ONLY_AUTH;
21 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_FORCE_PORT_4500;
22 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_MOBIKE;
121 import android.net.ipsec.test.ike.IkeSessionParams;
876 private IkeSessionStateMachine makeAndStartIkeSession(IkeSessionParams ikeParams) in makeAndStartIkeSession()
882 IkeSessionParams ikeParams, boolean needSetMockIkeSocket) throws Exception { in makeAndStartIkeSession()
888 IkeSessionParams ikeParams, in makeAndStartIkeSession()
963 private IkeSessionParams.Builder buildIkeSessionParamsCommon() throws Exception { in buildIkeSessionParamsCommon()
964 return new IkeSessionParams.Builder(mMockConnectManager) in buildIkeSessionParamsCommon()
975 private IkeSessionParams buildIkeSessionParams() throws Exception { in buildIkeSessionParams()
[all …]