Home
last modified time | relevance | path

Searched refs:IkeUdpEncapSocket (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpEncapSocketTest.java106 return new IkeUdpEncapSocket.PacketReceiver(); in getPacketReceiver()
119 IkeUdpEncapSocket ikeSocketOne = in testGetAndCloseIkeUdpEncapSocketSameNetwork()
120 IkeUdpEncapSocket.getIkeUdpEncapSocket( in testGetAndCloseIkeUdpEncapSocketSameNetwork()
124 IkeUdpEncapSocket ikeSocketTwo = in testGetAndCloseIkeUdpEncapSocketSameNetwork()
125 IkeUdpEncapSocket.getIkeUdpEncapSocket( in testGetAndCloseIkeUdpEncapSocketSameNetwork()
155 IkeUdpEncapSocket ikeSocketOne = in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
156 IkeUdpEncapSocket.getIkeUdpEncapSocket( in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
160 IkeUdpEncapSocket ikeSocketTwo = in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
161 IkeUdpEncapSocket.getIkeUdpEncapSocket( in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
193 IkeUdpEncapSocket ikeSocket = in disableTestSendIkePacket()
[all …]
DIkeSessionStateMachineTest.java306 private IkeUdpEncapSocket mSpyIkeUdpEncapSocket;
791 mSpyIkeUdpEncapSocket = mock(IkeUdpEncapSocket.class); in makeAndStartIkeSession()
1364 assertTrue(mIkeSessionStateMachine.mIkeSocket instanceof IkeUdpEncapSocket); in testCreateIkeLocalIkeInitSwitchesToEncapPorts()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpEncapSocket.java52 public final class IkeUdpEncapSocket extends IkeSocket { class
60 private static Map<Network, IkeUdpEncapSocket> sNetworkToIkeSocketMap = new HashMap<>();
67 private IkeUdpEncapSocket( in IkeUdpEncapSocket() method in IkeUdpEncapSocket
84 public static IkeUdpEncapSocket getIkeUdpEncapSocket( in getIkeUdpEncapSocket()
90 IkeUdpEncapSocket ikeSocket = sNetworkToIkeSocketMap.get(network); in getIkeUdpEncapSocket()
99 ikeSocket = new IkeUdpEncapSocket(udpEncapSocket, network, new Handler(looper)); in getIkeUdpEncapSocket()
DIkeSessionStateMachine.java2304 if (!(mIkeSocket instanceof IkeUdpEncapSocket)) { in getEncapSocketIfNatDetected()
2308 return ((IkeUdpEncapSocket) mIkeSocket).getUdpEncapsulationSocket(); in getEncapSocketIfNatDetected()
3013 IkeUdpEncapSocket.getIkeUdpEncapSocket( in handleNatDetection()
3029 ((IkeUdpEncapSocket) mIkeSocket).getUdpEncapsulationSocket(), in handleNatDetection()