Home
last modified time | relevance | path

Searched refs:getIkeSocket (Results 1 – 9 of 9) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSocketTestBase.java224 IkeSocket getIkeSocket(IkeSocketConfig sockConfig, IkeSocket.Callback ikeSocketCallback) in getIkeSocket() method
239 ikeUdpSocketFactory.getIkeSocket(mSpyIkeSocketConfig, mockIkeSocketCbOne); in verifyGetAndCloseIkeSocketSameConfig()
244 ikeUdpSocketFactory.getIkeSocket(mSpyIkeSocketConfig, mockIkeSocketCbTwo); in verifyGetAndCloseIkeSocketSameConfig()
271 ikeUdpSocketFactory.getIkeSocket(spySockConfigOne, mockIkeSocketCbOne); in verifyGetAndCloseIkeSocketDifferentConfig()
276 ikeUdpSocketFactory.getIkeSocket(spySockConfigTwo, mockIkeSocketCbTwo); in verifyGetAndCloseIkeSocketDifferentConfig()
332 ikeUdpSocketFactory.getIkeSocket( in verifyIkeUdpSocketReceivePacket()
DIkeUdp6SocketTest.java36 public IkeSocket getIkeSocket(
DIkeUdp6WithEncapPortSocketTest.java36 public IkeSocket getIkeSocket(
DIkeUdp4SocketTest.java36 public IkeSocket getIkeSocket(
DIkeUdpEncapSocketTest.java69 public IkeSocket getIkeSocket(
DIkeSessionStateMachineTest.java1019 mMockCurrentIkeSocket = mSpyIkeConnectionCtrl.getIkeSocket(); in makeAndStartIkeSession()
1898 assertEquals(mMockIkeUdp4Socket, mSpyIkeConnectionCtrl.getIkeSocket()); in testCreateIkeLocalIkeInitNatTraversalNotSupported()
2017 assertTrue(mSpyIkeConnectionCtrl.getIkeSocket() instanceof IkeUdp6Socket); in testCreateIkeLocalIkeInitWithoutIpv6NatD()
2104 mMockCurrentIkeSocket = mSpyIkeConnectionCtrl.getIkeSocket(); in setIkeInitResults()
4070 verify(mSpyIkeConnectionCtrl.getIkeSocket()) in verifyRekeyIkeLocalCreateHandlesResponse()
6506 .isInstance(mSpyIkeConnectionCtrl.getIkeSocket())); in verifyMobikeEnabled()
6675 assertTrue(mSpyIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in testMobikeActiveMobilityEvent()
6682 assertTrue(mSpyIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in testMobikeActiveMobilityEventWithEnforcePort4500()
6816 verify(mSpyIkeConnectionCtrl.getIkeSocket()) in verifySetNetwork()
6823 verify(mSpyIkeConnectionCtrl.getIkeSocket()) in verifySetNetwork()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionControllerTest.java267 assertTrue(socketType.isInstance(mIkeConnectionCtrl.getIkeSocket())); in verifySetup()
271 mIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in verifySetup()
274 verifySocketBoundToNetwork(mIkeConnectionCtrl.getIkeSocket(), expectedNetwork); in verifySetup()
998 assertTrue(mIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in testHandleNatDetectionResultInIkeInit()
1083 assertTrue(mIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in testEnableMobilityWithServerSupportNatt()
1092 assertTrue(mIkeConnectionCtrl.getIkeSocket() instanceof IkeUdp4Socket); in testEnableMobilityWithServerNotSupportNatt()
1100 assertTrue(mIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in handleNatDetectionResultInMobike()
1122 verifySocketBoundToNetwork(mIkeConnectionCtrl.getIkeSocket(), expectedNetwork); in verifyNetworkAndAddressesAfterMobilityEvent()
1209 assertTrue(expectedSocketType.isInstance(mIkeConnectionCtrl.getIkeSocket())); in verifyUnderlyingNetworkUpdated()
1212 mIkeConnectionCtrl.getIkeSocket() instanceof IkeUdpEncapSocket); in verifyUnderlyingNetworkUpdated()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java440 private IkeSocket getIkeSocket(boolean isIpv4, boolean useEncapPort) throws IkeException { in getIkeSocket() method in IkeConnectionController
480 IkeSocket newSocket = getIkeSocket(isIpv4, useEncapPort); in getAndSwitchToIkeSocket()
532 mIkeSocket = getIkeSocket(isIpv4, mForcePort4500); in setUp()
595 public IkeSocket getIkeSocket() { in getIkeSocket() method in IkeConnectionController
865 IkeSocket newSocket = getIkeSocket(true /* isIpv4 */, true /* useEncapPort */); in handleNatDetectionResultInIkeInit()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java2844 return ((IkeUdpEncapSocket) mIkeConnectionCtrl.getIkeSocket()) in getEncapSocketOrNull()