Home
last modified time | relevance | path

Searched refs:IkeSecurityParameterIndex (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DIkeSpiGenerator.java47 public IkeSecurityParameterIndex allocateSpi(InetAddress sourceAddress) throws IOException { in allocateSpi()
52 || !IkeSecurityParameterIndex.sAssignedIkeSpis.add( in allocateSpi()
54 return new IkeSecurityParameterIndex(sourceAddress, spi); in allocateSpi()
62 public IkeSecurityParameterIndex allocateSpi(InetAddress sourceAddress, long requestedSpi) in allocateSpi()
64 if (IkeSecurityParameterIndex.sAssignedIkeSpis.add( in allocateSpi()
66 return new IkeSecurityParameterIndex(sourceAddress, requestedSpi); in allocateSpi()
DIkeSecurityParameterIndex.java39 public final class IkeSecurityParameterIndex implements AutoCloseable { class
49 IkeSecurityParameterIndex(InetAddress sourceAddress, long spi) { in IkeSecurityParameterIndex() method in IkeSecurityParameterIndex
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java42 import com.android.internal.net.ipsec.ike.utils.IkeSecurityParameterIndex;
282 IkeSecurityParameterIndex initSpi = ikeSaRecordConfig.initSpi; in makeIkeSaRecord()
283 IkeSecurityParameterIndex respSpi = ikeSaRecordConfig.respSpi; in makeIkeSaRecord()
636 private final IkeSecurityParameterIndex mInitiatorSpiResource;
638 private final IkeSecurityParameterIndex mResponderSpiResource;
655 IkeSecurityParameterIndex initSpi, in IkeSaRecord()
656 IkeSecurityParameterIndex respSpi, in IkeSaRecord()
703 IkeSecurityParameterIndex initSpi, in makeFirstIkeSaRecord()
704 IkeSecurityParameterIndex respSpi, in makeFirstIkeSaRecord()
729 IkeSecurityParameterIndex initSpi, in makeRekeyedIkeSaRecord()
[all …]
DIkeSessionStateMachine.java137 import com.android.internal.net.ipsec.ike.utils.IkeSecurityParameterIndex;
2636 private IkeSecurityParameterIndex mLocalIkeSpiResource;
2637 private IkeSecurityParameterIndex mRemoteIkeSpiResource;
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DSaRecordTest.java57 import com.android.internal.net.ipsec.ike.utils.IkeSecurityParameterIndex;
177 IkeSecurityParameterIndex ikeInitSpi = in testMakeIkeSaRecord()
179 IkeSecurityParameterIndex ikeRespSpi = in testMakeIkeSaRecord()
DIkeSessionStateMachineTest.java162 import com.android.internal.net.ipsec.ike.utils.IkeSecurityParameterIndex;
1217 IkeSecurityParameterIndex ikeSpiOne = IKE_SPI_GENERATOR.allocateSpi(LOCAL_ADDRESS); in testAllocateIkeSpi()
1218 IkeSecurityParameterIndex ikeSpiTwo = IKE_SPI_GENERATOR.allocateSpi(LOCAL_ADDRESS); in testAllocateIkeSpi()
1233 IkeSecurityParameterIndex ikeSpiThree = in testAllocateIkeSpi()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java40 import com.android.internal.net.ipsec.ike.utils.IkeSecurityParameterIndex;
758 private IkeSecurityParameterIndex mIkeSpiResource;
781 IkeSecurityParameterIndex ikeSpiResource, in IkeProposal()
807 IkeSecurityParameterIndex spiResource = in createIkeProposal()
841 public IkeSecurityParameterIndex getIkeSpiResource() { in getIkeSpiResource()