Searched refs:dmp_orient_fd (Results 1 – 6 of 6) sorted by relevance
/hardware/invensense/60xx/libsensors_iio/ |
D | MPLSensor.cpp | 164 dmp_orient_fd(-1), in MPLSensor() 2198 if (!isDmpDisplayOrientationOn() || dmp_orient_fd >= 0) { in openDmpOrientFd() 2203 dmp_orient_fd = open(mpu.event_display_orientation, O_RDONLY| O_NONBLOCK); in openDmpOrientFd() 2204 if (dmp_orient_fd < 0) { in openDmpOrientFd() 2208 LOGV_IF(PROCESS_VERBOSE, "HAL:dmp_orient_fd opened : %d", dmp_orient_fd); in openDmpOrientFd() 2216 if (dmp_orient_fd >= 0) in closeDmpOrientFd() 2217 close(dmp_orient_fd); in closeDmpOrientFd() 2267 read(dmp_orient_fd, dummy, 4); in readDmpOrientEvents() 2276 LOGV_IF(EXTRA_VERBOSE, "MPLSensor::getDmpOrientFd returning %d", dmp_orient_fd); in getDmpOrientFd() 2277 return dmp_orient_fd; in getDmpOrientFd()
|
D | MPLSensor.h | 240 int dmp_orient_fd; variable
|
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSensor.h | 344 int dmp_orient_fd; variable
|
D | MPLSensor.cpp | 92 dmp_orient_fd(-1), in MPLSensor() 4492 if (!isDmpDisplayOrientationOn() || dmp_orient_fd >= 0) { 4498 dmp_orient_fd = open(mpu.event_display_orientation, O_RDONLY| O_NONBLOCK); 4499 if (dmp_orient_fd < 0) { 4504 "HAL:dmp_orient_fd opened : %d", dmp_orient_fd); 4512 if (dmp_orient_fd >= 0) 4513 close(dmp_orient_fd); 4570 read(dmp_orient_fd, dummy, 4); 4579 LOGV_IF(EXTRA_VERBOSE, "getDmpOrientFd returning %d", dmp_orient_fd); 4580 return dmp_orient_fd;
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSensor.h | 370 int dmp_orient_fd; variable
|
D | MPLSensor.cpp | 216 dmp_orient_fd(-1), in MPLSensor() 4357 if (!isDmpDisplayOrientationOn() || dmp_orient_fd >= 0) { in openDmpOrientFd() 4363 dmp_orient_fd = open(mpu.event_display_orientation, O_RDONLY| O_NONBLOCK); in openDmpOrientFd() 4364 if (dmp_orient_fd < 0) { in openDmpOrientFd() 4369 "HAL:dmp_orient_fd opened : %d", dmp_orient_fd); in openDmpOrientFd() 4377 if (dmp_orient_fd >= 0) in closeDmpOrientFd() 4378 close(dmp_orient_fd); in closeDmpOrientFd() 4435 read(dmp_orient_fd, dummy, 4); in readDmpOrientEvents() 4444 LOGV_IF(EXTRA_VERBOSE, "getDmpOrientFd returning %d", dmp_orient_fd); in getDmpOrientFd() 4445 return dmp_orient_fd; in getDmpOrientFd()
|