Searched refs:rightSock (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | IpSecBaseTest.java | 510 public SocketPair(T leftSock, T rightSock) { in SocketPair() argument 512 mRightSock = rightSock; in SocketPair() 530 NativeUdpSocket rightSock = new NativeUdpSocket( in getNativeUdpSocketPair() local 533 for (NativeUdpSocket sock : new NativeUdpSocket[] {leftSock, rightSock}) { in getNativeUdpSocketPair() 539 Os.connect(leftSock.mFd, localAddr, rightSock.getPort()); in getNativeUdpSocketPair() 540 Os.connect(rightSock.mFd, localAddr, leftSock.getPort()); in getNativeUdpSocketPair() 543 return new SocketPair<>(leftSock, rightSock); in getNativeUdpSocketPair() 574 JavaUdpSocket rightSock = new JavaUdpSocket(localAddr); in getJavaUdpSocketPair() local 577 applyTransformBidirectionally(ism, transform, rightSock); in getJavaUdpSocketPair() 580 leftSock.mSocket.connect(localAddr, rightSock.mSocket.getLocalPort()); in getJavaUdpSocketPair() [all …]
|