Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/native/nettestutils/
DDumpService.cpp31 android::base::unique_fd localFd, remoteFd; in dumpService() local
32 if (!Pipe(&localFd, &remoteFd)) return -errno; in dumpService()
41 std::thread([&ret, binder, remoteFd{std::move(remoteFd)}, str16Args]() { in dumpService()
42 ret = binder->dump(remoteFd, str16Args); in dumpService()
68 android::base::unique_fd localFd, remoteFd; in dumpService() local
69 if (!Pipe(&localFd, &remoteFd)) return -errno; in dumpService()
74 std::thread([&ret, binder, remoteFd{std::move(remoteFd)}, args, num_args]() { in dumpService()
75 ret = AIBinder_dump(binder.get(), remoteFd, args, num_args); in dumpService()
/packages/modules/NetworkStack/tests/integration/signature/android/net/netlink/
DInetDiagSocketIntegrationTest.java75 public FileDescriptor remoteFd; field in InetDiagSocketIntegrationTest.Connection
109 remoteFd = createSocket(); in TcpConnection()
110 Os.bind(remoteFd, remoteAddress, 0); in TcpConnection()
111 Os.listen(remoteFd, 10); in TcpConnection()
112 int remotePort = ((InetSocketAddress) Os.getsockname(remoteFd)).getPort(); in TcpConnection()
124 Os.close(remoteFd); in close()
133 remoteFd = null; in UdpConnection()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java1251 FileDescriptor remoteFd = openSocketFdInOtherApp(TEST_HOST, 80, TIMEOUT_MS); in testAppDisallowed() local
1271 assertSocketStillOpen(remoteFd, TEST_HOST); in testAppDisallowed()
1298 for (final FileDescriptor remoteFd: remoteFds) { in testSocketClosed()
1299 assertSocketClosed(remoteFd, TEST_HOST); in testSocketClosed()