Home
last modified time | relevance | path

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

/system/core/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 …]
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.h208 extern int adb_poll(adb_pollfd* fds, size_t nfds, int timeout);
649 static inline int adb_poll(adb_pollfd* fds, size_t nfds, int timeout) { in adb_poll() function
Dsysdeps_win32.cpp606 extern int adb_poll(adb_pollfd* fds, size_t nfds, int timeout) { in adb_poll() function
/system/core/adb/fdevent/
Dfdevent_poll.cpp146 int ret = adb_poll(pollfds.data(), pollfds.size(), timeout_ms); in Loop()
/system/core/adb/daemon/
Dusb.cpp302 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()
/system/core/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()