Home | History | Annotate | Download | only in sensorhal

Lines Matching refs:mPollFds

154     mPollFds[0].fd = mFd;
155 mPollFds[0].events = POLLIN;
156 mPollFds[0].revents = 0;
172 mPollFds[mNumPollFds].fd = magBiasFd;
173 mPollFds[mNumPollFds].events = 0;
174 mPollFds[mNumPollFds].revents = 0;
186 mPollFds[mNumPollFds].fd = doubleTouchFd;
187 mPollFds[mNumPollFds].events = 0;
188 mPollFds[mNumPollFds].revents = 0;
1034 int ret = ::read(mPollFds[mInotifyPollIndex].fd, buf, sizeof(buf));
1043 struct pollfd *pfd = &mPollFds[mInotifyPollIndex];
1606 ret = poll(mPollFds, mNumPollFds, -1);
1609 if (mInotifyPollIndex >= 0 && mPollFds[mInotifyPollIndex].revents & POLLIN) {
1615 if (mMagBiasPollIndex >= 0 && mPollFds[mMagBiasPollIndex].revents & POLLERR) {
1618 lseek(mPollFds[mMagBiasPollIndex].fd, 0, SEEK_SET);
1619 ::read(mPollFds[mMagBiasPollIndex].fd, buf, 16);
1627 if (mDoubleTouchPollIndex >= 0 && mPollFds[mDoubleTouchPollIndex].revents & POLLERR) {
1630 lseek(mPollFds[mDoubleTouchPollIndex].fd, 0, SEEK_SET);
1631 ::read(mPollFds[mDoubleTouchPollIndex].fd, buf, 16);
1638 if (mPollFds[0].revents & POLLIN) {
1901 mPollFds[mNumPollFds].fd = inotifyFd;
1902 mPollFds[mNumPollFds].events = POLLIN;
1903 mPollFds[mNumPollFds].revents = 0;