Searched refs:encapSocket (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | IpSecManagerTest.java | 193 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()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | IpSecManagerTunnelTest.java | 584 UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) { 595 transformBuilder.setIpv4Encapsulation(encapSocket, encapSocket.getPort()); 622 useEncap ? encapSocket.getPort() : 0, 704 UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) { 718 useEncap ? encapSocket.getPort() : 0, 728 useEncap ? encapSocket : null, 743 useEncap ? encapSocket.getPort() : 0, 752 useEncap ? encapSocket : null, 786 UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) { 794 useEncap ? encapSocket : null, [all …]
|
D | IpSecManagerTest.java | 500 try (IpSecManager.UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket(); in checkTransform() argument 518 transformBuilder.setIpv4Encapsulation(encapSocket, encapSocket.getPort()); in checkTransform() 653 try (IpSecManager.UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) { in testIkeOverUdpEncapSocket() argument 655 new NativeUdpSocket(encapSocket.getFileDescriptor()); in testIkeOverUdpEncapSocket() 668 .setIpv4Encapsulation(encapSocket, encapSocket.getPort()) in testIkeOverUdpEncapSocket() 1496 IpSecManager.UdpEncapsulationSocket encapSocket = null; in testOpenUdpEncapSocketSpecificPort() local 1501 encapSocket = mISM.openUdpEncapsulationSocket(port); in testOpenUdpEncapSocketSpecificPort() 1510 if (encapSocket != null) { in testOpenUdpEncapSocketSpecificPort() 1511 encapSocket.close(); in testOpenUdpEncapSocketSpecificPort() 1516 if (encapSocket == null) { in testOpenUdpEncapSocketSpecificPort() [all …]
|
D | IpSecBaseTest.java | 641 IpSecManager.UdpEncapsulationSocket encapSocket, in buildIpSecTransform() argument 653 if (encapSocket != null) { in buildIpSecTransform() 654 builder.setIpv4Encapsulation(encapSocket, encapSocket.getPort()); in buildIpSecTransform()
|