Lines Matching refs:mFd

88         ALOGV("closing %s (fd=%d)", mPath.c_str(), mFd);  in ~EvdevDeviceNode()
89 if (mFd >= 0) { in ~EvdevDeviceNode()
90 ::close(mFd); in ~EvdevDeviceNode()
94 virtual int getFd() const { return mFd; } in getFd()
125 mFd(fd), mPath(path) {} in EvdevDeviceNode()
130 int mFd; member in android::EvdevDeviceNode
188 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGNAME(sizeof(buffer) - 1), buffer)) < 1) { in queryProperties()
196 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGVERSION, &driverVersion))) { in queryProperties()
202 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGID, &inputId))) { in queryProperties()
211 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGPHYS(sizeof(buffer) - 1), buffer)) < 1) { in queryProperties()
218 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGUNIQ(sizeof(buffer) - 1), buffer)) < 1) { in queryProperties()
239 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_KEY, sizeof(mKeyBitmask)), mKeyBitmask)); in queryProperties()
240 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_ABS, sizeof(mAbsBitmask)), mAbsBitmask)); in queryProperties()
241 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_REL, sizeof(mRelBitmask)), mRelBitmask)); in queryProperties()
242 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_SW, sizeof(mSwBitmask)), mSwBitmask)); in queryProperties()
243 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_LED, sizeof(mLedBitmask)), mLedBitmask)); in queryProperties()
244 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_FF, sizeof(mFfBitmask)), mFfBitmask)); in queryProperties()
245 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGPROP(sizeof(mPropBitmask)), mPropBitmask)); in queryProperties()
256 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGABS(axis), &info))) { in queryAxisInfo()
258 axis, mPath.c_str(), mFd, errno); in queryAxisInfo()
336 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGKEY(sizeof(keyState)), keyState)) >= 0) { in getKeyState()
349 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGSW(sizeof(swState)), swState)) >= 0) { in getSwitchState()
363 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGABS(axis), &info))) { in getAbsoluteAxisValue()
365 axis, mPath.c_str(), mFd, errno); in getAbsoluteAxisValue()
384 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCSFF, &effect))) { in vibrate()
395 size_t written = TEMP_FAILURE_RETRY(write(mFd, &ev, sizeof(ev))); in vibrate()
412 size_t written = TEMP_FAILURE_RETRY(write(mFd, &ev, sizeof(ev))); in cancelVibrate()
423 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCSREP, repeatRate))) { in disableDriverKeyRepeat()