Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpEncapSocketTest.java73 return IkeUdpEncapSocket.getIkeUdpEncapSocket(
123 IkeUdpEncapSocket.setPacketReceiver(packetReceiver); in setPacketReceiver()
151 IkeUdpEncapSocket ikeSocket = in disableTestSendIkePacket()
152 IkeUdpEncapSocket.getIkeUdpEncapSocket( in disableTestSendIkePacket()
192 IkeUdpEncapSocket.getIkeUdpEncapSocket( in checkReceiveIkePacket()
210 IkeUdpEncapSocket ikeSocket = socketReceiver.getIkeUdpEncapSocket(); in checkReceiveIkePacket()
216 IkeUdpEncapSocket.setPacketReceiver(spyPacketReceiver); in checkReceiveIkePacket()
236 IkeUdpEncapSocket.setPacketReceiver(getPacketReceiver()); in checkReceiveIkePacket()
318 private IkeUdpEncapSocket mIkeUdpEncapSocket;
320 void setIkeUdpEncapSocket(IkeUdpEncapSocket ikeSocket) { in setIkeUdpEncapSocket()
[all …]
DIkeSessionStateMachineTest.java407 private IkeUdpEncapSocket mMockIkeUdpEncapSocket;
963 mMockIkeUdpEncapSocket = newMockIkeSocket(IkeUdpEncapSocket.class); in makeAndStartIkeSession()
6406 return IkeUdpEncapSocket.class; in getExpectedSocketType()
6675 assertTrue(mSpyIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in testMobikeActiveMobilityEvent()
6682 assertTrue(mSpyIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in testMobikeActiveMobilityEventWithEnforcePort4500()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpEncapSocket.java45 public final class IkeUdpEncapSocket extends IkeSocket { class
49 private static Map<IkeSocketConfig, IkeUdpEncapSocket> sConfigToSocketMap = new HashMap<>();
59 private IkeUdpEncapSocket( in IkeUdpEncapSocket() method in IkeUdpEncapSocket
78 public static IkeUdpEncapSocket getIkeUdpEncapSocket( in getIkeUdpEncapSocket()
84 IkeUdpEncapSocket ikeSocket = sConfigToSocketMap.get(sockConfig); in getIkeUdpEncapSocket()
90 ikeSocket = new IkeUdpEncapSocket(udpEncapSocket, sockConfig, new Handler(looper)); in getIkeUdpEncapSocket()
DIkeSessionStateMachine.java2844 return ((IkeUdpEncapSocket) mIkeConnectionCtrl.getIkeSocket()) in getEncapSocketOrNull()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionControllerTest.java90 import com.android.internal.net.ipsec.test.ike.IkeUdpEncapSocket;
140 private IkeUdpEncapSocket mMockIkeUdpEncapSocket;
201 mMockIkeUdpEncapSocket = newMockIkeSocket(IkeUdpEncapSocket.class); in setUp()
271 mIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in verifySetup()
282 if (socketType.equals(IkeUdpEncapSocket.class)) { in verifyDscpSetForSocket()
366 return IkeUdpEncapSocket.class; in getExpectedSocketType()
998 assertTrue(mIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in testHandleNatDetectionResultInIkeInit()
1083 assertTrue(mIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in testEnableMobilityWithServerSupportNatt()
1100 assertTrue(mIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in handleNatDetectionResultInMobike()
1212 mIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in verifyUnderlyingNetworkUpdated()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java66 import com.android.internal.net.ipsec.ike.IkeUdpEncapSocket;
337 public IkeUdpEncapSocket newIkeUdpEncapSocket( in newIkeUdpEncapSocket()
343 return IkeUdpEncapSocket.getIkeUdpEncapSocket( in newIkeUdpEncapSocket()
415 if (!(ikeSocket instanceof IkeUdpEncapSocket)) { in setupOrUpdateNattKeeaplive()
427 ((IkeUdpEncapSocket) ikeSocket).getUdpEncapsulationSocket(), in setupOrUpdateNattKeeaplive()
601 return mIkeSocket instanceof IkeUdpEncapSocket; in useUdpEncapSocket()