/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | HidRawDevice.cpp | 36 : mDevFd(-1), mMultiIdDevice(false), mValid(false) { in HidRawDevice() 38 mDevFd = ::open(devName.c_str(), O_RDWR); // read write? in HidRawDevice() 39 if (mDevFd < 0) { in HidRawDevice() 87 if (mDevFd > 0) { in ~HidRawDevice() 88 ::close(mDevFd); in ~HidRawDevice() 89 mDevFd = -1; in ~HidRawDevice() 97 if (mDevFd < 0) { in populateDeviceInfo() 102 if (ioctl(mDevFd, HIDIOCGRAWNAME(sizeof(buffer) - 1), buffer) < 0) { in populateDeviceInfo() 109 if (ioctl(mDevFd, HIDIOCGRAWPHYS(sizeof(buffer) - 1), buffer) < 0) { in populateDeviceInfo() 117 if (ioctl(mDevFd, HIDIOCGRAWINFO, &devInfo) < 0) { in populateDeviceInfo() [all …]
|
D | HidRawDevice.h | 72 int mDevFd; variable
|
/hardware/qcom/gps/msm8996/utils/ |
D | LocTimer.cpp | 105 int mDevFd; member in LocTimerContainer 212 mDevFd(timerfd_create(wakeOnExpire ? CLOCK_BOOTTIME_ALARM : CLOCK_BOOTTIME, 0)) { in LocTimerContainer() 214 if ((-1 == mDevFd) && (errno == EINVAL)) { in LocTimerContainer() 217 mDevFd = timerfd_create(CLOCK_MONOTONIC, 0); in LocTimerContainer() 220 if (-1 != mDevFd) { in LocTimerContainer() 233 close(mDevFd); in ~LocTimerContainer() 279 return mDevFd; in getTimerFd()
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | LocTimer.cpp | 104 int mDevFd; member in LocTimerContainer 211 mDevFd(timerfd_create(wakeOnExpire ? CLOCK_BOOTTIME_ALARM : CLOCK_BOOTTIME, 0)) { in LocTimerContainer() 213 if ((-1 == mDevFd) && (errno == EINVAL)) { in LocTimerContainer() 216 mDevFd = timerfd_create(CLOCK_MONOTONIC, 0); in LocTimerContainer() 219 if (-1 != mDevFd) { in LocTimerContainer() 232 close(mDevFd); in ~LocTimerContainer() 278 return mDevFd; in getTimerFd()
|
/hardware/qcom/gps/msm8998/utils/ |
D | LocTimer.cpp | 105 int mDevFd; member in LocTimerContainer 212 mDevFd(timerfd_create(wakeOnExpire ? CLOCK_BOOTTIME_ALARM : CLOCK_BOOTTIME, 0)) { in LocTimerContainer() 214 if ((-1 == mDevFd) && (errno == EINVAL)) { in LocTimerContainer() 217 mDevFd = timerfd_create(CLOCK_MONOTONIC, 0); in LocTimerContainer() 220 if (-1 != mDevFd) { in LocTimerContainer() 233 close(mDevFd); in ~LocTimerContainer() 279 return mDevFd; in getTimerFd()
|
/hardware/qcom/sdm845/gps/sdm845/utils/ |
D | LocTimer.cpp | 106 int mDevFd; member in LocTimerContainer 213 mDevFd(timerfd_create(wakeOnExpire ? CLOCK_BOOTTIME_ALARM : CLOCK_BOOTTIME, 0)) { in LocTimerContainer() 215 if ((-1 == mDevFd) && (errno == EINVAL)) { in LocTimerContainer() 218 mDevFd = timerfd_create(CLOCK_MONOTONIC, 0); in LocTimerContainer() 221 if (-1 != mDevFd) { in LocTimerContainer() 234 close(mDevFd); in ~LocTimerContainer() 280 return mDevFd; in getTimerFd()
|
/hardware/qcom/sdm845/gps/msm8996/utils/ |
D | LocTimer.cpp | 104 int mDevFd; member in LocTimerContainer 211 mDevFd(timerfd_create(wakeOnExpire ? CLOCK_BOOTTIME_ALARM : CLOCK_BOOTTIME, 0)) { in LocTimerContainer() 213 if ((-1 == mDevFd) && (errno == EINVAL)) { in LocTimerContainer() 216 mDevFd = timerfd_create(CLOCK_MONOTONIC, 0); in LocTimerContainer() 219 if (-1 != mDevFd) { in LocTimerContainer() 232 close(mDevFd); in ~LocTimerContainer() 278 return mDevFd; in getTimerFd()
|
/hardware/qcom/sdm845/gps/msm8909/utils/ |
D | LocTimer.cpp | 104 int mDevFd; member in LocTimerContainer 211 mDevFd(timerfd_create(wakeOnExpire ? CLOCK_BOOTTIME_ALARM : CLOCK_BOOTTIME, 0)) { in LocTimerContainer() 213 if ((-1 == mDevFd) && (errno == EINVAL)) { in LocTimerContainer() 216 mDevFd = timerfd_create(CLOCK_MONOTONIC, 0); in LocTimerContainer() 219 if (-1 != mDevFd) { in LocTimerContainer() 232 close(mDevFd); in ~LocTimerContainer() 278 return mDevFd; in getTimerFd()
|
/hardware/qcom/sdm845/gps/msm8998/utils/ |
D | LocTimer.cpp | 105 int mDevFd; member in LocTimerContainer 212 mDevFd(timerfd_create(wakeOnExpire ? CLOCK_BOOTTIME_ALARM : CLOCK_BOOTTIME, 0)) { in LocTimerContainer() 214 if ((-1 == mDevFd) && (errno == EINVAL)) { in LocTimerContainer() 217 mDevFd = timerfd_create(CLOCK_MONOTONIC, 0); in LocTimerContainer() 220 if (-1 != mDevFd) { in LocTimerContainer() 233 close(mDevFd); in ~LocTimerContainer() 279 return mDevFd; in getTimerFd()
|
/hardware/qcom/gps/msm8909/utils/ |
D | LocTimer.cpp | 104 int mDevFd; member in LocTimerContainer 211 mDevFd(timerfd_create(wakeOnExpire ? CLOCK_BOOTTIME_ALARM : CLOCK_BOOTTIME, 0)) { in LocTimerContainer() 213 if ((-1 == mDevFd) && (errno == EINVAL)) { in LocTimerContainer() 216 mDevFd = timerfd_create(CLOCK_MONOTONIC, 0); in LocTimerContainer() 219 if (-1 != mDevFd) { in LocTimerContainer() 232 close(mDevFd); in ~LocTimerContainer() 278 return mDevFd; in getTimerFd()
|