Home
last modified time | relevance | path

Searched refs:pollfds (Results 1 – 5 of 5) sorted by relevance

/system/core/adb/
Dfdevent.cpp220 static std::string dump_pollfds(const std::vector<adb_pollfd>& pollfds) { in dump_pollfds() argument
222 for (const auto& pollfd : pollfds) { in dump_pollfds()
236 std::vector<adb_pollfd> pollfds; in fdevent_process() local
238 pollfds.push_back(pair.second.pollfd); in fdevent_process()
240 CHECK_GT(pollfds.size(), 0u); in fdevent_process()
241 D("poll(), pollfds = %s", dump_pollfds(pollfds).c_str()); in fdevent_process()
242 int ret = adb_poll(&pollfds[0], pollfds.size(), -1); in fdevent_process()
247 for (const auto& pollfd : pollfds) { in fdevent_process()
/system/extras/simpleperf/
Devent_selection_set.h75 void PreparePollForEventFiles(std::vector<pollfd>* pollfds);
Devent_selection_set.cpp253 void EventSelectionSet::PreparePollForEventFiles(std::vector<pollfd>* pollfds) { in PreparePollForEventFiles() argument
258 pollfds->push_back(poll_fd); in PreparePollForEventFiles()
Dcmd_record.cpp242 std::vector<pollfd> pollfds; in Run() local
243 event_selection_set_.PreparePollForEventFiles(&pollfds); in Run()
265 poll(&pollfds[0], pollfds.size(), -1); in Run()
/system/core/debuggerd/
Ddebuggerd.cpp198 pollfd pollfds[1]; in read_request() local
199 pollfds[0].fd = fd; in read_request()
200 pollfds[0].events = POLLIN; in read_request()
201 pollfds[0].revents = 0; in read_request()
202 status = TEMP_FAILURE_RETRY(poll(pollfds, 1, 3000)); in read_request()