Lines Matching refs:hasValidFd
237 bool EventHub::Device::hasValidFd() { in hasValidFd() function in android::EventHub::Device
358 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisInfo()
409 if (device && device->hasValidFd() && test_bit(scanCode, device->keyBitmask)) { in getScanCodeState()
424 if (device && device->hasValidFd() && device->keyMap.haveKeyLayout()) { in getKeyCodeState()
449 if (device && device->hasValidFd() && test_bit(sw, device->swBitmask)) { in getSwitchState()
467 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisValue()
603 if (device && device->hasValidFd() && mapLed(device, led, &sc) != NAME_NOT_FOUND) { in setLedStateLocked()
709 if (device && device->hasValidFd()) { in vibrate()
743 if (device && device->hasValidFd()) { in cancelVibrate()
1166 if (device->hasValidFd()) { in unregisterDeviceFromEpollLocked()
1180 if (videoDevice.hasValidFd()) { in unregisterVideoDeviceFromEpollLocked()