Home
last modified time | relevance | path

Searched refs:proposal (Results 1 – 16 of 16) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DSaProposalTest.java90 IkeSaProposal proposal = buildTestIkeProposal(); in testBuildIkeSaProposalWithNormalModeCipher() local
92 assertEquals(IkePayload.PROTOCOL_ID_IKE, proposal.getProtocolId()); in testBuildIkeSaProposalWithNormalModeCipher()
95 proposal.getEncryptionTransforms()); in testBuildIkeSaProposalWithNormalModeCipher()
98 proposal.getIntegrityTransforms()); in testBuildIkeSaProposalWithNormalModeCipher()
100 new PrfTransform[] {mPrfAes128XCbcTransform}, proposal.getPrfTransforms()); in testBuildIkeSaProposalWithNormalModeCipher()
102 new DhGroupTransform[] {mDhGroup1024Transform}, proposal.getDhGroupTransforms()); in testBuildIkeSaProposalWithNormalModeCipher()
107 IkeSaProposal proposal = in testBuildIkeSaProposalWithCombinedModeCipher() local
116 assertEquals(IkePayload.PROTOCOL_ID_IKE, proposal.getProtocolId()); in testBuildIkeSaProposalWithCombinedModeCipher()
119 proposal.getEncryptionTransforms()); in testBuildIkeSaProposalWithCombinedModeCipher()
121 new PrfTransform[] {mPrfAes128XCbcTransform}, proposal.getPrfTransforms()); in testBuildIkeSaProposalWithCombinedModeCipher()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java638 Proposal proposal = Proposal.readFrom(inputBuffer);
640 assertEquals(PROPOSAL_NUMBER, proposal.number);
641 assertEquals(IkePayload.PROTOCOL_ID_IKE, proposal.protocolId);
642 assertEquals(IkePayload.SPI_LEN_NOT_INCLUDED, proposal.spiSize);
643 assertEquals(IkePayload.SPI_NOT_INCLUDED, proposal.spi);
644 assertFalse(proposal.hasUnrecognizedTransform);
645 assertNotNull(proposal.getSaProposal());
657 Proposal proposal = payload.proposalList.get(i);
658 assertEquals(PROPOSAL_NUMBER_LIST[i], proposal.number);
659 assertEquals(IkePayload.PROTOCOL_ID_IKE, proposal.protocolId);
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DTransportModeChildSessionParams.java114 public Builder addSaProposal(@NonNull ChildSaProposal proposal) { in addSaProposal() argument
115 return addChildSaProposal(proposal); in addSaProposal()
128 public Builder addChildSaProposal(@NonNull ChildSaProposal proposal) { in addChildSaProposal() argument
129 Objects.requireNonNull(proposal, "Required argument not provided"); in addChildSaProposal()
131 addProposal(proposal); in addChildSaProposal()
DTunnelModeChildSessionParams.java255 public Builder addSaProposal(@NonNull ChildSaProposal proposal) { in addSaProposal() argument
256 return addChildSaProposal(proposal); in addSaProposal()
269 public Builder addChildSaProposal(@NonNull ChildSaProposal proposal) { in addChildSaProposal() argument
270 if (proposal == null) { in addChildSaProposal()
274 addProposal(proposal); in addChildSaProposal()
DIkeSessionParams.java328 for (IkeSaProposal proposal : saProposals) { in fromPersistableBundle()
329 builder.addSaProposal(proposal); in fromPersistableBundle()
1356 public Builder addSaProposal(@NonNull IkeSaProposal proposal) { in addSaProposal() argument
1357 return addIkeSaProposal(proposal); in addSaProposal()
1367 public Builder addIkeSaProposal(@NonNull IkeSaProposal proposal) { in addIkeSaProposal() argument
1368 if (proposal == null) { in addIkeSaProposal()
1372 if (proposal.getProtocolId() != IkePayload.PROTOCOL_ID_IKE) { in addIkeSaProposal()
1376 mSaProposalList.add(proposal); in addIkeSaProposal()
DChildSessionParams.java332 protected void addProposal(@NonNull ChildSaProposal proposal) { in addProposal() argument
333 mSaProposalList.add(proposal); in addProposal()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java81 Proposal proposal = Proposal.readFrom(inputBuffer); in IkeSaPayload() local
82 proposalList.add(proposal); in IkeSaPayload()
526 for (Proposal proposal : proposalList) { in releaseChildSpiResourcesIfExists()
527 if (proposal instanceof ChildProposal) { in releaseChildSpiResourcesIfExists()
528 proposal.releaseSpiResourceIfExists(); in releaseChildSpiResourcesIfExists()
/packages/apps/TV/common/src/com/android/tv/common/compat/
DREADME.md7 See go/tif-compat-proposal
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java1801 ChildSaProposal proposal = in isKePayloadAcceptable() local
1806 if (!saProposal.getDhGroups().isEmpty() && proposal.isNegotiatedFrom(saProposal)) { in isKePayloadAcceptable()
1811 && proposal.isNegotiatedFrom( in isKePayloadAcceptable()
DIkeSessionStateMachine.java3117 for (IkeSaProposal proposal : mIkeSessionParams.getSaProposalsInternal()) { in handleResponseIkeMessage()
3119 proposal.getDhGroups().contains(requestedDhGroup); in handleResponseIkeMessage()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java995 IkeSaPayload.ChildProposal proposal = in verifyOutboundRekeySaPayload() local
997 assertEquals(1, proposal.number); // Must be 1-indexed in verifyOutboundRekeySaPayload()
998 assertEquals(mChildSessionStateMachine.mSaProposal, proposal.saProposal); in verifyOutboundRekeySaPayload()
DIkeSessionStateMachineTest.java3626 IkeSaPayload.IkeProposal proposal = in testRekeyIkeLocalCreateSendsRequest() local
3628 assertEquals(1, proposal.number); // Must be 1-indexed in testRekeyIkeLocalCreateSendsRequest()
3629 assertEquals(IkePayload.PROTOCOL_ID_IKE, proposal.protocolId); in testRekeyIkeLocalCreateSendsRequest()
3630 assertEquals(IkePayload.SPI_LEN_IKE, proposal.spiSize); in testRekeyIkeLocalCreateSendsRequest()
3631 assertEquals(mIkeSessionStateMachine.mSaProposal, proposal.saProposal); in testRekeyIkeLocalCreateSendsRequest()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec3714 * of each bounding box proposal. The boxes are grouped by batches in the
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...