Home
last modified time | relevance | path

Searched refs:ChildSaProposal (Results 1 – 14 of 14) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSaProposal.java45 public final class ChildSaProposal extends SaProposal { class
61 public ChildSaProposal( in ChildSaProposal() method in ChildSaProposal
86 public ChildSaProposal getCopyWithoutDhTransform() { in getCopyWithoutDhTransform()
87 return new ChildSaProposal( in getCopyWithoutDhTransform()
107 && isTransformSelectedFrom(mEsns, ((ChildSaProposal) reqProposal).mEsns); in isNegotiatedFrom()
117 && isTransformSelectedFrom(mEsns, ((ChildSaProposal) saProposal).mEsns); in isNegotiatedFromExceptDhGroup()
121 public ChildSaProposal getCopyWithAdditionalDhTransform(int dhGroup) { in getCopyWithAdditionalDhTransform()
122 return new ChildSaProposal( in getCopyWithAdditionalDhTransform()
197 public ChildSaProposal build() { in build()
201 return new ChildSaProposal( in build()
DChildSessionParams.java84 @NonNull private final ChildSaProposal[] mSaProposals;
95 ChildSaProposal[] proposals, in ChildSessionParams()
135 public List<ChildSaProposal> getSaProposals() { in getSaProposals()
166 public ChildSaProposal[] getSaProposalsInternal() { in getSaProposalsInternal()
198 protected void addProposal(@NonNull ChildSaProposal proposal) { in addProposal()
DTransportModeChildSessionParams.java36 ChildSaProposal[] proposals, in TransportModeChildSessionParams()
64 public Builder addSaProposal(@NonNull ChildSaProposal proposal) { in addSaProposal()
153 mSaProposalList.toArray(new ChildSaProposal[0]), in build()
DTunnelModeChildSessionParams.java58 @NonNull ChildSaProposal[] proposals, in TunnelModeChildSessionParams()
148 public Builder addSaProposal(@NonNull ChildSaProposal proposal) { in addSaProposal()
393 mSaProposalList.toArray(new ChildSaProposal[0]), in build()
/packages/modules/IPsec/api/
Dsystem-lint-baseline.txt18 MissingGetterMatchingBuilder: android.net.ipsec.ike.ChildSaProposal.Builder#addDhGroup(int):
19 …ndroid.net.ipsec.ike.ChildSaProposal does not declare a `getDhGroups()` method matching method and…
20 MissingGetterMatchingBuilder: android.net.ipsec.ike.ChildSaProposal.Builder#addEncryptionAlgorithm(…
21 ….net.ipsec.ike.ChildSaProposal does not declare a `getEncryptionAlgorithms()` method matching meth…
22 MissingGetterMatchingBuilder: android.net.ipsec.ike.ChildSaProposal.Builder#addIntegrityAlgorithm(i…
23 ….net.ipsec.ike.ChildSaProposal does not declare a `getIntegrityAlgorithms()` method matching metho…
50 …c.ike.TransportModeChildSessionParams.Builder#addSaProposal(android.net.ipsec.ike.ChildSaProposal):
51 …ec.ike.TransportModeChildSessionParams.Builder.addSaProposal(android.net.ipsec.ike.ChildSaProposal)
68 …psec.ike.TunnelModeChildSessionParams.Builder#addSaProposal(android.net.ipsec.ike.ChildSaProposal):
69 …ipsec.ike.TunnelModeChildSessionParams.Builder.addSaProposal(android.net.ipsec.ike.ChildSaProposal)
Dsystem-current.txt51 public final class ChildSaProposal extends android.net.ipsec.ike.SaProposal {
54 public static final class ChildSaProposal.Builder {
55 ctor public ChildSaProposal.Builder();
56 method @NonNull public android.net.ipsec.ike.ChildSaProposal.Builder addDhGroup(int);
57 …method @NonNull public android.net.ipsec.ike.ChildSaProposal.Builder addEncryptionAlgorithm(int, i…
58 method @NonNull public android.net.ipsec.ike.ChildSaProposal.Builder addIntegrityAlgorithm(int);
59 method @NonNull public android.net.ipsec.ike.ChildSaProposal build();
83 method @NonNull public java.util.List<android.net.ipsec.ike.ChildSaProposal> getSaProposals();
279 …nsportModeChildSessionParams.Builder addSaProposal(@NonNull android.net.ipsec.ike.ChildSaProposal);
297 …TunnelModeChildSessionParams.Builder addSaProposal(@NonNull android.net.ipsec.ike.ChildSaProposal);
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DSaProposalTest.java117 ChildSaProposal proposal = in testBuildChildSaProposalWithNormalCipher()
118 new ChildSaProposal.Builder() in testBuildChildSaProposalWithNormalCipher()
138 ChildSaProposal proposal = in testGetCopyWithoutDhGroup()
139 new ChildSaProposal.Builder() in testGetCopyWithoutDhGroup()
145 ChildSaProposal proposalWithoutDh = proposal.getCopyWithoutDhTransform(); in testGetCopyWithoutDhGroup()
207 new ChildSaProposal.Builder() in testBuildAeadWithIntegrityAlgo()
DChildSessionParamsTest.java34 private final ChildSaProposal mSaProposal;
38 new ChildSaProposal.Builder() in ChildSessionParamsTest()
DTunnelModeChildSessionParamsTest.java70 private ChildSaProposal mSaProposal;
75 new ChildSaProposal.Builder() in setup()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java55 import android.net.ipsec.ike.ChildSaProposal;
195 @VisibleForTesting ChildSaProposal mSaProposal;
1363 ChildSaProposal saProposal = mSaProposal; in enterState()
1514 private ChildSaProposal addDhGroupsFromChildSessionParamsIfAbsent() { in addDhGroupsFromChildSessionParamsIfAbsent()
1530 return new ChildSaProposal( in addDhGroupsFromChildSessionParamsIfAbsent()
1585 ChildSaProposal saProposal = mSaProposal; in handleCreateChildRequest()
1712 ChildSaProposal proposal = in isKePayloadAcceptable()
1956 ChildSaProposal[] saProposals = childSessionParams.getSaProposalsInternal(); in getInitChildCreateReqPayloads()
1991 ChildSaProposal currentProposal, in getRekeyChildCreateReqPayloads()
2000 new ChildSaProposal[] {currentProposal}, in getRekeyChildCreateReqPayloads()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java30 import android.net.ipsec.ike.ChildSaProposal;
180 ChildSaProposal[] saProposals, in IkeSaPayload()
212 ChildSaProposal saProposal, in IkeSaPayload()
303 ChildSaProposal[] saProposals, in createChildSaRequestPayload()
322 ChildSaProposal saProposal, in createChildSaResponsePayload()
656 ChildSaProposal saProposal = in readFrom()
657 new ChildSaProposal( in readFrom()
850 public final ChildSaProposal saProposal;
860 ChildSaProposal saProposal, in ChildProposal()
873 byte number, SecurityParameterIndex childSpiResource, ChildSaProposal saProposal) { in ChildProposal()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java75 import android.net.ipsec.ike.ChildSaProposal;
212 private ChildSaProposal mMockNegotiatedProposal;
254 mMockNegotiatedProposal = mock(ChildSaProposal.class); in setup()
284 private ChildSaProposal buildSaProposal() throws Exception { in buildSaProposal()
285 return new ChildSaProposal.Builder() in buildSaProposal()
447 ChildSaProposal negotiatedProposal = mChildSessionStateMachine.mSaProposal; in verifyInitCreateChildResp()
1827 ChildSaProposal saProposal = buildSaProposalWithDhGroup(SaProposal.DH_GROUP_2048_BIT_MODP); in testFirstChildLocalRekey()
1885 private ChildSaProposal buildSaProposalWithDhGroup(int dhGroup) { in buildSaProposalWithDhGroup()
1886 return new ChildSaProposal.Builder() in buildSaProposalWithDhGroup()
1897 ChildSaProposal saProposal = buildSaProposalWithDhGroup(SaProposal.DH_GROUP_2048_BIT_MODP); in testRemoteRekeyWithKePayload()
[all …]
DIkeSessionStateMachineTest.java88 import android.net.ipsec.ike.ChildSaProposal;
853 ChildSaProposal saProposal = in buildChildSessionParams()
854 new ChildSaProposal.Builder() in buildChildSessionParams()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java40 import android.net.ipsec.ike.ChildSaProposal;
160 private ChildSaProposal mChildSaProposalOne;
161 private ChildSaProposal mChildSaProposalTwo;
162 private ChildSaProposal[] mTwoChildSaProposalsArray;
227 new ChildSaProposal.Builder() in setUp()
233 new ChildSaProposal.Builder() in setUp()
239 new ChildSaProposal[] {mChildSaProposalOne, mChildSaProposalTwo}; in setUp()