Home
last modified time | relevance | path

Searched refs:ikeSession (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionTest.java79 IkeSession ikeSession = in testConstructIkeSession() local
88 assertNotNull(ikeSession.mIkeSessionStateMachine.getHandler().getLooper()); in testConstructIkeSession()
89 ikeSession.kill(); in testConstructIkeSession()
141 IkeSession ikeSession = in testOpensIkeSession() local
154 ikeSession.mIkeSessionStateMachine.getCurrentState() in testOpensIkeSession()
157 ikeSession.kill(); in testOpensIkeSession()
168 IkeSession ikeSession = in testThrowWhenSetupTunnelWithMissingFeature() local
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeUdp6Socket.java68 public static IkeUdp6Socket getInstance(Network network, IkeSessionStateMachine ikeSession) in getInstance() argument
70 return getInstance(network, ikeSession, null); in getInstance()
76 Network network, IkeSessionStateMachine ikeSession, Handler handler) in getInstance() argument
94 ikeSocket.mAliveIkeSessions.add(ikeSession); in getInstance()
DIkeUdp4Socket.java68 public static IkeUdp4Socket getInstance(Network network, IkeSessionStateMachine ikeSession) in getInstance() argument
70 return getInstance(network, ikeSession, null); in getInstance()
76 Network network, IkeSessionStateMachine ikeSession, Handler handler) in getInstance() argument
94 ikeSocket.mAliveIkeSessions.add(ikeSession); in getInstance()
DIkeSocket.java191 public final void registerIke(long spi, IkeSessionStateMachine ikeSession) { in registerIke() argument
192 mSpiToIkeSession.put(spi, ikeSession); in registerIke()
209 public final void releaseReference(IkeSessionStateMachine ikeSession) { in releaseReference() argument
210 mAliveIkeSessions.remove(ikeSession); in releaseReference()
DIkeUdpEncapSocket.java87 IkeSessionStateMachine ikeSession, in getIkeUdpEncapSocket() argument
106 ikeSocket.mAliveIkeSessions.add(ikeSession); in getIkeUdpEncapSocket()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java770 IkeSessionStateMachine ikeSession = in makeAndStartIkeSession() local
781 ikeSession.setDbg(true); in makeAndStartIkeSession()
784 ikeSession.mLocalAddress = LOCAL_ADDRESS; in makeAndStartIkeSession()
785 assertEquals(REMOTE_ADDRESS, ikeSession.mRemoteAddress); in makeAndStartIkeSession()
799 ikeSession.mIkeSocket = mSpyCurrentIkeSocket; in makeAndStartIkeSession()
800 return ikeSession; in makeAndStartIkeSession()
1305 IkeSessionStateMachine ikeSession = makeAndStartIkeSession(buildIkeSessionParams()); in testEnableTestMode() local
1307 SecureRandom random = ikeSession.mRandomFactory.getRandom(); in testEnableTestMode()
1318 IkeSessionStateMachine ikeSession = makeAndStartIkeSession(buildIkeSessionParams()); in testDisableTestMode() local
1320 SecureRandom random = ikeSession.mRandomFactory.getRandom(); in testDisableTestMode()
[all …]