Searched refs:leftSock (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 298 mLeftSock = leftSock; in SocketPair() 315 NativeUdpSocket leftSock = 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() 360 JavaUdpSocket leftSock = new JavaUdpSocket(localAddr); in getJavaUdpSocketPair() local 363 applyTransformBidirectionally(ism, transform, leftSock); in getJavaUdpSocketPair() 367 leftSock.mSocket.connect(localAddr, rightSock.mSocket.getLocalPort()); in getJavaUdpSocketPair() [all …]
|