Home
last modified time | relevance | path

Searched refs:SocketPair (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecBaseTest.java506 public static class SocketPair<T> { class in IpSecBaseTest
510 public SocketPair(T leftSock, T rightSock) { in SocketPair() method in IpSecBaseTest.SocketPair
523 public static SocketPair<NativeUdpSocket> getNativeUdpSocketPair( in getNativeUdpSocketPair()
543 return new SocketPair<>(leftSock, rightSock); in getNativeUdpSocketPair()
546 public static SocketPair<NativeTcpSocket> getNativeTcpSocketPair( in getNativeTcpSocketPair()
567 return new SocketPair<>(client, accepted); in getNativeTcpSocketPair()
570 public static SocketPair<JavaUdpSocket> getJavaUdpSocketPair( in getJavaUdpSocketPair()
584 return new SocketPair<>(leftSock, rightSock); in getJavaUdpSocketPair()
587 public static SocketPair<JavaTcpSocket> getJavaTcpSocketPair( in getJavaTcpSocketPair()
612 return new SocketPair<>(clientSock, acceptedSock); in getJavaTcpSocketPair()
[all …]
DIpSecManagerTest.java181 SocketPair<JavaUdpSocket> sockets = getJavaUdpSocketPair(local, mISM, transform, false); in checkUnconnectedUdp()
185 SocketPair<NativeUdpSocket> sockets = in checkUnconnectedUdp()
211 SocketPair<JavaTcpSocket> sockets = getJavaTcpSocketPair(local, mISM, transform); in checkTcp()
215 SocketPair<NativeTcpSocket> sockets = getNativeTcpSocketPair(local, mISM, transform); in checkTcp()