Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/cts/
DIpSecBaseTest.java324 public SocketPair(T leftSock, T rightSock) { in SocketPair() argument
325 mLeftSock = leftSock; in SocketPair()
342 NativeUdpSocket leftSock = new NativeUdpSocket( in getNativeUdpSocketPair() local
347 for (NativeUdpSocket sock : new NativeUdpSocket[] {leftSock, rightSock}) { in getNativeUdpSocketPair()
353 Os.connect(leftSock.mFd, localAddr, rightSock.getPort()); in getNativeUdpSocketPair()
354 Os.connect(rightSock.mFd, localAddr, leftSock.getPort()); in getNativeUdpSocketPair()
357 return new SocketPair<>(leftSock, rightSock); in getNativeUdpSocketPair()
387 JavaUdpSocket leftSock = new JavaUdpSocket(localAddr); in getJavaUdpSocketPair() local
390 applyTransformBidirectionally(ism, transform, leftSock); in getJavaUdpSocketPair()
394 leftSock.mSocket.connect(localAddr, rightSock.mSocket.getLocalPort()); in getJavaUdpSocketPair()
[all …]