Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecManagerTunnelTest.java359 UdpEncapsulationSocket encapSocket, in getIpSecTunnelTestRunnable() argument
372 UdpEncapsulationSocket encapSocket, in getIpSecTunnelTestRunnable() argument
406 boolean useEncap = encapSocket != null; in getIpSecTunnelTestRunnable()
443 UdpEncapsulationSocket encapSocket,
492 UdpEncapsulationSocket encapSocket,
530 encapSocket != null ? encapSocket.getPort() : 0,
541 encapSocket != null ? encapSocket.getPort() : 0,
595 UdpEncapsulationSocket encapSocket,
617 encapSocket,
630 final boolean useEncapBeforeMigrate = encapSocket != null;
[all …]
DIpSecManagerTest.java279 UdpEncapsulationSocket encapSocket) in buildTransportModeTransform() argument
289 if (encapSocket != null) { in buildTransportModeTransform()
290 builder.setIpv4Encapsulation(encapSocket, encapSocket.getPort()); in buildTransportModeTransform()
322 UdpEncapsulationSocket encapSocket = encap in doTestCreateTransform()
326 encapSocket); in doTestCreateTransform()
605 try (UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket();
623 transformBuilder.setIpv4Encapsulation(encapSocket, encapSocket.getPort());
759 try (UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) {
761 new NativeUdpSocket(encapSocket.getFileDescriptor());
774 .setIpv4Encapsulation(encapSocket, encapSocket.getPort())
[all …]
DIpSecBaseTest.java690 IpSecManager.UdpEncapsulationSocket encapSocket, in buildIpSecTransform() argument
702 if (encapSocket != null) { in buildIpSecTransform()
703 builder.setIpv4Encapsulation(encapSocket, encapSocket.getPort()); in buildIpSecTransform()
/packages/modules/Connectivity/tests/unit/java/android/net/
DIpSecManagerTest.java193 IpSecManager.UdpEncapsulationSocket encapSocket = in testOpenEncapsulationSocket() local
195 assertNotNull(encapSocket.getFileDescriptor()); in testOpenEncapsulationSocket()
196 assertEquals(TEST_UDP_ENCAP_PORT, encapSocket.getPort()); in testOpenEncapsulationSocket()
198 encapSocket.close(); in testOpenEncapsulationSocket()
242 IpSecManager.UdpEncapsulationSocket encapSocket = in testOpenEncapsulationSocketOnRandomPort() local
245 assertNotNull(encapSocket.getFileDescriptor()); in testOpenEncapsulationSocketOnRandomPort()
246 assertEquals(TEST_UDP_ENCAP_PORT, encapSocket.getPort()); in testOpenEncapsulationSocketOnRandomPort()
248 encapSocket.close(); in testOpenEncapsulationSocketOnRandomPort()