Searched refs:socket_fd (Results 1 – 2 of 2) sorted by relevance
107 int socket_fd; member113 asocket* s = create_local_socket(arg->socket_fd); in CloseWithPacketThreadFunc()137 int socket_fd[2]; in TEST_F() local138 ASSERT_EQ(0, adb_socketpair(socket_fd)); in TEST_F()142 arg.socket_fd = socket_fd[1]; in TEST_F()152 ASSERT_EQ(0, adb_close(socket_fd[0])); in TEST_F()160 int socket_fd[2]; in TEST_F() local161 ASSERT_EQ(0, adb_socketpair(socket_fd)); in TEST_F()165 arg.socket_fd = socket_fd[1]; in TEST_F()179 ASSERT_EQ(true, ReadFdExactly(socket_fd[0], buf.data(), buf.size())); in TEST_F()[all …]
198 int socket_fd = test_channel_transport_.SetUp(port); in SetUpTestChannel() local200 if (socket_fd == -1) { in SetUpTestChannel()206 async_manager_.WatchFdForNonBlockingReads(socket_fd, [this](int socket_fd) { in SetUpTestChannel() argument207 int conn_fd = test_channel_transport_.Accept(socket_fd); in SetUpTestChannel()