Home | History | Annotate | Download | only in libsensors

Lines Matching refs:dev_fd

38       dev_fd(-1), data_fd(-1)
49 if (dev_fd >= 0) {
50 close(dev_fd);
55 if (dev_fd<0 && dev_name) {
56 dev_fd = open(dev_name, O_RDONLY);
57 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
63 if (dev_fd >= 0) {
64 close(dev_fd);
65 dev_fd = -1;
92 return dev_fd;