Searched refs:data_fd (Results 1 – 9 of 9) sorted by relevance
/hardware/akm/AK8975_FS/libsensors/ |
D | SensorBase.cpp | 38 dev_fd(-1), data_fd(-1) in SensorBase() 41 data_fd = openInput(data_name); in SensorBase() 46 if (data_fd >= 0) { in ~SensorBase() 47 close(data_fd); in ~SensorBase() 94 return data_fd; in getFd()
|
D | AdxlSensor.cpp | 48 if (data_fd >= 0) { in AdxlSensor() 70 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_X), &absinfo)) { in setInitialState() 73 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Y), &absinfo)) { in setInitialState() 76 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Z), &absinfo)) { in setInitialState() 191 ssize_t n = mInputReader.fill(data_fd); in readEvents()
|
D | KionixSensor.cpp | 65 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_X), &absinfo)) { in setInitialState() 68 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Y), &absinfo)) { in setInitialState() 71 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Z), &absinfo)) { in setInitialState() 168 ssize_t n = mInputReader.fill(data_fd); in readEvents()
|
D | SensorBase.h | 36 int data_fd; variable
|
D | AkmSensor.cpp | 61 if (data_fd) { in AkmSensor() 200 ssize_t n = mInputReader.fill(data_fd); in readEvents()
|
/hardware/invensense/65xx/libsensors_iio/ |
D | SensorBase.cpp | 51 data_fd(-1) in SensorBase() 54 data_fd = openInput(data_name); in SensorBase() 94 if (data_fd >= 0) { in ~SensorBase() 95 close(data_fd); in ~SensorBase() 125 return data_fd; in getFd()
|
D | SensorBase.h | 74 int data_fd; variable
|
/hardware/invensense/6515/libsensors_iio/ |
D | SensorBase.cpp | 53 data_fd(-1) in SensorBase() 56 data_fd = openInput(data_name); in SensorBase() 100 if (data_fd >= 0) { in ~SensorBase() 101 close(data_fd); in ~SensorBase() 131 return data_fd; in getFd()
|
D | SensorBase.h | 75 int data_fd; variable
|