Home
last modified time | relevance | path

Searched refs:hasValidFd (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/reader/include/
DTouchVideoDevice.h41 bool hasValidFd() const { return mFd.get() != INVALID_FD; } in hasValidFd() function
DEventHub.h679 bool hasValidFd() const;
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp572 bool EventHub::Device::hasValidFd() const { in hasValidFd() function in android::EventHub::Device
582 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 …]
DTouchVideoDevice.cpp253 hasValidFd() ? "true" : "false"); in dump()