Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeUdp4SocketTest.java58 assertEquals(1, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp4SocketSameNetwork()
62 assertEquals(2, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp4SocketSameNetwork()
68 assertEquals(1, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp4SocketSameNetwork()
72 assertEquals(0, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp4SocketSameNetwork()
86 assertEquals(1, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp4SocketDifferentNetwork()
90 assertEquals(1, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp4SocketDifferentNetwork()
106 assertEquals(0, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp4SocketDifferentNetwork()
110 assertEquals(0, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp4SocketDifferentNetwork()
DIkeUdp6SocketTest.java58 assertEquals(1, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp6SocketSameNetwork()
62 assertEquals(2, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp6SocketSameNetwork()
68 assertEquals(1, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp6SocketSameNetwork()
72 assertEquals(0, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp6SocketSameNetwork()
86 assertEquals(1, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp6SocketDifferentNetwork()
90 assertEquals(1, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp6SocketDifferentNetwork()
106 assertEquals(0, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp6SocketDifferentNetwork()
110 assertEquals(0, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdp6SocketDifferentNetwork()
DIkeUdpEncapSocketTest.java122 assertEquals(1, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdpEncapSocketSameNetwork()
127 assertEquals(2, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdpEncapSocketSameNetwork()
134 assertEquals(1, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdpEncapSocketSameNetwork()
138 assertEquals(0, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdpEncapSocketSameNetwork()
158 assertEquals(1, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
163 assertEquals(1, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
180 assertEquals(0, ikeSocketOne.mAliveIkeSessions.size()); in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
184 assertEquals(0, ikeSocketTwo.mAliveIkeSessions.size()); in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSocket.java77 protected final Set<IkeSessionStateMachine> mAliveIkeSessions = new HashSet<>(); field in IkeSocket
210 mAliveIkeSessions.remove(ikeSession); in releaseReference()
211 if (mAliveIkeSessions.isEmpty()) close(); in releaseReference()
DIkeUdp6Socket.java94 ikeSocket.mAliveIkeSessions.add(ikeSession); in getInstance()
DIkeUdp4Socket.java94 ikeSocket.mAliveIkeSessions.add(ikeSession); in getInstance()
DIkeUdpEncapSocket.java106 ikeSocket.mAliveIkeSessions.add(ikeSession); in getIkeUdpEncapSocket()