Searched refs:hasValidFd (Results 1 – 4 of 4) sorted by relevance
41 bool hasValidFd() const { return mFd.get() != INVALID_FD; } in hasValidFd() function
679 bool hasValidFd() const;
572 bool EventHub::Device::hasValidFd() const { in hasValidFd() function in android::EventHub::Device582 if (!hasValidFd()) { in readDeviceBitMask()737 if (hasValidFd() && mapLed(led, &sc) != NAME_NOT_FOUND) { in setLedStateLocked()1056 if (device == nullptr || !device->hasValidFd() || !device->keyBitmask.test(scanCode)) { in getScanCodeState()1065 if (device == nullptr || !device->hasValidFd() || !device->keyMap.haveKeyLayout()) { in getKeyCodeState()1085 if (device == nullptr || !device->hasValidFd() || device->keyMap.keyCharacterMap == nullptr || in getKeyCodeForKeyLocation()1127 if (device == nullptr || !device->hasValidFd() || !device->swBitmask.test(sw)) { in getSwitchState()1140 if (device == nullptr || !device->hasValidFd()) { in getAbsoluteAxisValue()1155 if (device == nullptr || !device->hasValidFd() || !device->absBitmask.test(axis)) { in getMtSlotValues()1500 if (device != nullptr && device->hasValidFd()) { in setLedState()[all …]
253 hasValidFd() ? "true" : "false"); in dump()