Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecBaseTest.java510 public SocketPair(T leftSock, T rightSock) { in SocketPair() argument
511 mLeftSock = leftSock; in SocketPair()
528 NativeUdpSocket leftSock = 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()
573 JavaUdpSocket leftSock = new JavaUdpSocket(localAddr); in getJavaUdpSocketPair() local
576 applyTransformBidirectionally(ism, transform, leftSock); in getJavaUdpSocketPair()
580 leftSock.mSocket.connect(localAddr, rightSock.mSocket.getLocalPort()); in getJavaUdpSocketPair()
[all …]