Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
DTcpSocketTrackerTest.java249 when(mDependencies.recvMessage(any())).thenReturn(invalidBuffer); in testPollSocketsInfo()
256 when(mDependencies.recvMessage(any())).thenReturn(headerBuffer); in testPollSocketsInfo()
283 .when(mDependencies).recvMessage(any()); in testPollSocketsInfo_ignorePrivateDnsPort()
300 .when(mDependencies).recvMessage(any()); in testPollSocketsInfo_ignorePrivateDnsPort()
318 .when(mDependencies).recvMessage(any()); in testPollSocketsInfo_ignorePrivateDnsPort()
332 .when(mDependencies).recvMessage(any()); in testPollSocketsInfo_ignorePrivateDnsPort()
364 .when(mDependencies).recvMessage(any()); in doTestPollSocketsInfo_ignoreBlockedUid_featureDisabled()
376 .when(mDependencies).recvMessage(any()); in doTestPollSocketsInfo_ignoreBlockedUid_featureDisabled()
400 .when(mDependencies).recvMessage(any()); in testPollSocketsInfo_ignoreBlockedUid_featureEnabled()
411 .when(mDependencies).recvMessage(any()); in testPollSocketsInfo_ignoreBlockedUid_featureEnabled()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/
DIpSecXfrmController.java132 public ByteBuffer recvMessage(FileDescriptor fd) in recvMessage() method in IpSecXfrmController.Dependencies
134 return NetlinkUtils.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT_MS); in recvMessage()
147 final ByteBuffer response = mDependencies.recvMessage(mNetlinkSocket); in sendRequestAndGetResponse()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecXfrmControllerTest.java96 when(mockDeps.recvMessage(any(FileDescriptor.class))).thenReturn(buff); in injectRxMessage()
115 verify(mMockDeps).recvMessage(eq(mDummyNetlinkSocket)); in testIpSecGetSa()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNetlinkUtils.java130 final ByteBuffer bytes = recvMessage(fd, DEFAULT_RECV_BUFSIZE, IO_TIMEOUT_MS); in receiveNetlinkAck()
290 public static ByteBuffer recvMessage(FileDescriptor fd, int bufsize, long timeoutMs) in recvMessage() method in NetlinkUtils
352 final ByteBuffer buf = recvMessage( in getAndProcessNetlinkDumpMessagesWithFd()
DInetDiagMessage.java208 ByteBuffer response = NetlinkUtils.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT_MS); in lookupUidByFamily()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java270 while (parseMessage(mDependencies.recvMessage(fd), in pollSocketsInfo()
718 public ByteBuffer recvMessage(@NonNull final FileDescriptor fd) in recvMessage() method in TcpSocketTracker.Dependencies
720 return NetlinkUtils.recvMessage(fd, DEFAULT_RECV_BUFSIZE, IO_TIMEOUT_MS); in recvMessage()
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DConntrackSocketTest.java102 final ByteBuffer buffer = NetlinkUtils.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT); in findConnectionOrThrow()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DAutomaticOnOffKeepaliveTracker.java944 return NetlinkUtils.recvMessage( in recvSockDiagResponse()