Searched refs:mAliveIkeSessions (Results 1 – 7 of 7) sorted by relevance
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeUdp4SocketTest.java | 58 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()
|
D | IkeUdp6SocketTest.java | 58 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()
|
D | IkeUdpEncapSocketTest.java | 122 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/ |
D | IkeSocket.java | 77 protected final Set<IkeSessionStateMachine> mAliveIkeSessions = new HashSet<>(); field in IkeSocket 210 mAliveIkeSessions.remove(ikeSession); in releaseReference() 211 if (mAliveIkeSessions.isEmpty()) close(); in releaseReference()
|
D | IkeUdp6Socket.java | 94 ikeSocket.mAliveIkeSessions.add(ikeSession); in getInstance()
|
D | IkeUdp4Socket.java | 94 ikeSocket.mAliveIkeSessions.add(ikeSession); in getInstance()
|
D | IkeUdpEncapSocket.java | 106 ikeSocket.mAliveIkeSessions.add(ikeSession); in getIkeUdpEncapSocket()
|