Home
last modified time | relevance | path

Searched refs:remoteSpi (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeLocalRequestScheduler.java225 public long remoteSpi; field in IkeLocalRequestScheduler.IkeLocalRequest
230 remoteSpi = remoteIkeSpi; in IkeLocalRequest()
252 public int remoteSpi; field in IkeLocalRequestScheduler.ChildLocalRequest
265 remoteSpi = remoteChildSpi; in ChildLocalRequest()
DChildSessionStateMachine.java317 void onChildSaCreated(int remoteSpi, ChildSessionStateMachine childSession); in onChildSaCreated() argument
320 void onChildSaDeleted(int remoteSpi); in onChildSaDeleted() argument
1000 private String getIntentIdentifier(int remoteSpi) { in getIntentIdentifier() argument
1001 return IkeSessionStateMachine.TAG + "_" + mIkeSessionId + "_" + TAG + "_" + remoteSpi; in getIntentIdentifier()
1004 private Message getIntentIkeSmMsg(int localRequestType, int remoteSpi) { in getIntentIkeSmMsg() argument
1006 spiBundle.putInt(BUNDLE_KEY_CHILD_REMOTE_SPI, remoteSpi); in getIntentIkeSmMsg()
1012 private SaLifetimeAlarmScheduler buildSaLifetimeAlarmSched(int remoteSpi) { in buildSaLifetimeAlarmSched() argument
1013 Message deleteMsg = getIntentIkeSmMsg(CMD_LOCAL_REQUEST_DELETE_CHILD, remoteSpi); in buildSaLifetimeAlarmSched()
1014 Message rekeyMsg = getIntentIkeSmMsg(CMD_LOCAL_REQUEST_REKEY_CHILD, remoteSpi); in buildSaLifetimeAlarmSched()
1020 getIntentIdentifier(remoteSpi), in buildSaLifetimeAlarmSched()
[all …]
DIkeSessionStateMachine.java1147 public void onChildSaCreated(int remoteSpi, ChildSessionStateMachine childSession) { in onChildSaCreated() argument
1148 mRemoteSpiToChildSessionMap.put(remoteSpi, childSession); in onChildSaCreated()
1152 public void onChildSaDeleted(int remoteSpi) { in onChildSaDeleted() argument
1153 mRemoteSpiToChildSessionMap.remove(remoteSpi); in onChildSaDeleted()
1628 if (req.remoteSpi == IkeLocalRequestScheduler.SPI_NOT_INCLUDED in isRequestForCurrentSa()
1629 || mRemoteSpiToChildSessionMap.get(req.remoteSpi) != null) { in isRequestForCurrentSa()
1634 if (req.remoteSpi == IkeLocalRequestScheduler.SPI_NOT_INCLUDED in isRequestForCurrentSa()
1635 || req.remoteSpi == mCurrentIkeSaRecord.getRemoteSpi()) { in isRequestForCurrentSa()
1660 SaLifetimeAlarmScheduler buildSaLifetimeAlarmScheduler(long remoteSpi) { in buildSaLifetimeAlarmScheduler() argument
1661 Message deleteMsg = getIntentIkeSmMsg(CMD_LOCAL_REQUEST_DELETE_IKE, remoteSpi); in buildSaLifetimeAlarmScheduler()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java1123 int remoteSpi, String inboundSaHexString, boolean isLocalInitRekey) throws Exception { in makeInboundRekeyChildPayloads() argument
1129 return makeInboundRekeyChildPayloads(remoteSpi, saPayload, isLocalInitRekey); in makeInboundRekeyChildPayloads()
1133 int remoteSpi, IkeSaPayload saPayload, boolean isLocalInitRekey) throws Exception { in makeInboundRekeyChildPayloads() argument
DIkeSessionStateMachineTest.java2417 ChildSessionStateMachine child, int remoteSpi) throws Exception { in createChildAndGetChildSessionSmCallback() argument
2419 child, remoteSpi, mock(ChildSessionCallback.class)); in createChildAndGetChildSessionSmCallback()
2423 ChildSessionStateMachine child, int remoteSpi, ChildSessionCallback childCallback) in createChildAndGetChildSessionSmCallback() argument
2428 cb.onChildSaCreated(remoteSpi, child); in createChildAndGetChildSessionSmCallback()