Lines Matching refs:hasValidFd
245 bool EventHub::Device::hasValidFd() { in hasValidFd() function in android::EventHub::Device
372 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisInfo()
423 if (device && device->hasValidFd() && test_bit(scanCode, device->keyBitmask)) { in getScanCodeState()
438 if (device && device->hasValidFd() && device->keyMap.haveKeyLayout()) { in getKeyCodeState()
463 if (device && device->hasValidFd() && test_bit(sw, device->swBitmask)) { in getSwitchState()
481 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisValue()
616 if (device && device->hasValidFd() && mapLed(device, led, &sc) != NAME_NOT_FOUND) { in setLedStateLocked()
719 if (device && device->hasValidFd()) { in vibrate()
753 if (device && device->hasValidFd()) { in cancelVibrate()
1175 if (device->hasValidFd()) { in unregisterDeviceFromEpollLocked()
1189 if (videoDevice.hasValidFd()) { in unregisterVideoDeviceFromEpollLocked()