Lines Matching refs:adb_poll
104 EXPECT_EQ(1, adb_poll(pfd, 2, 0)); in TEST_F()
112 EXPECT_EQ(1, adb_poll(pfd, 1, 100)); in TEST_F()
116 EXPECT_EQ(2, adb_poll(pfd, 2, 0)); in TEST_F()
126 EXPECT_EQ(0, adb_poll(&pfd, 1, 100)); in TEST_F()
131 EXPECT_EQ(1, adb_poll(&pfd, 1, 100)); in TEST_F()
150 EXPECT_EQ(1, adb_poll(pfd, 1, 100)); in TEST_F()
153 EXPECT_EQ(3, adb_poll(pfd, 3, 0)); in TEST_F()
165 EXPECT_EQ(2, adb_poll(pfd, 2, -1)); in TEST_F()
177 EXPECT_EQ(0, adb_poll(pfd, 2, 0)); in TEST_F()
183 EXPECT_EQ(2, adb_poll(pfd, 2, 100)); // On __APPLE__, only *one* fd is set. in TEST_F()
201 EXPECT_EQ(0, adb_poll(&pfd, 1, 0)); in TEST_F()
207 EXPECT_EQ(1, adb_poll(&pfd, 1, 100)); in TEST_F()
230 ASSERT_EQ(num_sockets, adb_poll(pfds.data(), pfds.size(), 0)); in TEST_F()