Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DSaProposalTest.java71 IkeSaProposal proposal = in testBuildIkeSaProposalWithNormalModeCipher()
72 new IkeSaProposal.Builder() in testBuildIkeSaProposalWithNormalModeCipher()
95 IkeSaProposal proposal = in testBuildIkeSaProposalWithCombinedModeCipher()
96 new IkeSaProposal.Builder() in testBuildIkeSaProposalWithCombinedModeCipher()
158 new IkeSaProposal.Builder().build(); in testBuildEncryptAlgosWithNoAlgorithm()
168 new IkeSaProposal.Builder().addEncryptionAlgorithm(-1, KEY_LEN_UNUSED); in testBuildEncryptAlgosWithUnrecognizedAlgorithm()
178 new IkeSaProposal.Builder() in testBuildEncryptAlgosWithTwoModes()
193 new IkeSaProposal.Builder() in testBuildIkeProposalWithoutPrf()
225 new IkeSaProposal.Builder() in testBuildIkeProposalNormalCipherWithoutIntegrityAlgo()
243 new IkeSaProposal.Builder() in testBuildIkeProposalNormalCipherWithNoneValueIntegrityAlgo()
[all …]
DIkeSessionParamsTest.java96 private IkeSaProposal mIkeSaProposal;
112 new IkeSaProposal.Builder() in setUp()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSaProposal.java48 public final class IkeSaProposal extends SaProposal { class
64 public IkeSaProposal( in IkeSaProposal() method in IkeSaProposal
111 ((IkeSaProposal) reqProposal).mPseudorandomFunctions); in isNegotiatedFrom()
230 public IkeSaProposal build() { in build()
236 return new IkeSaProposal( in build()
DIkeSessionParams.java140 @NonNull private final IkeSaProposal[] mSaProposals;
164 @NonNull IkeSaProposal[] proposals, in IkeSessionParams()
229 public List<IkeSaProposal> getSaProposals() { in getSaProposals()
234 public IkeSaProposal[] getSaProposalsInternal() { in getSaProposalsInternal()
487 @NonNull private final List<IkeSaProposal> mSaProposalList = new LinkedList<>();
604 public Builder addSaProposal(@NonNull IkeSaProposal proposal) { in addSaProposal()
970 mSaProposalList.toArray(new IkeSaProposal[0]), in build()
/packages/modules/IPsec/api/
Dsystem-lint-baseline.txt24 MissingGetterMatchingBuilder: android.net.ipsec.ike.IkeSaProposal.Builder#addDhGroup(int):
25 …android.net.ipsec.ike.IkeSaProposal does not declare a `getDhGroups()` method matching method andr…
26 MissingGetterMatchingBuilder: android.net.ipsec.ike.IkeSaProposal.Builder#addEncryptionAlgorithm(in…
27 …id.net.ipsec.ike.IkeSaProposal does not declare a `getEncryptionAlgorithms()` method matching meth…
28 MissingGetterMatchingBuilder: android.net.ipsec.ike.IkeSaProposal.Builder#addIntegrityAlgorithm(int…
29 …id.net.ipsec.ike.IkeSaProposal does not declare a `getIntegrityAlgorithms()` method matching metho…
Dsystem-current.txt120 public final class IkeSaProposal extends android.net.ipsec.ike.SaProposal {
124 public static final class IkeSaProposal.Builder {
125 ctor public IkeSaProposal.Builder();
126 method @NonNull public android.net.ipsec.ike.IkeSaProposal.Builder addDhGroup(int);
127 …method @NonNull public android.net.ipsec.ike.IkeSaProposal.Builder addEncryptionAlgorithm(int, int…
128 method @NonNull public android.net.ipsec.ike.IkeSaProposal.Builder addIntegrityAlgorithm(int);
129 method @NonNull public android.net.ipsec.ike.IkeSaProposal.Builder addPseudorandomFunction(int);
130 method @NonNull public android.net.ipsec.ike.IkeSaProposal build();
174 method @NonNull public java.util.List<android.net.ipsec.ike.IkeSaProposal> getSaProposals();
187 …net.ipsec.ike.IkeSessionParams.Builder addSaProposal(@NonNull android.net.ipsec.ike.IkeSaProposal);
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java31 import android.net.ipsec.ike.IkeSaProposal;
114 IkeSaProposal[] saProposals, in IkeSaPayload()
144 IkeSaProposal saProposal, in IkeSaPayload()
246 public static IkeSaPayload createInitialIkeSaPayload(IkeSaProposal[] saProposals) in createInitialIkeSaPayload()
264 IkeSaProposal[] saProposals, IkeSpiGenerator ikeSpiGenerator, InetAddress localAddress) in createRekeyIkeSaRequestPayload()
280 IkeSaProposal saProposal, in createRekeyIkeSaResponsePayload()
647 IkeSaProposal saProposal = in readFrom()
648 new IkeSaProposal( in readFrom()
760 public final IkeSaProposal saProposal;
771 IkeSaProposal saProposal, in IkeProposal()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java41 import android.net.ipsec.ike.IkeSaProposal;
156 private IkeSaProposal mIkeSaProposalOne;
157 private IkeSaProposal mIkeSaProposalTwo;
158 private IkeSaProposal[] mTwoIkeSaProposalsArray;
204 new IkeSaProposal.Builder() in setUp()
213 new IkeSaProposal.Builder() in setUp()
224 mTwoIkeSaProposalsArray = new IkeSaProposal[] {mIkeSaProposalOne, mIkeSaProposalTwo}; in setUp()
755 IkeSaPayload.createInitialIkeSaPayload(new IkeSaProposal[] {mIkeSaProposalOne});
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java67 import android.net.ipsec.ike.IkeSaProposal;
413 @VisibleForTesting IkeSaProposal mSaProposal;
2759 for (IkeSaProposal proposal : mIkeSessionParams.getSaProposalsInternal()) { in handleResponseIkeMessage()
2806 IkeSaProposal[] saProposals = mIkeSessionParams.getSaProposalsInternal(); in buildIkeInitReq()
4032 IkeSaProposal[] saProposals = new IkeSaProposal[] {mSaProposal}; in buildIkeRekeyReq()
4703 IkeSaProposal[] saProposals, in getIkeInitSaRequestPayloads()
4739 IkeSaProposal[] saProposals, in getRekeyIkeSaRequestPayloads()
4761 IkeSaProposal saProposal, in getRekeyIkeSaResponsePayloads()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java95 import android.net.ipsec.ike.IkeSaProposal;
803 public static IkeSaProposal buildSaProposal() throws Exception { in buildSaProposal()
807 private static IkeSaProposal buildNegotiatedSaProposal() throws Exception { in buildNegotiatedSaProposal()
811 private static IkeSaProposal.Builder buildSaProposalCommon() throws Exception { in buildSaProposalCommon()
812 return new IkeSaProposal.Builder() in buildSaProposalCommon()
1413 IkeSaProposal negotiatedProposal = mIkeSessionStateMachine.mSaProposal; in disableTestCreateIkeLocalIkeInit()
4472 IkeSaProposal mockSaProposal = mock(IkeSaProposal.class); in testHandleUnexpectedExceptionInEnterState()
DChildSessionStateMachineTest.java80 import android.net.ipsec.ike.IkeSaProposal;
1922 new IkeKePayload(IkeSaProposal.DH_GROUP_2048_BIT_MODP, createMockRandomFactory())); in testRemoteRekeyWithKePayload()