Home
last modified time | relevance | path

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

12

/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java19 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_ENCAP_TYPE_NONE;
20 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_ENCAP_TYPE_UDP;
21 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_IP_VERSION_IPV4;
22 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
23 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_DPD_DELAY_SEC_DEFAULT;
24 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_HARD_LIFETIME_SEC_DEFAULT;
25 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_HARD_LIFETIME_SEC_MAXIMUM;
26 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_HARD_LIFETIME_SEC_MINIMUM;
27 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_ACCEPT_ANY_REMOTE_ID;
28 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_EAP_ONLY_AUTH;
[all …]
DIkeSessionTest.java19 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_ENCAP_TYPE_NONE;
20 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_ENCAP_TYPE_UDP;
21 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_IP_VERSION_IPV4;
22 import static android.net.ipsec.test.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
23 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_MOBIKE;
55 private IkeSessionParams mIkeSessionParams;
76 private IkeSessionParams buildIkeSessionParams() throws Exception { in buildIkeSessionParams()
80 private IkeSessionParams.Builder buildIkeSessionParamsBase() throws Exception { in buildIkeSessionParamsBase()
81 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.ESP_ENCAP_TYPE_UDP;
20 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
21 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_ACCEPT_ANY_REMOTE_ID;
22 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_AUTOMATIC_KEEPALIVE_ON_OFF;
23 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_EAP_ONLY_AUTH;
24 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_FORCE_PORT_4500;
25 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_INITIAL_CONTACT;
26 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_MOBIKE;
27 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_REKEY_MOBILITY;
28 import static android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig;
[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.java21 import static android.net.ipsec.ike.IkeSessionParams.ESP_ENCAP_TYPE_AUTO;
22 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_AUTO;
23 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_MOBIKE;
24 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_REKEY_MOBILITY;
42 import android.net.ipsec.ike.IkeSessionParams;
142 protected IkeSessionParams getIkeSessionParams(InetAddress remoteAddress) { in getIkeSessionParams()
144 .addIkeOption(IkeSessionParams.IKE_OPTION_MOBIKE) in getIkeSessionParams()
223 final IkeSessionParams.Builder ikeParamsBuilder = in setupAndVerifyIkeSessionWithMobility()
229 final IkeSessionParams ikeParams = ikeParamsBuilder.build(); in setupAndVerifyIkeSessionWithMobility()
258 IkeSessionParams.NATT_KEEPALIVE_INTERVAL_AUTO); in setNetworkAndVerifyConnectionInfoChange()
DIkeSessionDigitalSignatureTest.java23 import android.net.ipsec.ike.IkeSessionParams;
159 IkeSessionParams ikeParams = in openIkeSessionWithRemoteAddress()
160 new IkeSessionParams.Builder(sContext) in openIkeSessionWithRemoteAddress()
DIkeSessionMschapV2Test.java24 import android.net.ipsec.ike.IkeSessionParams;
161 IkeSessionParams ikeParams = in openIkeSessionWithRemoteAddress()
162 new IkeSessionParams.Builder(sContext) in openIkeSessionWithRemoteAddress()
DIkeSessionLivenessCheckTest.java30 import android.net.ipsec.ike.IkeSessionParams;
78 IkeSessionParams ikeParams = in openIkeSessionWithRemoteAddress()
79 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()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSession.java18 import static android.net.ipsec.ike.IkeSessionParams.ESP_ENCAP_TYPE_NONE;
19 import static android.net.ipsec.ike.IkeSessionParams.ESP_ENCAP_TYPE_UDP;
20 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV4;
21 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
22 import static android.net.ipsec.ike.IkeSessionParams.IKE_NATT_KEEPALIVE_DELAY_SEC_MAX;
23 import static android.net.ipsec.ike.IkeSessionParams.IKE_NATT_KEEPALIVE_DELAY_SEC_MIN;
117 @NonNull IkeSessionParams ikeSessionParams, in IkeSession()
137 IkeSessionParams ikeSessionParams, in IkeSession()
159 IkeSessionParams ikeSessionParams, in IkeSession()
310 setNetwork(network, IkeSessionParams.ESP_IP_VERSION_AUTO, in setNetwork()
[all …]
DIkeTunnelConnectionParams.java30 private final IkeSessionParams mIkeParams;
40 @NonNull IkeSessionParams ikeParams, in IkeTunnelConnectionParams()
51 public IkeSessionParams getIkeSessionParams() { in getIkeSessionParams()
DIkeSessionParams.java76 public final class IkeSessionParams { class
518 private IkeSessionParams( in IkeSessionParams() method in IkeSessionParams
593 public static IkeSessionParams fromPersistableBundle(@NonNull PersistableBundle in) { in fromPersistableBundle()
596 IkeSessionParams.Builder builder = new IkeSessionParams.Builder(); in fromPersistableBundle()
993 if (!(o instanceof IkeSessionParams)) { in equals()
997 IkeSessionParams other = (IkeSessionParams) o; in equals()
1613 public Builder(@NonNull IkeSessionParams ikeSessionParams) { in Builder()
2287 public IkeSessionParams build() { in build()
2352 return new IkeSessionParams( in build()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DIkeSessionTestUtils.java34 import android.net.ipsec.ike.IkeSessionParams;
48 public static final IkeSessionParams IKE_PARAMS_V4 = getTestIkeSessionParams(false);
49 public static final IkeSessionParams IKE_PARAMS_V6 = getTestIkeSessionParams(true);
61 private static IkeSessionParams getTestIkeSessionParams(boolean testIpv6) { in getTestIkeSessionParams()
65 public static IkeSessionParams getTestIkeSessionParams(boolean testIpv6, in getTestIkeSessionParams()
70 public static IkeSessionParams getTestIkeSessionParams(boolean testIpv6, in getTestIkeSessionParams()
74 final IkeSessionParams.Builder ikeOptionsBuilder = in getTestIkeSessionParams()
75 new IkeSessionParams.Builder() in getTestIkeSessionParams()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgTunnelManagerTest.java62 import android.net.ipsec.ike.IkeSessionParams;
176 ArgumentCaptor<IkeSessionParams> mIkeSessionParamsCaptor =
177 ArgumentCaptor.forClass(IkeSessionParams.class);
388 any(IkeSessionParams.class), in setupTunnelBringup()
428 ArgumentCaptor<IkeSessionParams> ikeSessionParamsCaptor = in testBringUpTunnelSetsDeviceIdentityImeiSv()
429 ArgumentCaptor.forClass(IkeSessionParams.class); in testBringUpTunnelSetsDeviceIdentityImeiSv()
438 IkeSessionParams ikeSessionParams = ikeSessionParamsCaptor.getValue(); in testBringUpTunnelSetsDeviceIdentityImeiSv()
462 ArgumentCaptor<IkeSessionParams> ikeSessionParamsCaptor = in testBringUpTunnelSetsDeviceIdentityImei()
463 ArgumentCaptor.forClass(IkeSessionParams.class); in testBringUpTunnelSetsDeviceIdentityImei()
472 IkeSessionParams ikeSessionParams = ikeSessionParamsCaptor.getValue(); in testBringUpTunnelSetsDeviceIdentityImei()
[all …]
/packages/modules/IPsec/api/
Dsystem-current.txt77 public final class IkeSessionParams {
78 …method @NonNull public java.util.List<android.net.ipsec.ike.IkeSessionParams.IkeConfigRequest> get…
87 public static final class IkeSessionParams.Builder {
88 ctor @Deprecated public IkeSessionParams.Builder(@NonNull android.content.Context);
89 …method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addPcscfServerRequest(@NonNu…
90 … method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addPcscfServerRequest(int);
91 …method @Deprecated @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addSaProposal(@N…
92 …method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setDscp(@IntRange(from=0x0, …
93 …method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setIke3gppExtension(@NonNull…
94 …ec.flags.liveness_check_api") @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setLi…
[all …]
Dcurrent.txt177 …on(@NonNull android.content.Context, @NonNull android.net.ipsec.ike.IkeSessionParams, @NonNull and…
222 public final class IkeSessionParams {
227 … method @NonNull public android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig getLocalAuthConfig();
231 … method @NonNull public android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig getRemoteAuthConfig();
245 public static final class IkeSessionParams.Builder {
246 ctor public IkeSessionParams.Builder();
247 ctor public IkeSessionParams.Builder(@NonNull android.net.ipsec.ike.IkeSessionParams);
248 method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addIkeOption(int);
249 …method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder addIkeSaProposal(@NonNull an…
250 method @NonNull public android.net.ipsec.ike.IkeSessionParams build();
[all …]
Dmodule-lib-current.txt9 public final class IkeSessionParams {
21 public static final class IkeSessionParams.Builder {
22 method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setEncapType(int);
23 method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setIpVersion(int);
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java22 import static android.net.ipsec.ike.IkeSessionParams.ESP_ENCAP_TYPE_NONE;
23 import static android.net.ipsec.ike.IkeSessionParams.ESP_ENCAP_TYPE_UDP;
24 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_AUTO;
25 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV4;
26 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
27 import static android.net.ipsec.ike.IkeSessionParams.IKE_NATT_KEEPALIVE_DELAY_SEC_MAX;
28 import static android.net.ipsec.ike.IkeSessionParams.IKE_NATT_KEEPALIVE_DELAY_SEC_MIN;
29 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_AUTOMATIC_ADDRESS_FAMILY_SELECTION;
30 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_AUTOMATIC_NATT_KEEPALIVES;
31 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_FORCE_DNS_RESOLUTION;
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/keepalive/
DHardwareKeepaliveImpl.java30 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_AUTOMATIC_KEEPALIVE_ON_OFF;
38 import android.net.ipsec.ike.IkeSessionParams;
67 IkeSessionParams ikeParams, in HardwareKeepaliveImpl()
107 private static int getKeepaliveStartOptions(IkeSessionParams ikeParams) { in getKeepaliveStartOptions()
DIkeNattKeepalive.java26 import android.net.ipsec.ike.IkeSessionParams;
99 public final IkeSessionParams ikeParams;
108 IkeSessionParams ikeParams) { in KeepaliveConfig()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionControllerTest.java21 import static android.net.ipsec.ike.IkeSessionParams.ESP_ENCAP_TYPE_AUTO;
22 import static android.net.ipsec.ike.IkeSessionParams.ESP_ENCAP_TYPE_NONE;
23 import static android.net.ipsec.ike.IkeSessionParams.ESP_ENCAP_TYPE_UDP;
24 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_AUTO;
25 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV4;
26 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
27 import static android.net.ipsec.ike.IkeSessionParams.NATT_KEEPALIVE_INTERVAL_AUTO;
28 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_NATT_KEEPALIVE_DELAY_SEC_MAX;
29 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_NATT_KEEPALIVE_DELAY_SEC_MIN;
30 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_AUTOMATIC_ADDRESS_FAMILY_SELEC…
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java20 import static android.net.ipsec.ike.IkeSessionParams.ESP_ENCAP_TYPE_AUTO;
21 import static android.net.ipsec.ike.IkeSessionParams.ESP_ENCAP_TYPE_NONE;
22 import static android.net.ipsec.ike.IkeSessionParams.ESP_ENCAP_TYPE_UDP;
23 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_AUTO;
24 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV4;
25 import static android.net.ipsec.ike.IkeSessionParams.ESP_IP_VERSION_IPV6;
26 import static android.net.ipsec.ike.IkeSessionParams.IKE_NATT_KEEPALIVE_DELAY_SEC_MAX;
27 import static android.net.ipsec.ike.IkeSessionParams.IKE_NATT_KEEPALIVE_DELAY_SEC_MIN;
28 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_EAP_ONLY_AUTH;
29 import static android.net.ipsec.ike.IkeSessionParams.IKE_OPTION_INITIAL_CONTACT;
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java21 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_EAP_ONLY_AUTH;
22 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_FORCE_DNS_RESOLUTION;
23 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_FORCE_PORT_4500;
24 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_MOBIKE;
25 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_REKEY_MOBILITY;
135 import android.net.ipsec.test.ike.IkeSessionParams;
900 private IkeSessionStateMachine makeAndStartIkeSession(IkeSessionParams ikeParams) in makeAndStartIkeSession()
933 IkeSessionParams ikeParams, in makeAndStartIkeSession()
1047 private IkeSessionParams.Builder buildIkeSessionParamsCommon() throws Exception { in buildIkeSessionParamsCommon()
1048 return new IkeSessionParams.Builder(mMockConnectManager) in buildIkeSessionParamsCommon()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/keepalive/
DIkeNattKeepaliveTest.java20 import static android.net.ipsec.test.ike.IkeSessionParams.IKE_OPTION_AUTOMATIC_KEEPALIVE_ON_OFF;
43 import android.net.ipsec.test.ike.IkeSessionParams;
68 private IkeSessionParams mMockIkeParams;
83 mMockIkeParams = mock(IkeSessionParams.class); in setUp()

12