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.java150 public long remoteSpi; field in IkeLocalRequestScheduler.IkeLocalRequest
160 remoteSpi = remoteIkeSpi; in IkeLocalRequest()
180 public int remoteSpi; field in IkeLocalRequestScheduler.ChildLocalRequest
203 remoteSpi = remoteChildSpi; in ChildLocalRequest()
DChildSessionStateMachine.java304 void onChildSaCreated(int remoteSpi, ChildSessionStateMachine childSession); in onChildSaCreated() argument
307 void onChildSaDeleted(int remoteSpi); in onChildSaDeleted() argument
851 private String getIntentIdentifier(int remoteSpi) { in getIntentIdentifier() argument
852 return IkeSessionStateMachine.TAG + "_" + mIkeSessionId + "_" + TAG + "_" + remoteSpi; in getIntentIdentifier()
855 private Message getIntentIkeSmMsg(int localRequestType, int remoteSpi) { in getIntentIkeSmMsg() argument
857 spiBundle.putInt(BUNDLE_KEY_CHILD_REMOTE_SPI, remoteSpi); in getIntentIkeSmMsg()
864 private SaLifetimeAlarmScheduler buildSaLifetimeAlarmSched(int remoteSpi) { in buildSaLifetimeAlarmSched() argument
869 getIntentIdentifier(remoteSpi), in buildSaLifetimeAlarmSched()
870 getIntentIkeSmMsg(CMD_LOCAL_REQUEST_DELETE_CHILD, remoteSpi)); in buildSaLifetimeAlarmSched()
875 getIntentIdentifier(remoteSpi), in buildSaLifetimeAlarmSched()
[all …]
DIkeSessionStateMachine.java860 public void onChildSaCreated(int remoteSpi, ChildSessionStateMachine childSession) { in onChildSaCreated() argument
861 mRemoteSpiToChildSessionMap.put(remoteSpi, childSession); in onChildSaCreated()
865 public void onChildSaDeleted(int remoteSpi) { in onChildSaDeleted() argument
866 mRemoteSpiToChildSessionMap.remove(remoteSpi); in onChildSaDeleted()
1211 if (req.remoteSpi == IkeLocalRequestScheduler.SPI_NOT_INCLUDED in isRequestForCurrentSa()
1212 || mRemoteSpiToChildSessionMap.get(req.remoteSpi) != null) { in isRequestForCurrentSa()
1217 if (req.remoteSpi == IkeLocalRequestScheduler.SPI_NOT_INCLUDED in isRequestForCurrentSa()
1218 || req.remoteSpi == mCurrentIkeSaRecord.getRemoteSpi()) { in isRequestForCurrentSa()
1242 SaLifetimeAlarmScheduler buildSaLifetimeAlarmScheduler(long remoteSpi) { in buildSaLifetimeAlarmScheduler() argument
1247 getIntentIdentifier(remoteSpi), in buildSaLifetimeAlarmScheduler()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java947 int remoteSpi, String inboundSaHexString, boolean isLocalInitRekey) throws Exception { in makeInboundRekeyChildPayloads() argument
955 return makeInboundRekeyChildPayloads(remoteSpi, saPayload, isLocalInitRekey); in makeInboundRekeyChildPayloads()
959 int remoteSpi, IkeSaPayload saPayload, boolean isLocalInitRekey) throws Exception { in makeInboundRekeyChildPayloads() argument
DIkeSessionStateMachineTest.java1692 ChildSessionStateMachine child, int remoteSpi) throws Exception { in createChildAndGetChildSessionSmCallback() argument
1694 child, remoteSpi, mock(ChildSessionCallback.class)); in createChildAndGetChildSessionSmCallback()
1698 ChildSessionStateMachine child, int remoteSpi, ChildSessionCallback childCallback) in createChildAndGetChildSessionSmCallback() argument
1703 cb.onChildSaCreated(remoteSpi, child); in createChildAndGetChildSessionSmCallback()