Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/cts/
DIpSecManagerTunnelTest.java458 UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) {
472 useEncap ? encapSocket.getPort() : 0,
482 useEncap ? encapSocket : null,
497 useEncap ? encapSocket.getPort() : 0,
506 useEncap ? encapSocket : null,
540 UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) {
548 useEncap ? encapSocket : null,
558 useEncap ? encapSocket.getPort() : 0,
570 UdpEncapsulationSocket encapSocket,
605 if (encapSocket != null) {
[all …]
DIpSecManagerTest.java456 try (IpSecManager.UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket(); in checkTransform() argument
474 transformBuilder.setIpv4Encapsulation(encapSocket, encapSocket.getPort()); in checkTransform()
610 try (IpSecManager.UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) { in testIkeOverUdpEncapSocket() argument
612 new NativeUdpSocket(encapSocket.getFileDescriptor()); in testIkeOverUdpEncapSocket()
625 .setIpv4Encapsulation(encapSocket, encapSocket.getPort()) in testIkeOverUdpEncapSocket()
1156 IpSecManager.UdpEncapsulationSocket encapSocket = null; in testOpenUdpEncapSocketSpecificPort() local
1161 encapSocket = mISM.openUdpEncapsulationSocket(port); in testOpenUdpEncapSocketSpecificPort()
1170 if (encapSocket != null) { in testOpenUdpEncapSocketSpecificPort()
1171 encapSocket.close(); in testOpenUdpEncapSocketSpecificPort()
1176 if (encapSocket == null) { in testOpenUdpEncapSocketSpecificPort()
[all …]
DIpSecBaseTest.java454 IpSecManager.UdpEncapsulationSocket encapSocket, in buildIpSecTransform() argument
466 if (encapSocket != null) { in buildIpSecTransform()
467 builder.setIpv4Encapsulation(encapSocket, encapSocket.getPort()); in buildIpSecTransform()