Home
last modified time | relevance | path

Searched refs:adb_poll (Results 1 – 11 of 11) 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()
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()
[all …]
Dtransport_fd.cpp77 int rc = adb_poll(pfds, 2, -1); in Run()
Dsysdeps.h239 extern int adb_poll(adb_pollfd* fds, size_t nfds, int timeout);
720 static inline int adb_poll(adb_pollfd* fds, size_t nfds, int timeout) { in adb_poll() function
Dservices.cpp239 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()
Dusb_libusb.cpp957 int rc = adb_poll(&pfd, 1, ms); in device_connected()
Dfile_sync_client.cpp831 ssize_t rc = adb_poll(&pfd, 1, 0); in ReadAcknowledgements()