Searched refs:rightSock (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/net/src/android/net/cts/ |
D | IpSecBaseTest.java | 324 public SocketPair(T leftSock, T rightSock) { in SocketPair() argument 326 mRightSock = rightSock; in SocketPair() 344 NativeUdpSocket rightSock = 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() 388 JavaUdpSocket rightSock = new JavaUdpSocket(localAddr); in getJavaUdpSocketPair() local 391 applyTransformBidirectionally(ism, transform, rightSock); in getJavaUdpSocketPair() 394 leftSock.mSocket.connect(localAddr, rightSock.mSocket.getLocalPort()); in getJavaUdpSocketPair() [all …]
|