Home
last modified time | relevance | path

Searched refs:adb_poll (Results 1 – 10 of 10) sorted by relevance

/packages/modules/adb/
Dsysdeps_test.cpp104 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()
176 EXPECT_EQ(0, adb_poll(pfd, 2, 0)); in TEST_F()
182 EXPECT_EQ(2, adb_poll(pfd, 2, 100)); in TEST_F()
[all …]
Dsysdeps.h240 extern int adb_poll(adb_pollfd* fds, size_t nfds, int timeout);
721 static inline int adb_poll(adb_pollfd* fds, size_t nfds, int timeout) { in adb_poll() function
Dtransport_fd.cpp77 int rc = adb_poll(pfds, 2, -1); in Run()
Dservices.cpp231 if (adb_poll(&pfd, 1, 100) != 0) { in wait_service()
Dsysdeps_win32.cpp606 extern int adb_poll(adb_pollfd* fds, size_t nfds, int timeout) { in adb_poll() function
/packages/modules/adb/fdevent/
Dfdevent_poll.cpp146 int ret = adb_poll(pollfds.data(), pollfds.size(), timeout_ms); in Loop()
/packages/modules/adb/daemon/
Dusb.cpp273 int rc = TEMP_FAILURE_RETRY(adb_poll(pfd, 2, timeout_ms)); in StartMonitor()
Dshell_service.cpp607 if (adb_poll(pfds->data(), pfds->size(), -1) < 0) { in PollLoop()
/packages/modules/adb/client/
Dincremental_server.cpp300 auto res = adb_poll(&pfd, 1, blocking ? kPollTimeoutMillis : 0); in SkipToRequest()
Dfile_sync_client.cpp804 ssize_t rc = adb_poll(&pfd, 1, should_block ? -1 : 0); in ReadAcknowledgements()