Lines Matching refs:hasValidFd
403 bool EventHub::Device::hasValidFd() const { in hasValidFd() function in android::EventHub::Device
413 if (!hasValidFd()) { in readDeviceBitMask()
525 if (hasValidFd() && mapLed(led, &sc) != NAME_NOT_FOUND) { in setLedStateLocked()
800 if (device != nullptr && device->hasValidFd() && device->absBitmask.test(axis)) { in getAbsoluteAxisInfo()
854 if (device != nullptr && device->hasValidFd() && device->keyBitmask.test(scanCode)) { in getScanCodeState()
867 if (device != nullptr && device->hasValidFd() && device->keyMap.haveKeyLayout()) { in getKeyCodeState()
889 if (device == nullptr || !device->hasValidFd() || device->keyMap.keyCharacterMap == nullptr || in getKeyCodeForKeyLocation()
926 if (device != nullptr && device->hasValidFd() && device->swBitmask.test(sw)) { in getSwitchState()
942 if (device != nullptr && device->hasValidFd() && device->absBitmask.test(axis)) { in getAbsoluteAxisValue()
1273 if (device != nullptr && device->hasValidFd()) { in setLedState()
1363 if (device != nullptr && device->hasValidFd()) { in vibrate()
1398 if (device != nullptr && device->hasValidFd()) { in cancelVibrate()
1421 if (device != nullptr && device->hasValidFd() && in getVibratorIds()
1890 if (device.hasValidFd()) { in unregisterDeviceFromEpollLocked()
1904 if (videoDevice.hasValidFd()) { in unregisterVideoDeviceFromEpollLocked()