Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
DTcpSocketTrackerTest.java302 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/
DNetlinkSocket.java66 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
DInetDiagMessage.java121 ByteBuffer response = NetlinkSocket.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT_MS); in lookupUidByFamily()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java214 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/
DNetlinkSocketTest.java72 ByteBuffer response = NetlinkSocket.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT); in testBasicWorkingGetNeighborsQuery()