Home
last modified time | relevance | path

Searched refs:isLocalInit (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java73 public final boolean isLocalInit; field in SaRecord
97 isLocalInit = localInit; in SaRecord()
130 return isLocalInit ? mSkAi : mSkAr; in getOutboundIntegrityKey()
140 return isLocalInit ? mSkAr : mSkAi; in getInboundIntegrityKey()
149 return isLocalInit ? mSkEi : mSkEr; in getOutboundEncryptionKey()
158 return isLocalInit ? mSkEr : mSkEi; in getInboundDecryptionKey()
241 IkeMessage localMsg = ikeSaRecordConfig.isLocalInit ? rekeyRequest : rekeyResponse; in makeRekeyedIkeSaRecord()
242 IkeMessage remoteMsg = ikeSaRecordConfig.isLocalInit ? rekeyResponse : rekeyRequest; in makeRekeyedIkeSaRecord()
318 ikeSaRecordConfig.isLocalInit, in makeIkeSaRecord()
444 boolean isLocalInit = childSaRecordConfig.isLocalInit; in makeChildSaRecord()
[all …]
DIkeSessionStateMachine.java1449 saRecord.isLocalInit /*fromIkeInitiator*/, in buildEncryptedNotificationMessage()
2085 mCurrentIkeSaRecord.isLocalInit, in handleRequestIkeMessage()
2601 mCurrentIkeSaRecord.isLocalInit, in handleOutboundRequest()
2626 mCurrentIkeSaRecord.isLocalInit, in handleOutboundResponse()
3930 IkeMessage reqMsg, IkeMessage respMessage, boolean isLocalInit) in validateAndBuildIkeSa() argument
3932 InetAddress initAddr = isLocalInit ? mLocalAddress : mRemoteAddress; in validateAndBuildIkeSa()
3933 InetAddress respAddr = isLocalInit ? mRemoteAddress : mLocalAddress; in validateAndBuildIkeSa()
3964 isLocalInit in validateAndBuildIkeSa()
3978 isLocalInit, in validateAndBuildIkeSa()
4048 mCurrentIkeSaRecord.isLocalInit, in buildIkeRekeyReq()
DChildSessionStateMachine.java2198 boolean isLocalInit, in validateAndNegotiateChild() argument
2202 List<IkePayload> inboundPayloads = isLocalInit ? respPayloads : reqPayloads; in validateAndNegotiateChild()
2207 isLocalInit /*isResp*/, in validateAndNegotiateChild()
2225 if (isLocalInit) { in validateAndNegotiateChild()
2276 validateKePayloads(inboundPayloads, isLocalInit /*isResp*/, saProposal); in validateAndNegotiateChild()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java453 boolean fromIkeInit = !ikeSaRecord.isLocalInit; in makeDummyEncryptedReceivedIkePacketWithPayloadList()
571 !ikeSaRecord.isLocalInit, in makeDummyIkeHeader()
639 private static IkeSaRecord makeDummyIkeSaRecord(long initSpi, long respSpi, boolean isLocalInit) in makeDummyIkeSaRecord() argument
641 Inet4Address initAddress = isLocalInit ? LOCAL_ADDRESS : REMOTE_ADDRESS; in makeDummyIkeSaRecord()
642 Inet4Address respAddress = isLocalInit ? REMOTE_ADDRESS : LOCAL_ADDRESS; in makeDummyIkeSaRecord()
647 isLocalInit, in makeDummyIkeSaRecord()
1756 assertEquals(mSpyCurrentIkeSaRecord.isLocalInit, ikeHeader.fromIkeInitiator); in verifyOutInfoMsgHeaderAndGetPayloads()
2761 assertEquals(mSpyCurrentIkeSaRecord.isLocalInit, ikeHeader.fromIkeInitiator); in testCreateIkeLocalIkeAuthInEapHandlesOutboundResponse()
3323 assertEquals(mSpyCurrentIkeSaRecord.isLocalInit, ikeHeader.fromIkeInitiator); in testRekeyIkeLocalDeleteSendsRequest()
3836 mSpyCurrentIkeSaRecord.isLocalInit, in testEncryptedRetransmitterImmediatelySendsRequest()
[all …]
DSaRecordTest.java200 assertTrue(ikeSaRecord.isLocalInit); in testMakeIkeSaRecord()
308 assertTrue(childSaRecord.isLocalInit); in testMakeChildSaRecord()
DChildSessionStateMachineTest.java403 boolean isLocalInit) { in verifyChildSaRecordConfig() argument
408 if (isLocalInit) { in verifyChildSaRecordConfig()
420 assertEquals(isLocalInit, childSaRecordConfig.isLocalInit); in verifyChildSaRecordConfig()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java800 boolean isLocalInit)
812 int initSpi = isLocalInit ? CHILD_SPI_LOCAL_ONE : CHILD_SPI_REMOTE;
813 int respSpi = isLocalInit ? CHILD_SPI_REMOTE : CHILD_SPI_LOCAL_ONE;