Home
last modified time | relevance | path

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

/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/netlink/
H A 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()
/aosp12/packages/modules/DnsResolver/tests/
H A Ddnsresolver_binder_test.cpp69 unique_fd localFd, remoteFd; in dumpService() local
70 bool success = Pipe(&localFd, &remoteFd); in dumpService()
75 std::thread dumpThread = std::thread([binder, remoteFd{std::move(remoteFd)}]() { in dumpService()
76 EXPECT_EQ(STATUS_OK, AIBinder_dump(binder.get(), remoteFd, nullptr, 0)); in dumpService()
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
H A DVpnTest.java808 FileDescriptor remoteFd = openSocketFdInOtherApp(TEST_HOST, 80, TIMEOUT_MS); in testAppDisallowed() local
823 assertSocketStillOpen(remoteFd, TEST_HOST); in testAppDisallowed()
/aosp12/system/netd/tests/
H A Dbinder_test.cpp3832 unique_fd localFd, remoteFd; in dumpService() local
3833 bool success = Pipe(&localFd, &remoteFd); in dumpService()
3838 std::thread dumpThread = std::thread([binder, remoteFd{std::move(remoteFd)}]() { in dumpService()
3839 android::status_t ret = binder->dump(remoteFd, {}); in dumpService()