Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/include/
DTouchVideoDevice.h42 bool hasValidFd() const { return mFd.get() != INVALID_FD; } in hasValidFd() function
DEventHub.h598 bool hasValidFd() const;
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp403 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()
[all …]
DTouchVideoDevice.cpp252 hasValidFd() ? "true" : "false"); in dump()