Home
last modified time | relevance | path

Searched refs:IkeSaProposal (Results 1 – 19 of 19) sorted by relevance

/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgIkeSaProposal.java19 import android.net.ipsec.ike.IkeSaProposal;
61 public IkeSaProposal buildProposedIkeSaProposal() { in buildProposedIkeSaProposal()
66 public IkeSaProposal buildProposedIkeSaAeadProposal() { in buildProposedIkeSaAeadProposal()
73 public IkeSaProposal buildSupportedIkeSaProposal() { in buildSupportedIkeSaProposal()
78 public IkeSaProposal buildSupportedIkeSaAeadProposal() { in buildSupportedIkeSaAeadProposal()
82 private IkeSaProposal buildProposal(boolean isAead, boolean isProposed) { in buildProposal()
83 IkeSaProposal.Builder saProposalBuilder = new IkeSaProposal.Builder(); in buildProposal()
DEpdgTunnelManager.java47 import android.net.ipsec.ike.IkeSaProposal;
1490 private IkeSaProposal buildIkeSaProposal() { in buildIkeSaProposal()
1491 IkeSaProposal.Builder saProposalBuilder = new IkeSaProposal.Builder(); in buildIkeSaProposal()
1567 private IkeSaProposal buildIkeSaAeadProposal() { in buildIkeSaAeadProposal()
1568 IkeSaProposal.Builder saProposalBuilder = new IkeSaProposal.Builder(); in buildIkeSaAeadProposal()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DSaProposalTest.java85 static IkeSaProposal buildTestIkeProposal() { in buildTestIkeProposal()
86 return new IkeSaProposal.Builder() in buildTestIkeProposal()
96 IkeSaProposal proposal = buildTestIkeProposal(); in testBuildIkeSaProposalWithNormalModeCipher()
113 IkeSaProposal proposal = in testBuildIkeSaProposalWithCombinedModeCipher()
114 new IkeSaProposal.Builder() in testBuildIkeSaProposalWithCombinedModeCipher()
185 IkeSaProposal proposal = in testPersistableBundleEncodeDecodeIsLosslessIkeProposal()
186 new IkeSaProposal.Builder() in testPersistableBundleEncodeDecodeIsLosslessIkeProposal()
219 new IkeSaProposal.Builder().build(); in testBuildEncryptAlgosWithNoAlgorithm()
229 new IkeSaProposal.Builder().addEncryptionAlgorithm(-1, KEY_LEN_UNUSED); in testBuildEncryptAlgosWithUnrecognizedAlgorithm()
239 new IkeSaProposal.Builder() in testBuildEncryptAlgosWithTwoModes()
[all …]
DIkeSessionParamsTest.java123 private IkeSaProposal mIkeSaProposal;
149 new IkeSaProposal.Builder() in setUp()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DSaProposalTest.java74 import android.net.ipsec.ike.IkeSaProposal;
123 ? IkeSaProposal.getSupportedEncryptionAlgorithms() in addCipherWithFixedKeyLenIfSupported()
136 ? IkeSaProposal.getSupportedEncryptionAlgorithms() in addAesCipherIfSupported()
167 algoList.addAll(IkeSaProposal.getSupportedIntegrityAlgorithms()); in getIntegrityAlgos()
188 algoList.addAll(IkeSaProposal.getSupportedPseudorandomFunctions()); in getPrfs()
193 static IkeSaProposal buildIkeSaProposalWithNormalModeCipher() { in buildIkeSaProposalWithNormalModeCipher()
200 private static IkeSaProposal buildIkeSaProposalWithNormalModeCipher(boolean preferModp1024) { in buildIkeSaProposalWithNormalModeCipher()
206 static IkeSaProposal buildIkeSaProposalWithCombinedModeCipher() { in buildIkeSaProposalWithCombinedModeCipher()
210 private static IkeSaProposal buildIkeSaProposalWithCombinedModeCipher( in buildIkeSaProposalWithCombinedModeCipher()
216 private static IkeSaProposal buildIkeSaProposalWithCombinedModeCipher( in buildIkeSaProposalWithCombinedModeCipher()
[all …]
DIkeSessionPskTestBase.java23 import android.net.ipsec.ike.IkeSaProposal;
69 InetAddress remoteAddress, IkeSaProposal... saProposals) { in createIkeParamsBuilderBase()
78 for (IkeSaProposal saProposal : saProposals) { in createIkeParamsBuilderBase()
DIkeSessionPskTest.java34 import android.net.ipsec.ike.IkeSaProposal;
213 final IkeSaProposal saProposal = in testIkeSessionSetupAndChildSessionSetupWithAesCmac()
214 new IkeSaProposal.Builder() in testIkeSessionSetupAndChildSessionSetupWithAesCmac()
DIkeSessionMobikeTest.java38 import android.net.ipsec.ike.IkeSaProposal;
215 final IkeSaProposal saProposal = in setupAndVerifyIkeSessionWithMobility()
216 new IkeSaProposal.Builder() in setupAndVerifyIkeSessionWithMobility()
DIkeSessionParamsTest.java48 import android.net.ipsec.ike.IkeSaProposal;
125 private static final IkeSaProposal SA_PROPOSAL =
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSaProposal.java51 public final class IkeSaProposal extends SaProposal { class
68 public IkeSaProposal( in IkeSaProposal() method in IkeSaProposal
85 public static IkeSaProposal fromPersistableBundle(@NonNull PersistableBundle in) { in fromPersistableBundle()
88 IkeSaProposal.Builder builder = new IkeSaProposal.Builder(); in fromPersistableBundle()
210 ((IkeSaProposal) reqProposal).mPseudorandomFunctions); in isNegotiatedFrom()
220 if (!super.equals(o) || !(o instanceof IkeSaProposal)) { in equals()
224 return Arrays.equals(mPseudorandomFunctions, ((IkeSaProposal) o).mPseudorandomFunctions); in equals()
352 public IkeSaProposal build() { in build()
358 return new IkeSaProposal( in build()
DIkeSessionParams.java490 @NonNull private final IkeSaProposal[] mSaProposals;
522 @NonNull IkeSaProposal[] proposals, in IkeSessionParams()
602 List<IkeSaProposal> saProposals = in fromPersistableBundle()
603 PersistableBundleUtils.toList(proposalBundle, IkeSaProposal::fromPersistableBundle); in fromPersistableBundle()
604 for (IkeSaProposal proposal : saProposals) { in fromPersistableBundle()
671 Arrays.asList(mSaProposals), IkeSaProposal::toPersistableBundle); in toPersistableBundle()
752 public List<IkeSaProposal> getSaProposals() { in getSaProposals()
758 public List<IkeSaProposal> getIkeSaProposals() { in getIkeSaProposals()
763 public IkeSaProposal[] getSaProposalsInternal() { in getSaProposalsInternal()
1532 @NonNull private final List<IkeSaProposal> mSaProposalList = new LinkedList<>();
[all …]
DSaProposal.java287 return IkeSaProposal.fromPersistableBundle(in); in fromPersistableBundle()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java31 import android.net.ipsec.ike.IkeSaProposal;
116 IkeSaProposal[] saProposals, in IkeSaPayload()
146 IkeSaProposal saProposal, in IkeSaPayload()
248 public static IkeSaPayload createInitialIkeSaPayload(IkeSaProposal[] saProposals) in createInitialIkeSaPayload()
266 IkeSaProposal[] saProposals, IkeSpiGenerator ikeSpiGenerator, InetAddress localAddress) in createRekeyIkeSaRequestPayload()
282 IkeSaProposal saProposal, in createRekeyIkeSaResponsePayload()
715 IkeSaProposal saProposal = in readFrom()
716 new IkeSaProposal( in readFrom()
828 public final IkeSaProposal saProposal;
839 IkeSaProposal saProposal, in IkeProposal()
[all …]
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DIkeSessionTestUtils.java33 import android.net.ipsec.ike.IkeSaProposal;
91 private static IkeSaProposal getIkeSaProposals() { in getIkeSaProposals()
92 return new IkeSaProposal.Builder() in getIkeSaProposals()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java49 import android.net.ipsec.test.ike.IkeSaProposal;
165 private IkeSaProposal mIkeSaProposalOne;
166 private IkeSaProposal mIkeSaProposalTwo;
167 private IkeSaProposal[] mTwoIkeSaProposalsArray;
213 new IkeSaProposal.Builder() in setUp()
222 new IkeSaProposal.Builder() in setUp()
233 mTwoIkeSaProposalsArray = new IkeSaProposal[] {mIkeSaProposalOne, mIkeSaProposalTwo}; in setUp()
764 IkeSaPayload.createInitialIkeSaPayload(new IkeSaProposal[] {mIkeSaProposalOne});
/packages/modules/IPsec/api/
Dcurrent.txt160 public final class IkeSaProposal extends android.net.ipsec.ike.SaProposal {
167 public static final class IkeSaProposal.Builder {
168 ctor public IkeSaProposal.Builder();
169 method @NonNull public android.net.ipsec.ike.IkeSaProposal.Builder addDhGroup(int);
170 …method @NonNull public android.net.ipsec.ike.IkeSaProposal.Builder addEncryptionAlgorithm(int, int…
171 method @NonNull public android.net.ipsec.ike.IkeSaProposal.Builder addIntegrityAlgorithm(int);
172 method @NonNull public android.net.ipsec.ike.IkeSaProposal.Builder addPseudorandomFunction(int);
173 method @NonNull public android.net.ipsec.ike.IkeSaProposal build();
226 method @NonNull public java.util.List<android.net.ipsec.ike.IkeSaProposal> getIkeSaProposals();
249 ….ipsec.ike.IkeSessionParams.Builder addIkeSaProposal(@NonNull android.net.ipsec.ike.IkeSaProposal);
Dsystem-current.txt82 …method @Deprecated @NonNull public java.util.List<android.net.ipsec.ike.IkeSaProposal> getSaPropos…
91 …net.ipsec.ike.IkeSessionParams.Builder addSaProposal(@NonNull android.net.ipsec.ike.IkeSaProposal);
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java105 import android.net.ipsec.ike.IkeSaProposal;
429 @VisibleForTesting IkeSaProposal mSaProposal;
3407 for (IkeSaProposal proposal : mIkeSessionParams.getSaProposalsInternal()) { in handleResponseIkeMessage()
3466 IkeSaProposal[] saProposals = mIkeSessionParams.getSaProposalsInternal(); in buildIkeInitReq()
5058 IkeSaProposal[] saProposals = new IkeSaProposal[] {mSaProposal}; in buildIkeRekeyReq()
6101 IkeSaProposal[] saProposals, in getIkeInitSaRequestPayloads()
6137 IkeSaProposal[] saProposals, in getRekeyIkeSaRequestPayloads()
6159 IkeSaProposal saProposal, in getRekeyIkeSaResponsePayloads()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java131 import android.net.ipsec.test.ike.IkeSaProposal;
1030 public static IkeSaProposal buildSaProposal() throws Exception { in buildSaProposal()
1034 private static IkeSaProposal buildNegotiatedSaProposal() throws Exception { in buildNegotiatedSaProposal()
1038 private static IkeSaProposal.Builder buildSaProposalCommon() throws Exception { in buildSaProposalCommon()
1039 return new IkeSaProposal.Builder() in buildSaProposalCommon()
2042 IkeSaProposal negotiatedProposal = mIkeSessionStateMachine.mSaProposal; in verifyIkeSaNegotiationResult()
5723 IkeSaProposal mockSaProposal = mock(IkeSaProposal.class); in testHandleUnexpectedExceptionInEnterState()