Lines Matching refs:mPollFds
144 struct pollfd mPollFds[numFds];
166 mPollFds[acc].fd = mSensors[acc]->getFd();
167 mPollFds[acc].events = POLLIN;
168 mPollFds[acc].revents = 0;
171 mPollFds[akm].fd = mSensors[akm]->getFd();
172 mPollFds[akm].events = POLLIN;
173 mPollFds[akm].revents = 0;
182 mPollFds[wake].fd = wakeFds[0];
183 mPollFds[wake].events = POLLIN;
184 mPollFds[wake].revents = 0;
191 close(mPollFds[wake].fd);
283 if ((mPollFds[i].revents & POLLIN) || (sensor->hasPendingEvents())) {
287 mPollFds[i].revents = 0;
302 n = poll(mPollFds, numFds, nbEvents ? 0 : -1);
307 if (mPollFds[wake].revents & POLLIN) {
309 int result = read(mPollFds[wake].fd, &msg, 1);
312 mPollFds[wake].revents = 0;