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.java293 public static class SocketPair<T> { class in IpSecBaseTest
297 public SocketPair(T leftSock, T rightSock) { in SocketPair() method in IpSecBaseTest.SocketPair
310 public static SocketPair<NativeUdpSocket> getNativeUdpSocketPair( in getNativeUdpSocketPair()
330 return new SocketPair<>(leftSock, rightSock); in getNativeUdpSocketPair()
333 public static SocketPair<NativeTcpSocket> getNativeTcpSocketPair( in getNativeTcpSocketPair()
354 return new SocketPair<>(client, accepted); in getNativeTcpSocketPair()
357 public static SocketPair<JavaUdpSocket> getJavaUdpSocketPair( in getJavaUdpSocketPair()
371 return new SocketPair<>(leftSock, rightSock); in getJavaUdpSocketPair()
374 public static SocketPair<JavaTcpSocket> getJavaTcpSocketPair( in getJavaTcpSocketPair()
398 return new SocketPair<>(clientSock, acceptedSock); in getJavaTcpSocketPair()
[all …]
DIpSecManagerTest.java151 SocketPair<JavaUdpSocket> sockets = getJavaUdpSocketPair(local, mISM, transform, false); in checkUnconnectedUdp()
155 SocketPair<NativeUdpSocket> sockets = in checkUnconnectedUdp()
181 SocketPair<JavaTcpSocket> sockets = getJavaTcpSocketPair(local, mISM, transform); in checkTcp()
185 SocketPair<NativeTcpSocket> sockets = getNativeTcpSocketPair(local, mISM, transform); in checkTcp()