Searched refs:hasValidFd (Results 1 – 4 of 4) sorted by relevance
42 bool hasValidFd() const { return mFd.get() != INVALID_FD; } in hasValidFd() function
598 bool hasValidFd() const;
403 bool EventHub::Device::hasValidFd() const { in hasValidFd() function in android::EventHub::Device413 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()[all …]
252 hasValidFd() ? "true" : "false"); in dump()