Searched refs:remoteFd (Results 1 – 4 of 4) sorted by relevance
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/netlink/ |
H A D | InetDiagSocketIntegrationTest.java | 75 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 D | dnsresolver_binder_test.cpp | 69 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 D | VpnTest.java | 808 FileDescriptor remoteFd = openSocketFdInOtherApp(TEST_HOST, 80, TIMEOUT_MS); in testAppDisallowed() local 823 assertSocketStillOpen(remoteFd, TEST_HOST); in testAppDisallowed()
|
/aosp12/system/netd/tests/ |
H A D | binder_test.cpp | 3832 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()
|