Searched refs:saRecord (Results 1 – 3 of 3) sorted by relevance
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeConnectionController.java | 489 for (IkeSaRecord saRecord : mIkeSaRecords) { in getAndSwitchToIkeSocket() 490 migrateSpiToIkeSocket(saRecord.getLocalSpi(), mIkeSocket, newSocket); in getAndSwitchToIkeSocket() 578 for (IkeSaRecord saRecord : mIkeSaRecords) { in unregisterResources() 579 mIkeSocket.unregisterIke(saRecord.getLocalSpi()); in unregisterResources() 620 public void registerIkeSaRecord(IkeSaRecord saRecord) { in registerIkeSaRecord() argument 621 mIkeSaRecords.add(saRecord); in registerIkeSaRecord() 622 mIkeSocket.registerIke(saRecord.getLocalSpi(), this); in registerIkeSaRecord() 626 public void unregisterIkeSaRecord(IkeSaRecord saRecord) { in unregisterIkeSaRecord() argument 627 mIkeSaRecords.remove(saRecord); in unregisterIkeSaRecord() 628 mIkeSocket.unregisterIke(saRecord.getLocalSpi()); in unregisterIkeSaRecord()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachineTest.java | 1301 private ReceivedIkePacket makeDpdIkeRequest(IkeSaRecord saRecord) throws Exception { in makeDpdIkeRequest() argument 1303 saRecord, in makeDpdIkeRequest() 1387 private ReceivedIkePacket makeDeleteIkeRequest(IkeSaRecord saRecord) throws Exception { in makeDeleteIkeRequest() argument 1396 saRecord, in makeDeleteIkeRequest() 4899 private void verifyLastSentRespAllPackets(byte[][] expectedPackets, IkeSaRecord saRecord) { in verifyLastSentRespAllPackets() argument 4901 assertNull(saRecord.getLastSentRespAllPackets()); in verifyLastSentRespAllPackets() 4905 assertEquals(expectedPackets.length, saRecord.getLastSentRespAllPackets().size()); in verifyLastSentRespAllPackets() 4907 assertArrayEquals(expectedPackets[i], saRecord.getLastSentRespAllPackets().get(i)); in verifyLastSentRespAllPackets() 6747 IkeSaRecord saRecord, InetAddress localAddress, InetAddress remoteAddress) { in verifyIkeSaAddresses() argument 6749 localAddress, saRecord.getInitiatorIkeSecurityParameterIndex().getSourceAddress()); in verifyIkeSaAddresses() [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachine.java | 1758 IkeSaRecord saRecord, in buildEncryptedInformationalMessage() argument 1763 saRecord, payloads, IkeHeader.EXCHANGE_TYPE_INFORMATIONAL, isResponse, messageId); in buildEncryptedInformationalMessage() 1770 IkeSaRecord saRecord, in buildEncryptedNotificationMessage() argument 1777 saRecord.getInitiatorSpi(), in buildEncryptedNotificationMessage() 1778 saRecord.getResponderSpi(), in buildEncryptedNotificationMessage() 1782 saRecord.isLocalInit /*fromIkeInitiator*/, in buildEncryptedNotificationMessage()
|