Searched refs:ikeSocket (Results 1 – 6 of 6) sorted by relevance
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeUdp6Socket.java | 78 IkeUdp6Socket ikeSocket = sNetworkToUdp6SocketMap.get(network); in getInstance() local 79 if (ikeSocket == null) { in getInstance() 87 ikeSocket = new IkeUdp6Socket(sock, network, handler); in getInstance() 90 ikeSocket.start(); in getInstance() 92 sNetworkToUdp6SocketMap.put(network, ikeSocket); in getInstance() 94 ikeSocket.mAliveIkeSessions.add(ikeSession); in getInstance() 95 return ikeSocket; in getInstance()
|
D | IkeUdp4Socket.java | 78 IkeUdp4Socket ikeSocket = sNetworkToUdp4SocketMap.get(network); in getInstance() local 79 if (ikeSocket == null) { in getInstance() 87 ikeSocket = new IkeUdp4Socket(sock, network, handler); in getInstance() 90 ikeSocket.start(); in getInstance() 92 sNetworkToUdp4SocketMap.put(network, ikeSocket); in getInstance() 94 ikeSocket.mAliveIkeSessions.add(ikeSession); in getInstance() 95 return ikeSocket; in getInstance()
|
D | IkeUdpEncapSocket.java | 90 IkeUdpEncapSocket ikeSocket = sNetworkToIkeSocketMap.get(network); in getIkeUdpEncapSocket() local 91 if (ikeSocket == null) { in getIkeUdpEncapSocket() 99 ikeSocket = new IkeUdpEncapSocket(udpEncapSocket, network, new Handler(looper)); in getIkeUdpEncapSocket() 102 ikeSocket.start(); in getIkeUdpEncapSocket() 104 sNetworkToIkeSocketMap.put(network, ikeSocket); in getIkeUdpEncapSocket() 106 ikeSocket.mAliveIkeSessions.add(ikeSession); in getIkeUdpEncapSocket() 107 return ikeSocket; in getIkeUdpEncapSocket()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeUdpEncapSocketTest.java | 193 IkeUdpEncapSocket ikeSocket = in disableTestSendIkePacket() local 199 ikeSocket.sendIkePacket(mDataOne, IPV4_LOOPBACK); in disableTestSendIkePacket() 210 ikeSocket.releaseReference(mMockIkeSessionStateMachine); in disableTestSendIkePacket() 248 IkeUdpEncapSocket ikeSocket = socketReceiver.getIkeUdpEncapSocket(); in testReceiveIkePacket() local 249 assertNotNull(ikeSocket); in testReceiveIkePacket() 274 ikeSocket.releaseReference(mMockIkeSessionStateMachine); in testReceiveIkePacket() 339 void setIkeUdpEncapSocket(IkeUdpEncapSocket ikeSocket) { in setIkeUdpEncapSocket() argument 340 mIkeUdpEncapSocket = ikeSocket; in setIkeUdpEncapSocket()
|
D | IkeUdp4SocketTest.java | 117 IkeUdp4Socket ikeSocket = IkeUdp4Socket.getInstance(mMockNetwork, mockIkeSession, mHandler); in testReceiveIkePacket() local 118 assertNotNull(ikeSocket); in testReceiveIkePacket() 121 ikeSocket.registerIke(LOCAL_SPI, mockIkeSession); in testReceiveIkePacket() 127 ikeSocket.handlePacket(pktBytes, pktBytes.length); in testReceiveIkePacket() 132 ikeSocket.releaseReference(mockIkeSession); in testReceiveIkePacket()
|
D | IkeUdp6SocketTest.java | 117 IkeUdp6Socket ikeSocket = IkeUdp6Socket.getInstance(mMockNetwork, mockIkeSession, mHandler); in testReceiveIkePacket() local 118 assertNotNull(ikeSocket); in testReceiveIkePacket() 121 ikeSocket.registerIke(LOCAL_SPI, mockIkeSession); in testReceiveIkePacket() 127 ikeSocket.handlePacket(pktBytes, pktBytes.length); in testReceiveIkePacket() 132 ikeSocket.releaseReference(mockIkeSession); in testReceiveIkePacket()
|