Searched refs:rightSock (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/net/src/android/net/cts/ |
D | IpSecBaseTest.java | 297 public SocketPair(T leftSock, T rightSock) { in SocketPair() argument 299 mRightSock = rightSock; in SocketPair() 317 NativeUdpSocket rightSock = new NativeUdpSocket( in getNativeUdpSocketPair() local 320 for (NativeUdpSocket sock : new NativeUdpSocket[] {leftSock, rightSock}) { in getNativeUdpSocketPair() 326 Os.connect(leftSock.mFd, localAddr, rightSock.getPort()); in getNativeUdpSocketPair() 327 Os.connect(rightSock.mFd, localAddr, leftSock.getPort()); in getNativeUdpSocketPair() 330 return new SocketPair<>(leftSock, rightSock); in getNativeUdpSocketPair() 361 JavaUdpSocket rightSock = new JavaUdpSocket(localAddr); in getJavaUdpSocketPair() local 364 applyTransformBidirectionally(ism, transform, rightSock); in getJavaUdpSocketPair() 367 leftSock.mSocket.connect(localAddr, rightSock.mSocket.getLocalPort()); in getJavaUdpSocketPair() [all …]
|