Home
last modified time | relevance | path

Searched refs:getLocalSpi (Results 1 – 8 of 8) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java490 migrateSpiToIkeSocket(saRecord.getLocalSpi(), mIkeSocket, newSocket); in getAndSwitchToIkeSocket()
579 mIkeSocket.unregisterIke(saRecord.getLocalSpi()); in unregisterResources()
622 mIkeSocket.registerIke(saRecord.getLocalSpi(), this); in registerIkeSaRecord()
628 mIkeSocket.unregisterIke(saRecord.getLocalSpi()); in unregisterIkeSaRecord()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java926 verifyOutboundDeletePayload(mSpyCurrentChildSaRecord.getLocalSpi(), false /*isResp*/); in testDeleteChildLocal()
1067 new int[] {mSpyCurrentChildSaRecord.getLocalSpi()}, in testDeleteChildRemote()
1094 assertEquals(mSpyCurrentChildSaRecord.getLocalSpi(), notifyPayload.spi); in verifyOutboundRekeyNotifyPayload()
1473 verifyOutboundDeletePayload(mSpyCurrentChildSaRecord.getLocalSpi(), true /*isResp*/); in testRekeyLocalCreateHandlesDeleteRequest()
1583 verifyOutboundDeletePayload(mSpyCurrentChildSaRecord.getLocalSpi(), false /*isResp*/); in testRekeyChildLocalDeleteSendsRequest()
1863 verifyOutboundDeletePayload(mSpyCurrentChildSaRecord.getLocalSpi(), true /*isResp*/); in testRekeyChildRemoteDelete()
1909 verifyOutboundDeletePayload(mSpyLocalInitNewChildSaRecord.getLocalSpi(), true /*isResp*/); in testRekeyChildLocalDeleteWithReqForNewSa()
1953 verifyOutboundDeletePayload(mSpyRemoteInitNewChildSaRecord.getLocalSpi(), true /*isResp*/); in testRekeyChildRemoteDeleteWithReqForNewSa()
DSaRecordTest.java311 assertEquals(FIRST_CHILD_INIT_SPI, childSaRecord.getLocalSpi()); in testMakeChildSaRecord()
DIkeSessionStateMachineTest.java2029 .registerIke(eq(mSpyCurrentIkeSaRecord.getLocalSpi()), eq(mSpyIkeConnectionCtrl)); in disableTestCreateIkeLocalIkeInit()
2103 false /* isNatDetected */, mSpyCurrentIkeSaRecord.getLocalSpi()); in setIkeInitResults()
4071 .registerIke(eq(mSpyLocalInitIkeSaRecord.getLocalSpi()), eq(mSpyIkeConnectionCtrl)); in verifyRekeyIkeLocalCreateHandlesResponse()
4325 verify(mMockCurrentIkeSocket).unregisterIke(eq(mSpyCurrentIkeSaRecord.getLocalSpi())); in verifyRekeyReplaceSa()
4326 verify(mMockCurrentIkeSocket, never()).unregisterIke(eq(newSaRecord.getLocalSpi())); in verifyRekeyReplaceSa()
4498 eq(mSpyRemoteInitIkeSaRecord.getLocalSpi()), eq(mSpyIkeConnectionCtrl)); in testRekeyIkeRemoteCreate()
4774 .registerIke(eq(mSpyLocalInitIkeSaRecord.getLocalSpi()), eq(mSpyIkeConnectionCtrl)); in disableTestSimulRekey()
5994 mSpyCurrentIkeSaRecord.getLocalSpi(), in testHandlesUnencryptedPacket()
6447 true /* isNatDetected */, mSpyCurrentIkeSaRecord.getLocalSpi()); in verifyMobikeEnabled()
6818 mIkeSessionStateMachine.mCurrentIkeSaRecord.getLocalSpi(), in verifySetNetwork()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java781 public long getLocalSpi() { in getLocalSpi() method in SaRecord.IkeSaRecord
1060 int getLocalSpi() { in getLocalSpi() method in SaRecord.ChildSaRecord
DChildSessionStateMachine.java783 + childSaRecord.getLocalSpi() in closeChildSaRecord()
1331 outIkePayloads.add(new IkeDeletePayload(new int[] {childSaRecord.getLocalSpi()})); in sendDeleteChild()
1569 mCurrentChildSaRecord.getLocalSpi(), in enterState()
1871 mCurrentChildSaRecord.getLocalSpi(), in handleCreateChildRequest()
DIkeSessionStateMachine.java1066 mLocalSpiToIkeSaRecordMap.put(record.getLocalSpi(), record); in addIkeSaRecord()
1077 mLocalSpiToIkeSaRecordMap.remove(record.getLocalSpi()); in removeIkeSaRecord()
1262 + ikeSaRecord.getLocalSpi() in closeIkeSaRecord()
2029 + ikeSaRecord.getLocalSpi() in handleReceivedIkePacket()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionControllerTest.java209 when(mMockIkeSaRecord.getLocalSpi()).thenReturn(IKE_LOCAL_SPI); in setUp()