• Home
  • Raw
  • Download

Lines Matching refs:mFd

87         ALOGV("closing %s (fd=%d)", mPath.c_str(), mFd);  in ~EvdevDeviceNode()
88 if (mFd >= 0) { in ~EvdevDeviceNode()
89 ::close(mFd); in ~EvdevDeviceNode()
93 virtual int getFd() const { return mFd; } in getFd()
120 mFd(fd), mPath(path) {} in EvdevDeviceNode()
125 int mFd; member in android::EvdevDeviceNode
183 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGNAME(sizeof(buffer) - 1), buffer)) < 1) { in queryProperties()
191 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGVERSION, &driverVersion))) { in queryProperties()
197 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGID, &inputId))) { in queryProperties()
206 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGPHYS(sizeof(buffer) - 1), buffer)) < 1) { in queryProperties()
213 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGUNIQ(sizeof(buffer) - 1), buffer)) < 1) { in queryProperties()
234 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_KEY, sizeof(mKeyBitmask)), mKeyBitmask)); in queryProperties()
235 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_ABS, sizeof(mAbsBitmask)), mAbsBitmask)); in queryProperties()
236 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_REL, sizeof(mRelBitmask)), mRelBitmask)); in queryProperties()
237 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_SW, sizeof(mSwBitmask)), mSwBitmask)); in queryProperties()
238 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_LED, sizeof(mLedBitmask)), mLedBitmask)); in queryProperties()
239 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGBIT(EV_FF, sizeof(mFfBitmask)), mFfBitmask)); in queryProperties()
240 TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGPROP(sizeof(mPropBitmask)), mPropBitmask)); in queryProperties()
251 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGABS(axis), &info))) { in queryAxisInfo()
253 axis, mPath.c_str(), mFd, errno); in queryAxisInfo()
306 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGKEY(sizeof(keyState)), keyState)) >= 0) { in getKeyState()
319 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGSW(sizeof(swState)), swState)) >= 0) { in getSwitchState()
333 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGABS(axis), &info))) { in getAbsoluteAxisValue()
335 axis, mPath.c_str(), mFd, errno); in getAbsoluteAxisValue()
354 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCSFF, &effect))) { in vibrate()
365 size_t written = TEMP_FAILURE_RETRY(write(mFd, &ev, sizeof(ev))); in vibrate()
382 size_t written = TEMP_FAILURE_RETRY(write(mFd, &ev, sizeof(ev))); in cancelVibrate()
393 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCSREP, repeatRate))) { in disableDriverKeyRepeat()