Searched refs:adb_poll (Results 1 – 10 of 10) sorted by relevance
/packages/modules/adb/ |
D | sysdeps_test.cpp | 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() 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 …]
|
D | sysdeps.h | 240 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
|
D | transport_fd.cpp | 77 int rc = adb_poll(pfds, 2, -1); in Run()
|
D | services.cpp | 231 if (adb_poll(&pfd, 1, 100) != 0) { in wait_service()
|
D | sysdeps_win32.cpp | 606 extern int adb_poll(adb_pollfd* fds, size_t nfds, int timeout) { in adb_poll() function
|
/packages/modules/adb/fdevent/ |
D | fdevent_poll.cpp | 146 int ret = adb_poll(pollfds.data(), pollfds.size(), timeout_ms); in Loop()
|
/packages/modules/adb/daemon/ |
D | usb.cpp | 273 int rc = TEMP_FAILURE_RETRY(adb_poll(pfd, 2, timeout_ms)); in StartMonitor()
|
D | shell_service.cpp | 607 if (adb_poll(pfds->data(), pfds->size(), -1) < 0) { in PollLoop()
|
/packages/modules/adb/client/ |
D | incremental_server.cpp | 300 auto res = adb_poll(&pfd, 1, blocking ? kPollTimeoutMillis : 0); in SkipToRequest()
|
D | file_sync_client.cpp | 804 ssize_t rc = adb_poll(&pfd, 1, should_block ? -1 : 0); in ReadAcknowledgements()
|