Searched refs:recvMessage (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/ |
D | TcpSocketTrackerTest.java | 302 when(mDependencies.recvMessage(any())).thenReturn(invalidBuffer); in testPollSocketsInfo() 309 when(mDependencies.recvMessage(any())).thenReturn(headerBuffer); in testPollSocketsInfo() 315 when(mDependencies.recvMessage(any())).thenReturn(tcpBuffer); in testPollSocketsInfo() 393 when(mDependencies.recvMessage(any())).thenReturn(tcpBuffer); in testPollSocketsInfo_BadFormat() 399 when(mDependencies.recvMessage(any())).thenReturn(tcpBuffer); in testPollSocketsInfo_BadFormat() 413 when(mDependencies.recvMessage(any())).thenReturn(tcpBuffer); in testUnMatchNetwork()
|
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | NetlinkSocket.java | 66 final ByteBuffer bytes = recvMessage(fd, DEFAULT_RECV_BUFSIZE, IO_TIMEOUT); in sendOneShotKernelMessage() 128 public static ByteBuffer recvMessage(FileDescriptor fd, int bufsize, long timeoutMs) in recvMessage() method in NetlinkSocket
|
D | InetDiagMessage.java | 121 ByteBuffer response = NetlinkSocket.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT_MS); in lookupUidByFamily()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 214 final ByteBuffer bytes = mDependencies.recvMessage(fd); in pollSocketsInfo() 587 public ByteBuffer recvMessage(@NonNull final FileDescriptor fd) in recvMessage() method in TcpSocketTracker.Dependencies 589 return NetlinkSocket.recvMessage(fd, DEFAULT_RECV_BUFSIZE, IO_TIMEOUT); in recvMessage()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | NetlinkSocketTest.java | 72 ByteBuffer response = NetlinkSocket.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT); in testBasicWorkingGetNeighborsQuery()
|