Lines Matching refs:timer_fd
199 timer_fd = open("/dev/timerirq", O_RDWR);
200 if (timer_fd == -1) {
203 fcntl(timer_fd, F_SETFL, O_NONBLOCK);
204 //ioctl(timer_fd, TIMERIRQ_SET_TIMEOUT, 0);
205 mIrqFds.add(TIMERIRQ_FD, timer_fd);
206 mPollFds[TIMERIRQ_FD].fd = timer_fd;
212 if ((accel_fd == -1) && (timer_fd != -1)) {
1044 //ALOGV("MPLSensor::getTimerFd returning %d", timer_fd);
1045 return timer_fd;