Home
last modified time | relevance | path

Searched refs:dmp_orient_fd (Results 1 – 4 of 4) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.h370 int dmp_orient_fd; variable
DMPLSensor.cpp216 dmp_orient_fd(-1), in MPLSensor()
4336 if (!isDmpDisplayOrientationOn() || dmp_orient_fd >= 0) { in openDmpOrientFd()
4342 dmp_orient_fd = open(mpu.event_display_orientation, O_RDONLY| O_NONBLOCK); in openDmpOrientFd()
4343 if (dmp_orient_fd < 0) { in openDmpOrientFd()
4348 "HAL:dmp_orient_fd opened : %d", dmp_orient_fd); in openDmpOrientFd()
4356 if (dmp_orient_fd >= 0) in closeDmpOrientFd()
4357 close(dmp_orient_fd); in closeDmpOrientFd()
4414 read(dmp_orient_fd, dummy, 4); in readDmpOrientEvents()
4423 LOGV_IF(EXTRA_VERBOSE, "getDmpOrientFd returning %d", dmp_orient_fd); in getDmpOrientFd()
4424 return dmp_orient_fd; in getDmpOrientFd()
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.h347 int dmp_orient_fd; variable
DMPLSensor.cpp102 dmp_orient_fd(-1), in MPLSensor()
4793 if (!isDmpDisplayOrientationOn() || dmp_orient_fd >= 0) {
4799 dmp_orient_fd = open(mpu.event_display_orientation, O_RDONLY| O_NONBLOCK);
4800 if (dmp_orient_fd < 0) {
4805 "HAL:dmp_orient_fd opened : %d", dmp_orient_fd);
4813 if (dmp_orient_fd >= 0)
4814 close(dmp_orient_fd);
4869 read(dmp_orient_fd, dummy, 4);
4878 LOGV_IF(EXTRA_VERBOSE, "getDmpOrientFd returning %d", dmp_orient_fd);
4879 return dmp_orient_fd;