Searched refs:recvMessage (Results 1 – 8 of 8) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/ |
D | TcpSocketTrackerTest.java | 249 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/ |
D | IpSecXfrmController.java | 132 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/ |
D | IpSecXfrmControllerTest.java | 96 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/ |
D | NetlinkUtils.java | 130 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()
|
D | InetDiagMessage.java | 208 ByteBuffer response = NetlinkUtils.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT_MS); in lookupUidByFamily()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 270 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/ |
D | ConntrackSocketTest.java | 102 final ByteBuffer buffer = NetlinkUtils.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT); in findConnectionOrThrow()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | AutomaticOnOffKeepaliveTracker.java | 944 return NetlinkUtils.recvMessage( in recvSockDiagResponse()
|