Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/cts/
DIpSecBaseTest.java320 public static class SocketPair<T> { class in IpSecBaseTest
324 public SocketPair(T leftSock, T rightSock) { in SocketPair() method in IpSecBaseTest.SocketPair
337 public static SocketPair<NativeUdpSocket> getNativeUdpSocketPair( in getNativeUdpSocketPair()
357 return new SocketPair<>(leftSock, rightSock); in getNativeUdpSocketPair()
360 public static SocketPair<NativeTcpSocket> getNativeTcpSocketPair( in getNativeTcpSocketPair()
381 return new SocketPair<>(client, accepted); in getNativeTcpSocketPair()
384 public static SocketPair<JavaUdpSocket> getJavaUdpSocketPair( in getJavaUdpSocketPair()
398 return new SocketPair<>(leftSock, rightSock); in getJavaUdpSocketPair()
401 public static SocketPair<JavaTcpSocket> getJavaTcpSocketPair( in getJavaTcpSocketPair()
425 return new SocketPair<>(clientSock, acceptedSock); in getJavaTcpSocketPair()
[all …]
DIpSecManagerTest.java145 SocketPair<JavaUdpSocket> sockets = getJavaUdpSocketPair(local, mISM, transform, false); in checkUnconnectedUdp()
149 SocketPair<NativeUdpSocket> sockets = in checkUnconnectedUdp()
175 SocketPair<JavaTcpSocket> sockets = getJavaTcpSocketPair(local, mISM, transform); in checkTcp()
179 SocketPair<NativeTcpSocket> sockets = getNativeTcpSocketPair(local, mISM, transform); in checkTcp()