Searched refs:getLocalSpi (Results 1 – 6 of 6) sorted by relevance
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachineTest.java | 842 verifyOutboundDeletePayload(mSpyCurrentChildSaRecord.getLocalSpi(), false /*isResp*/); in testDeleteChildLocal() 982 new int[] {mSpyCurrentChildSaRecord.getLocalSpi()}, in testDeleteChildRemote() 1009 assertEquals(mSpyCurrentChildSaRecord.getLocalSpi(), notifyPayload.spi); in verifyOutboundRekeyNotifyPayload() 1269 verifyOutboundDeletePayload(mSpyCurrentChildSaRecord.getLocalSpi(), true /*isResp*/); in testRekeyLocalCreateHandlesDeleteRequest() 1371 verifyOutboundDeletePayload(mSpyCurrentChildSaRecord.getLocalSpi(), false /*isResp*/); in testRekeyChildLocalDeleteSendsRequest() 1640 verifyOutboundDeletePayload(mSpyCurrentChildSaRecord.getLocalSpi(), true /*isResp*/); in testRekeyChildRemoteDelete() 1686 verifyOutboundDeletePayload(mSpyLocalInitNewChildSaRecord.getLocalSpi(), true /*isResp*/); in testRekeyChildLocalDeleteWithReqForNewSa() 1730 verifyOutboundDeletePayload(mSpyRemoteInitNewChildSaRecord.getLocalSpi(), true /*isResp*/); in testRekeyChildRemoteDeleteWithReqForNewSa()
|
D | SaRecordTest.java | 311 assertEquals(FIRST_CHILD_INIT_SPI, childSaRecord.getLocalSpi()); in testMakeChildSaRecord()
|
D | IkeSessionStateMachineTest.java | 1832 .registerIke(eq(mSpyCurrentIkeSaRecord.getLocalSpi()), eq(mIkeSessionStateMachine)); in disableTestCreateIkeLocalIkeInit() 3678 eq(mSpyLocalInitIkeSaRecord.getLocalSpi()), eq(mIkeSessionStateMachine)); in verifyRekeyIkeLocalCreateHandlesResponse() 3921 verify(mSpyCurrentIkeSocket).unregisterIke(eq(mSpyCurrentIkeSaRecord.getLocalSpi())); in verifyRekeyReplaceSa() 3922 verify(mSpyCurrentIkeSocket, never()).unregisterIke(eq(newSaRecord.getLocalSpi())); in verifyRekeyReplaceSa() 4094 eq(mSpyRemoteInitIkeSaRecord.getLocalSpi()), eq(mIkeSessionStateMachine)); in testRekeyIkeRemoteCreate() 4262 eq(mSpyLocalInitIkeSaRecord.getLocalSpi()), eq(mIkeSessionStateMachine)); in disableTestSimulRekey() 5391 mSpyCurrentIkeSaRecord.getLocalSpi(), in testHandlesUnencryptedPacket() 6078 mIkeSessionStateMachine.mCurrentIkeSaRecord.getLocalSpi())); in verifySetNetwork() 6085 rekeySaRecord.getLocalSpi())); in verifySetNetwork()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachine.java | 900 long currentLocalSpi = mCurrentIkeSaRecord.getLocalSpi(); in switchToIkeSocket() 904 long newLocalSpi = mLocalInitNewIkeSaRecord.getLocalSpi(); in switchToIkeSocket() 908 long newLocalSpi = mRemoteInitNewIkeSaRecord.getLocalSpi(); in switchToIkeSocket() 965 mLocalSpiToIkeSaRecordMap.put(record.getLocalSpi(), record); in addIkeSaRecord() 970 mIkeSocket.registerIke(record.getLocalSpi(), this); in addIkeSaRecord() 975 mIkeSocket.unregisterIke(record.getLocalSpi()); in removeIkeSaRecord() 976 mLocalSpiToIkeSaRecordMap.remove(record.getLocalSpi()); in removeIkeSaRecord() 1190 + ikeSaRecord.getLocalSpi() in closeIkeSaRecord() 1870 + ikeSaRecord.getLocalSpi() in handleReceivedIkePacket()
|
D | ChildSessionStateMachine.java | 726 + childSaRecord.getLocalSpi() in closeChildSaRecord() 1216 outIkePayloads.add(new IkeDeletePayload(new int[] {childSaRecord.getLocalSpi()})); in sendDeleteChild() 1443 mCurrentChildSaRecord.getLocalSpi(), in enterState() 1689 mCurrentChildSaRecord.getLocalSpi(), in handleCreateChildRequest()
|
D | SaRecord.java | 799 long getLocalSpi() { in getLocalSpi() method in SaRecord.IkeSaRecord 1078 int getLocalSpi() { in getLocalSpi() method in SaRecord.ChildSaRecord
|