Home
last modified time | relevance | path

Searched refs:spi (Results 1 – 22 of 22) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DIkeSpiGenerator.java48 long spi; in allocateSpi() local
50 spi = mRandom.nextLong(); in allocateSpi()
51 } while (spi == 0L in allocateSpi()
53 new Pair<InetAddress, Long>(sourceAddress, spi))); in allocateSpi()
54 return new IkeSecurityParameterIndex(sourceAddress, spi); in allocateSpi()
DIkeSecurityParameterIndex.java49 IkeSecurityParameterIndex(InetAddress sourceAddress, long spi) { in IkeSecurityParameterIndex() argument
51 mSpi = spi; in IkeSecurityParameterIndex()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayload.java219 public final int spi; field in IkeNotifyPayload
244 spi = inputBuffer.getInt(); in IkeNotifyPayload()
249 spi = SPI_NOT_INCLUDED; in IkeNotifyPayload()
333 byteBuffer.putInt(spi); in encodeToByteBuffer()
349 @ProtocolId int protocolId, byte spiSize, int spi, int notifyType, byte[] notifyData) { in IkeNotifyPayload() argument
353 this.spi = spi; in IkeNotifyPayload()
393 @ProtocolId int protocolId, int spi, int notifyType, byte[] notifyData) { in IkeNotifyPayload() argument
394 this(protocolId, SPI_LEN_IPSEC, spi, notifyType, notifyData); in IkeNotifyPayload()
DIkeSaPayload.java558 public final long spi; field in IkeSaPayload.Proposal
567 long spi, in Proposal() argument
572 this.spi = spi; in Proposal()
595 long spi = SPI_NOT_INCLUDED; in readFrom() local
601 spi = Integer.toUnsignedLong(inputBuffer.getInt()); in readFrom()
604 spi = inputBuffer.getLong(); in readFrom()
654 return new IkeProposal(number, spiSize, spi, saProposal, hasUnrecognizedTransform); in readFrom()
663 return new ChildProposal(number, spi, saProposal, hasUnrecognizedTransform); in readFrom()
718 byteBuffer.putInt((int) spi); in encodeToByteBuffer()
721 byteBuffer.putLong((long) spi); in encodeToByteBuffer()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSocket.java191 public final void registerIke(long spi, IkeSessionStateMachine ikeSession) { in registerIke() argument
192 mSpiToIkeSession.put(spi, ikeSession); in registerIke()
200 public final void unregisterIke(long spi) { in unregisterIke() argument
201 mSpiToIkeSession.remove(spi); in unregisterIke()
DChildSessionStateMachine.java370 int spi = registerProvisionalChildAndGetSpi(respPayloads); in handleFirstChildExchange() local
373 new FirstChildNegotiationData(reqPayloads, respPayloads, spi)); in handleFirstChildExchange()
471 int spi = registerProvisionalChildAndGetSpi(payloadList); in receiveResponse() local
474 new ReceivedCreateResponse(exchangeType, payloadList, spi)); in receiveResponse()
510 int remoteGenSpi = (int) (saPayload.proposalList.get(0).spi); in registerProvisionalChildAndGetSpi()
572 ReceivedCreateResponse(@ExchangeType int eType, List<IkePayload> respPayloads, int spi) { in ReceivedCreateResponse() argument
574 registeredSpi = spi; in ReceivedCreateResponse()
587 List<IkePayload> reqPayloads, List<IkePayload> respPayloads, int spi) { in FirstChildNegotiationData() argument
588 super(EXCHANGE_TYPE_IKE_AUTH, respPayloads, spi); in FirstChildNegotiationData()
1127 for (int spi : delPayload.spisToDelete) { in hasRemoteChildSpiForDelete()
[all …]
DSaRecord.java486 IpSecManager.SecurityParameterIndex spi, in makeIpSecTransform() argument
512 return builder.buildTransportModeTransform(sourceAddress, spi); in makeIpSecTransform()
514 return builder.buildTunnelModeTransform(sourceAddress, spi); in makeIpSecTransform()
1171 IpSecManager.SecurityParameterIndex spi, in makeIpSecTransform() argument
DIkeSessionStateMachine.java2460 for (int spi : delPayload.spisToDelete) { in handleInboundDeleteChildRequest()
2461 ChildSessionStateMachine child = mRemoteSpiToChildSessionMap.get(spi); in handleInboundDeleteChildRequest()
2464 logw("Child SA not found with received SPI: " + spi); in handleInboundDeleteChildRequest()
2465 } else if (!spiHandled.add(spi)) { in handleInboundDeleteChildRequest()
2466 logw("Received repeated Child SPI: " + spi); in handleInboundDeleteChildRequest()
2528 int childSpi = notifyPayload.spi; in handleInboundRekeyChildRequest()
2560 for (Integer spi : unrecognizedSpis) { in handleInboundRekeyChildRequest()
2564 spi, in handleInboundRekeyChildRequest()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DMockIpSecTestUtils.java76 public static IpSecSpiResponse buildDummyIpSecSpiResponse(int spi) throws Exception { in buildDummyIpSecSpiResponse() argument
77 return new IpSecSpiResponse(IpSecManager.Status.OK, DUMMY_CHILD_SPI_RESOURCE_ID, spi); in buildDummyIpSecSpiResponse()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayloadTest.java71 assertEquals(IkePayload.SPI_NOT_INCLUDED, payload.spi); in testDecodeNotifyPayloadSpiUnset()
83 assertEquals(REKEY_SPI, payload.spi); in testDecodeNotifyPayloadSpiSet()
DIkeSaPayloadTest.java643 assertEquals(IkePayload.SPI_NOT_INCLUDED, proposal.spi);
/packages/apps/TV/libs/
DAndroid.bp129 "m2/dagger-spi-2.23.jar",
166 "m2/dagger-spi-2.23.jar",
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java1298 PermissionManager.SplitPermissionInfo spi = in hasInstallToRuntimeSplit() local
1300 String splitPerm = spi.getSplitPermission(); in hasInstallToRuntimeSplit()
1315 List<String> newPerms = spi.getNewPermissions(); in hasInstallToRuntimeSplit()
1336 if (mPackageInfo.applicationInfo.targetSdkVersion < spi.getTargetSdk()) { in hasInstallToRuntimeSplit()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java720 private List<IkePayload> makeDeletePayloads(int spi) { in makeDeletePayloads() argument
722 inboundPayloads.add(new IkeDeletePayload(new int[] {spi})); in makeDeletePayloads()
918 assertEquals(mSpyCurrentChildSaRecord.getLocalSpi(), notifyPayload.spi); in verifyOutboundRekeyNotifyPayload()
DIkeSessionStateMachineTest.java952 private ReceivedIkePacket makeRekeyChildCreateMessage(boolean isResp, int spi) in makeRekeyChildCreateMessage() argument
957 spi, in makeRekeyChildCreateMessage()
2014 assertEquals(unrecognizedSpi, notifyPayload.spi); in testHandleRekeyChildReqWithUnrecognizedSpi()
/packages/inputmethods/LatinIME/dictionaries/
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
Dpl_wordlist.combined.gz
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...